Open
Description
If you have the following project:
In main.dart
:
class A {}
class C extends A {}
In other.dart
:
import 'main.dart';
void f(C c) {}
And you use "Move class to file" on C
, the current output for other.dart
is (#56658 for the unused_import
):
import 'main.dart';
import 'c.dart';
void f(C c) {}
I'm not sure how this could be done, but I'd like to ask for a way for me to say if I want to add export 'c.dart';
inside main.dart
so that other files don't need to change.
// CC: @DanTup