Want to use the official Flutter gallery? You need to switch to the project directory of the gallery app first:
1 2 3 | cd your_flutter_install_dir/examples/flutter_gallery flutter packages get flutter run |
If you have a real device connected (and the emulator closed) you can also use flutter run release.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.