Adicionar pacote no pubspec.yaml usando o prompt de comando no flutter
1- Open Command-Prompt-
2- Run "$ flutter pub add <packge_name>".
Code Chaser
1- Open Command-Prompt-
2- Run "$ flutter pub add <packge_name>".