Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter dart imports

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

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

main() {
  print(lang)
}
Source by fireship.io #
 
PREVIOUS NEXT
Tagged: #flutter #dart #imports
ADD COMMENT
Topic
Name
7+5 =