To use a package, do the following:
Read moreHow do you run a dart file?
Run the app To run the app from the command line, use the Dart VM by running the dart run command in the app’s top directory : $ cd cli $ dart run Hello world: 42! If you want to run the app with debugging support, see Dart DevTools.
Read moreHow do I import a dart file?
Contents in this project Include Import Another Folder Dart File in Flutter Call Widget Example in Android iOS :-
Read moreHow do you run a dart script?
To run a Dart console application:
Read more