Flutter - How to add a package from command line?
Add a package as a direct dependency:
flutter pub add
flutter pub add -d
flutter pub remove
Note: You can also use dart command instead of flutter above
Add a package as a direct dependency:
flutter pub add
flutter pub add -d
flutter pub remove
Note: You can also use dart command instead of flutter above