-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listdependency: dartDart team may need to help usDart team may need to help usdependency:dart-triagedTriaged by Dart teamTriaged by Dart teamteam-designOwned by Design Languages teamOwned by Design Languages team
Description
This issue tracks the investigation into providing a custom fix with the existing dart fix command, or another tool, to automate the migration to the new, standalone design system packages.
To make the transition to the new packages as seamless as possible, we want to provide developers with automated tooling. Leveraging the existing dart fix infrastructure is the ideal way to handle the necessary code changes and significantly reduce migration friction for existing projects.
A custom fix would need to handle a one-time update for developers. The primary changes include:
- Adding the new material and cupertino package dependencies to pubspec.yaml.
- Updating import statements. This is crucial because the new packages will no longer re-export the entire widgets library, requiring an explicit
import package:flutter/widgets.dart;in many cases.
TheOratorEse
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listdependency: dartDart team may need to help usDart team may need to help usdependency:dart-triagedTriaged by Dart teamTriaged by Dart teamteam-designOwned by Design Languages teamOwned by Design Languages team
Type
Projects
Status
No status