Tools & Setup
Pre requisite
- Flutter & Dart SDK (We have used Flutter version 3.24)
- Anyone IDE Android Studio (Recommended), Visual Studio Code or IntelliJ IDEA
- To edit this project you must have Flutter and Dart installed and configured successfully on your computer.
- Set up your editor – Install the Flutter and Dart plugins.
- If you have got Android SDK installed and configured, to install Flutter
you
only need to:
- Download Flutter SDK from official website and extract it.
- Add path to previously extracted SDK to your PATH variable
- Run flutter doctor tool to check if everything is configured correctly.
- All above steps are mentioned here: https://flutter.dev/docs/get-started/install/
Setup in different Systems
Windows
- Download Android Studio – https://developer.android.com/studio/
- Get the Flutter SDK – https://flutter.dev/docs/get-started/install
- Learn more about Android Studio – https://developer.android.com/studio/intro/
macOS
- Download Android Studio – https://developer.android.com/studio/
- Download Xcode – https://apps.apple.com/us/app/xcode/id497799835?mt=12
- Get the Flutter SDK – https://flutter.dev/docs/get-started/install
- Learn more about Android Studio – https://developer.android.com/studio/intro/
Linux
- Download Android Studio – https://developer.android.com/studio
- Get the Flutter SDK – https://flutter.dev/docs/get-started/install/linux
- Learn more about Android Studio – https://developer.android.com/studio/intro/
SDK Version & Installation
If you use Webkit in your project then you need to change following changes.
Flutter (v3.24 or higher)
- You need or higher (Stable Channel). For this run following commands.
- flutter channel master to switch master branch for flutter SDK.
- flutter upgrade to upgrade flutter to latest stable release.
Installation
Run following command to run this project on web
- flutter pub get to getting all required dependencies
- flutter run -d chrome to run in web browser (Now in chrome)
- flutter build web to build web bundle, which you can deploy as static page
For more information, head on to https://flutter.dev/docs/get-started/install