Content-Length: 290613 | pFad | http://github.com/flutter/flutter/issues/78735

18 Advanced Dart Migration Tool · Issue #78735 · flutter/flutter · GitHub
Skip to content

Advanced Dart Migration Tool #78735

@amorenew

Description

@amorenew

Use case

After migrating to Flutter 2, I found that some deprecated widgets were not replaced by alternative widgets.
Like FlatButton and TextButton, or RaiseButton and ElevatedButton.

Proposal

I found that the dart Migration tool was very helpful when I started to migrate to Flutter 2.

If you could take the dart migration tool to the next level, it can be configurable by a YAML file or any similar way.
So community or packages maintainers could use it too.

For example, if the Flutter team is busy, someone from the community could post a configuration to migrate FlatButton to TextButton.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterdependency: dartDart team may need to help usteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/78735

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy