Importaciones de Dart Flutter

//globals.dart
final String lang = 'Dart!';

//main.dart
import 'globals.dart';

main() {
  print(lang)
}
Zealous Zebra