Add tooltips for SegmentedButton#128501
Add tooltips for SegmentedButton#128501HansMuller merged 3 commits intoflutter:masterfrom ZhulanovAA:master
SegmentedButton#128501Conversation
| child: label, | ||
| ); | ||
|
|
||
| final Widget buttonWithTooltip = (segment.tooltip != null) |
There was a problem hiding this comment.
are the parentheses needed?
There was a problem hiding this comment.
No, I've completely missed the fact they are not obligatory in Dart. I don't have much experience with contributing, how shuld this be fixed now, when it's merged already?
|
It you want to submit another PR without the parens, we'll land it. Doesn't need tests |
|
Should a new issue be opened for a new PR or should it mention the same closed issue? While adding tests I've noticed a couple of old |
|
no issue is fine, just open a new pr and pin Hans or me on it |
Fix unnecessary parentheses introduced in #128501 @chunhtai @HansMuller
flutter/flutter@da127f1...3df163f 2023-06-11 [email protected] Roll Flutter Engine from 73a7af805472 to 1cca9cc6dbd1 (1 revision) (flutter/flutter#128658) 2023-06-11 [email protected] Roll Flutter Engine from 7c6770083e5c to 73a7af805472 (2 revisions) (flutter/flutter#128654) 2023-06-11 [email protected] Roll Flutter Engine from 6d615bbcfccf to 7c6770083e5c (2 revisions) (flutter/flutter#128653) 2023-06-11 [email protected] Roll Flutter Engine from b19b93de5b0a to 6d615bbcfccf (1 revision) (flutter/flutter#128650) 2023-06-11 [email protected] Roll Flutter Engine from 3d76ba6d6d5f to b19b93de5b0a (2 revisions) (flutter/flutter#128649) 2023-06-11 [email protected] Roll Flutter Engine from 962d78e0ae9c to 3d76ba6d6d5f (1 revision) (flutter/flutter#128645) 2023-06-10 [email protected] migrate `Tooltip` to use `OverlayPortal` (flutter/flutter#127728) 2023-06-10 [email protected] Roll Flutter Engine from b037db26037f to 962d78e0ae9c (10 revisions) (flutter/flutter#128643) 2023-06-10 49699333+dependabot[bot]@users.noreply.github.com Bump actions/checkout from 3.5.2 to 3.5.3 (flutter/flutter#128625) 2023-06-10 [email protected] Roll Flutter Engine from 3e90345cdca7 to b037db26037f (1 revision) (flutter/flutter#128627) 2023-06-10 [email protected] Remove unnecessary parentheses (flutter/flutter#128620) 2023-06-09 [email protected] Roll Flutter Engine from 488876ed26c6 to 3e90345cdca7 (3 revisions) (flutter/flutter#128617) 2023-06-09 [email protected] rename generated asset manifest file back to `AssetManifest.bin` (from `AssetManifest.smcbin`) (flutter/flutter#128529) 2023-06-09 [email protected] Add Selected semantics to IconButton (flutter/flutter#128547) 2023-06-09 [email protected] Roll Flutter Engine from 071e1fb21c7a to 488876ed26c6 (5 revisions) (flutter/flutter#128612) 2023-06-09 [email protected] Clarifies semantics long press and semantics on tap documentation (flutter/flutter#128599) 2023-06-09 [email protected] Roll Flutter Engine from bc6e047570f6 to 071e1fb21c7a (1 revision) (flutter/flutter#128602) 2023-06-09 [email protected] Revert "Update `chip.dart` to use set of `MaterialState`" (flutter/flutter#128607) 2023-06-09 [email protected] Add tooltips for `SegmentedButton` (flutter/flutter#128501) 2023-06-09 [email protected] Ignore app.stop events received before the app.detach response in attach integration tests (flutter/flutter#128593) 2023-06-09 [email protected] ExpansionPanel isExpanded callback parameter (Ticket 74114) (flutter/flutter#128082) 2023-06-09 [email protected] Roll Flutter Engine from 93afba901b3b to bc6e047570f6 (3 revisions) (flutter/flutter#128594) 2023-06-09 [email protected] Updated flutter_localizations tests for Material3; (flutter/flutter#128521) 2023-06-09 [email protected] Paint SelectableFragments before text (flutter/flutter#128375) 2023-06-09 [email protected] Roll Packages from e13b8c4 to afe2f05 (7 revisions) (flutter/flutter#128582) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Add
String? tooltipfield forButtonSegment. When present, putTooltiparound corresponding segment ofSegmentedButton.Fixes #128374
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.