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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,