Skip to content

'migrate_design_widgets' fix does not migrate exports #63968

Description

@loic-sharma

Repro steps

Create a Flutter app that contains:

export 'package:flutter/material.dart';

Using the latest Flutter main channel, run:

dart fix --apply --code=migrate_design_widgets 

I would expect the following migration:

- export 'package:flutter/material.dart';
+ export 'package:material_ui/material_ui.dart';

Affected apps

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failuresarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-dartfixIssues with the dartfix packagetype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions