Flutter is Google's official UI toolkit for building beautiful, natively compiled applications for mobile, web, desktop, and embedded devices from a single codebase, which essentially means you can run your app on Windows, iOS and Web all from a single codebase and save up a lot of time and resources.
Flutter offers you:
- Fast Development
- Flexible and beautiful UI
- Native Performance
Here is a video that gives an overview of flutter.
- Download the flutter SDK from here
- Important Follow the steps listed here to update your system path Important
- Download and install Android Studio from here. You will be using Android Studio to create a virtual android machine (to test your apps on). It can also be used to code, but we recommend using VS Code for that.
- Open your command prompt (cmd) and run
flutter doctor --android-licenses
- Open your command prompt (cmd) and run
flutter doctor
, this should show an output like this:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19041.630], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Community Edition (version 2021.1)
[√] VS Code (version 1.59.1)
[√] Connected device (2 available)
- Download the flutter SDK from here
- Extract the zip file onto your system, or open terminal and:
cd ~/development
unzip ~/Downloads/flutter_macos_2.2.3-stable.zip
-
Add the flutter tool to your path:
export PATH="$PATH:`pwd`/flutter/bin"
Note: Recommended This command sets yourPATH
variable for the current terminal window only. To permanently add Flutter to your path, see Update your path. -
Install the latest version of Xcode from the Mac App Store
-
Set up the iOS simulator
open -a Simulator
Congrats! You are now all setup to create you very first flutter app.
To create your first app, open terminal/cmd and run: flutter create my_app
- A folder will get created, open this folder in android studio or VS Code or Xcode
- Click
Run
- The app should run on your virtual android/ios machine.
- Widgets
- Layouts
- Interactive Widgets
- Designing an app: Forms, Gestures, and Images
- Lists
- Navigation
- Networking
- JSON and Serialization
- Dependency Management
- State Management
- Testing (Unit and Integration)
- Counter App
- Portfolio
- Todo List App
- Shopping List
- A simple game and more.
And of course, the best resource ie. the flutter documentation: https://flutter.dev/docs