-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[rfw] Add OverflowBar
widget and Update ButtonBar
widget implementation
#5807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
46ae0f3
to
d64f3e3
Compare
OverflowBar
and Replace ButtonBar
with a backwards compatible implementationOverflowBar
widget and Update ButtonBar
widget implementation
68f59d2
to
b65af44
Compare
This comment was marked as resolved.
This comment was marked as resolved.
b65af44
to
5c79629
Compare
I don't understand the diff, can you explain it in more detail? Why is the new rendering different? |
0958442
to
cf4963f
Compare
There is no more diff now (there was one before because I ran run_tests.sh --update-goldens on my M1 MacBook) |
f2e3a7a
to
0213288
Compare
d1c4374
to
2fd42d8
Compare
@Hixie Resolved version conflicts. |
2fd42d8
to
d5fdd76
Compare
af55e33
to
f1b6bb2
Compare
Resolved new conflicts |
/// * buttonAlignedDropdown | ||
/// | ||
/// It is recommended to use the OverflowBar widget. | ||
/// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this all needs to be markdown with hyperlinks and so on (sorry if i wasn't clear in the earlier comment).
What I mean is e.g. ButtonBar
needs to be [ButtonBar]
, package:flutter/material.dart
needs to be whatever the magic incantation is to reference the material
library (maybe just [material]
?), rfw
needs to either be in backticks or uppercase, the parameters in the list should be in backticks, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh my bad. Thanks for the suggestion!
package:flutter/material.dart
can be simply referenced as "Flutter's material library". We reference like this in the framework too in various classes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
da8630e
to
b555ba9
Compare
…implementation (flutter/packages#5807)
flutter/packages@516648a...25abb5d 2024-01-30 [email protected] [rfw] Add `OverflowBar` widget and Update `ButtonBar` widget implementation (flutter/packages#5807) 2024-01-30 [email protected] [ci] Reduce tasks slightly (flutter/packages#6011) 2024-01-29 [email protected] Clarify issue requirement (flutter/packages#6010) 2024-01-29 [email protected] [various] Disambiguate TestDefaultBinaryMessengerBinding (flutter/packages#6009) 2024-01-29 [email protected] Manual roll Flutter from a8efa77 to 2f6fdf2 (23 revisions) (flutter/packages#6008) 2024-01-29 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 3.23.1 to 3.23.2 (flutter/packages#5987) 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-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Looks like the test coverage is no longer at 100% since this PR. |
Filed a fix #6020 |
fixes [
RFW
] ReplaceButtonBar
with a backwards compatible implementation usingOverflowBar
Description
This adds
OverflowBar
widget to material widgets and updatesButtonBar
(to be deprecated widget) to useOverflowBar
underneath for backwards compatibility.Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.