Unverified Commit 65e1cb19 authored by ZhulanovAA's avatar ZhulanovAA Committed by GitHub

Remove unnecessary parentheses (#128620)

Fix unnecessary parentheses introduced in #128501

@chunhtai @HansMuller
parent ca11492b
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment