Vice President - Mobility, IoT & VR
October 25, 2017 12:16
4 min read1159 views so far!
Through this article I’ll let you know how to get started with flutter. I’ll walk you through installation of flutter and creating a basic “Hello World” app using flutter. For introduction on Flutter and it’s framework you can go through my previous article.
Get the Flutter SDK
(Note: You can skip this if you wish to use Intellij IDE, I’ll let you know how to do this in IDE)
Then run the below command to see if all the dependencies are met.
Flutter is great when in action with Intellij IDE. Though you can use flutter cli commands to create and develop applications. Run flutter help to see all available commands. For setting up Intellij IDE first
In IntelliJ, click Create New Project from the ‘Welcome’ window or File > New > Project… from the main IDE window.
Select Flutter in the menu and Click on install SDK option to install flutter SDK.
(Note:Enter or browse to your Flutter SDK directory in Flutter SDK path if you had installed flutter SDK as shown in ‘Get flutter SDK’ step. Specify the top-level flutter directory, without the bin subdirectory. For example, C:\Users\username\flutter or /Users/username/flutter then click Next.)
Enter “Hello World” as the app name and select Project location.
That was easy and cool.
Let’s clean up a bit of code to get “Hello World” up and running,
Delete all the code below MyApp Class
Also clear the return statement and replace it with