Remove unnecessary parentheses (#128620)
Fix unnecessary parentheses introduced in #128501 @chunhtai @HansMuller
This commit is contained in:
parent
ca11492b6b
commit
65e1cb1988
@ -340,7 +340,7 @@ class SegmentedButton<T> extends StatelessWidget {
|
|||||||
child: label,
|
child: label,
|
||||||
);
|
);
|
||||||
|
|
||||||
final Widget buttonWithTooltip = (segment.tooltip != null)
|
final Widget buttonWithTooltip = segment.tooltip != null
|
||||||
? Tooltip(
|
? Tooltip(
|
||||||
message: segment.tooltip,
|
message: segment.tooltip,
|
||||||
child: button,
|
child: button,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user