Repository navigation
Add Material 3 interactive dartpad samples #101048
Description
Activity
- changed the title
[-]Add Material 3 interactive code samples[/-][+]Add Material 3 interactive dartpad samples[/+]on Mar 30, 2022 - addedin triagePresently being triaged by the triage teamPresently being triaged by the triage teamframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesd: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/and removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Mar 30, 2022 @guidezpl @darrenaustin
If I can help with this, let me know. :)This sounds reasonable to me. I have started doing this as I am migrating each component (starting with Card and the still being worked on buttons. But the earlier FAB, NavRail etc, don't yet have M3 examples.
Reacted by Taha TesserHey @guidezpl !
Working on PRs for FAB and NavRail
Thanks! Are you able to leverage the existing samples without copying them? @gspencergoog, curious if you have any thoughts on this? Added samples here would be identical, except the bool
ThemeData.useMaterial3.Thanks! Are you able to leverage the existing samples without copying them? @gspencergoog, curious if you have any thoughts on this? Added samples here would be identical, except the bool ThemeData.useMaterial3.
Code would be pretty similar but visually it will look quite different and the example description is also pointing to M3 design specs. When
useMaterial3is deprecated, the regular M2 example can be deleted without refactoring the code.I'm happy to update PR/Example if the code cannot be identical and I also added FAB variants example and tests for each existing example
That's a good point, code duplication for the transition period is acceptable
Reacted by Taha TesserWorking on samples for #107166
- addedP3Issues that are less important to the Flutter projectIssues that are less important to the Flutter project
on Oct 20, 2022 @guidezpl
I'm closing this as done as almost all M3 widgets have examples now.- moved this from In progress to Done (PR merged) in Nevercode
on Feb 27, 2023 - addedr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
on Feb 27, 2023 Great thank you! Which are missing?
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Mar 13, 2023
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone (PR merged)
- StatusShow more project fields✅ Done
This is a tracking issue for adding interactive code samples (with
{@tool dartpad}) to components and widgets which support Material 3.We should consider leveraging existing existing code samples by either
useMaterial3: trueFor new Material 3-only widgets, such as
NavigationBar, the API doc will only show the Material 3 look.cc @darrenaustin WDYT?
Components
FloatingActionButtonandFloatingActionButtonvariants examples #101105Cardwidget to support Material 3 #100532Dialogexamples and update existingDialogexamples #101508NavigationBarNavigationRailexample and improve Material 2 example #101345AppBarexample #102823 and Add support for Material 3 medium and large top app bars. #103962Other widgets