Aswin Gopinathan 🇮🇳💙 Profile picture
Software Engineer @PhonePe • iOS Developer • Speaker 🎤 and i write blogs ✍️

Dec 19, 2021, 23 tweets

A 🧵 on my favourite 20 CLI commands for Dart and Flutter Developers!

#flutter #flutterdev

1. Create a Dart application

2. Run a Dart file

3. Create a dart-server application which you can use to write server-side code.

4. Create a web-application using pure dart.

5. Create a console application in Dart

6. List all the available channels for Flutter

Master, dev, beta, stable

7. Switch to a specific flutter channel

8. Upgrade a particular channel

9. Create a new Flutter app using swift as iOS language and kotlin as android language.

10. An alternative to the above command

11. List all the available emulators

12. Launch a specific emulator

13. If you have an iOS simulator, you can launch it using this.

14. Run the Flutter app

15. Run the Flutter app on a specific emulator/simulator

16. Analyse the Dart code

17. Run tests using the directory that contains the test code.

18. Get all the packages included in pubspec.yaml file

19. Build deliverables for all the 3 platforms

20. Show the logs of a running application in the terminal

So, these are my favourite commands for Dart and Flutter applications.

If you liked it, don’t forget to like and retweet the first tweet so that it can reach more wonderful devs like you.

Follow @GopinathanAswin for more threads like this.

As I learn new things, I will share more on this wonderful space 💙

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling