Skip to content

Commit

Permalink
Remove unnecessary parentheses (#128620)
Browse files Browse the repository at this point in the history
Fix unnecessary parentheses introduced in #128501

@chunhtai @HansMuller
  • Loading branch information
ZhulanovAA authored Jun 10, 2023
1 parent ca11492 commit 65e1cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/material/segmented_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 65e1cb1

Please sign in to comment.