Remove unnecessary parentheses (#128620)

Fix unnecessary parentheses introduced in #128501

@chunhtai @HansMuller
This commit is contained in:
ZhulanovAA
2023-06-10 23:02:14 +05:00
committed by GitHub
parent ca11492b6b
commit 65e1cb1988

View File

@@ -340,7 +340,7 @@ class SegmentedButton<T> extends StatelessWidget {
child: label,
);
final Widget buttonWithTooltip = (segment.tooltip != null)
final Widget buttonWithTooltip = segment.tooltip != null
? Tooltip(
message: segment.tooltip,
child: button,