Repository navigation
refactor: drop material.dart from plugin - #794
Merged
Merged
Conversation
4 of 6 tasks
jokerttu
marked this pull request as ready for review
November 5, 2026 07:19
jokerttu
force-pushed
the
plugin-widgets-import
branch
2 times, most recently
from
November 5, 2026 12:12
5686ff8 to
07ac927
Compare
jokerttu
force-pushed
the
plugin-widgets-import
branch
from
November 5, 2026 14:38
07ac927 to
d67829b
Compare
illuminati1911
approved these changes
Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the plugin off
package:flutter/material.dart, which Flutter deprecates after 3.47 in favor ofpackage:material_ui(migration guide).lib/importspackage:flutter/widgets.dartinstead. The only Material symbol it used wasColors.blackas the default stroke and fill color of circles, polygons and polylines; those defaults are nowconst Color(0xFF000000), the same value.material_ui, so apps can keep eitherflutter/material.dartormaterial_uiwithout type conflicts in the plugin's API. The public API and the minimum Flutter version (3.44) are unchanged.material_uias a dev dependency (^1.0.1, which resolves on Flutter 3.44), migrated withdart fix --apply --code=migrate_design_widgets.Stacked on #793.
Checks run
flutter analyze --fatal-infos lib testclean, 268 Dart tests pass.flutter analyze --fatal-infos lib testclean, 268 Dart tests pass.Pre-launch Checklist