Skip to content

Update Material 3 bottom sheet - #122445

Merged
hannah-hyj merged 20 commits into
flutter:masterfrom
hannah-hyj:bottom-sheet-0306
Mar 19, 2023
Merged

Update Material 3 bottom sheet #122445
hannah-hyj merged 20 commits into
flutter:masterfrom
hannah-hyj:bottom-sheet-0306

Conversation

@hannah-hyj

Copy link
Copy Markdown
Member

issue:#111448

  1. Added a default max width as 640
  2. Added a drag handle, the user can also tap it to dismiss bottom sheet in a11y mode. Added drag handle color and size to bottom sheet theme.

571677645837_ pic

581677646439_ pic

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboardflutter-dashboardBot added p: material_ui material_ui package in flutter/packages framework flutter/packages/flutter repository. See also f: labels. c: contributor-productivity Team-specific productivity, code health, technical debt. labels Mar 11, 2023
@hannah-hyjhannah-hyj mentioned this pull request Mar 11, 2023
8 tasks

@guidezplguidezpl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Quick comments about docs and relation with enableDrag

Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
@gnprice

gnprice commented Mar 13, 2023

Copy link
Copy Markdown
Member

Everything LGTM now except what's covered in existing open threads:
#120855 (comment)
#122445 (comment)

I'll leave @HansMuller and @guidezpl to wrap those up and approve the PR when they think it's ready. Thanks for all your work on this!

Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threaddev/tools/gen_defaults/lib/bottom_sheet_template.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated

@guidezplguidezpl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Just minor nits about formatting and docs

 _ ___ _____ __ __ | | / __|_ _| \/ |
| |_| (_ | | | | |\/| |
|____\___| |_| |_| |_|

Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
Comment threadpackages/flutter/lib/src/material/bottom_sheet.dart Outdated
@hannah-hyjhannah-hyj added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 16, 2023
@auto-submitauto-submitBot removed the autosubmit Merge PR when tree becomes green via auto submit App label Mar 17, 2023
@auto-submit

Copy link
Copy Markdown
Contributor

auto label is removed for flutter/flutter, pr: 122445, due to - The status or check suite Windows web_tool_tests_1_2 has failed. Please fix the issues identified (or deflake) before re-applying this label.

hannah-hyjand others added 7 commits March 16, 2023 20:21
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
Update bottom_sheet_test.dart
Update bottom_sheet.dart
@hannah-hyj
hannah-hyj merged commit 9fc1fd1 into flutter:masterMar 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: contributor-productivityTeam-specific productivity, code health, technical debt.frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@hannah-hyj@gnprice@HansMuller@guidezpl