2. Prerequisites
Before you begin customizing and running the app, ensure that your development environment is properly set up. Below are the prerequisites and steps to prepare your system:
2.1 System Requirements
To run and customize this Flutter app, your system must meet the following minimum requirements:
- Operating System: Windows, macOS, or Linux.
- RAM: At least 8 GB (16 GB recommended for smoother performance).
- Storage: Minimum 5 GB of free disk space.
- Internet Connection: Required for downloading dependencies and running the app.
2.2 Software Requirements
Install the following software to set up your development environment:
Flutter & Dart SDK
- Version: Flutter 3.27.3 (or higher, if compatible).
- Download Link: Flutter SDK Archive.
- Installation Guide: Official Flutter Installation Guide.
IDE (Integrated Development Environment)
- Recommended Options:
- Android Studio: Download Android Studio.
- Visual Studio Code: Download VS Code.
- Recommended Options:
Flutter and Dart Plugins
- Install the Flutter and Dart plugins in your IDE:
- For Android Studio: Go to File > Settings > Plugins, search for "Flutter," and install it. The Dart plugin will be installed automatically.
- For VS Code: Open the Extensions Marketplace, search for "Flutter," and install it.
- Install the Flutter and Dart plugins in your IDE:
Android SDK
- Ensure the Android SDK is installed and configured:
- Open SDK Manager in Android Studio.
- Install the latest Command Line Tools and Build Tools.
- Enable USB Debugging on your physical device for testing.
- Ensure the Android SDK is installed and configured:
2.3 Installation Checklist
Follow these steps to verify that your environment is ready:
Install Flutter SDK
- Download the Flutter SDK from the official website and extract it to your desired location (e.g.,
C:\flutter
or~/flutter
). - Add the Flutter
bin
directory to your system's PATH variable:- On Windows:
- Open Environment Variables and add the path to
flutter\bin
under the Path variable.
- Open Environment Variables and add the path to
- On macOS/Linux:
- Add the following line to your shell configuration file (e.g.,
.bashrc
,.zshrc
):bashexport PATH="$PATH:/path/to/flutter/bin"
- Add the following line to your shell configuration file (e.g.,
- On Windows:
- Download the Flutter SDK from the official website and extract it to your desired location (e.g.,
Verify Installation
- Open a terminal or command prompt and run:bash
flutter doctor
- Address any issues reported by the tool (e.g., missing dependencies, unconfigured Android SDK).
- Open a terminal or command prompt and run:
Set Up Your IDE
- Configure the Flutter and Dart SDK paths in your IDE:
- For Android Studio: Go to File > Settings > Languages & Frameworks > Flutter and set the Flutter SDK path.
- For VS Code: Open the Command Palette (
Ctrl + Shift + P
), search for "Flutter: Select SDK," and select the Flutter SDK path.
- Configure the Flutter and Dart SDK paths in your IDE:
Enable USB Debugging (For Physical Devices)
- On your Android device, go to Settings > Developer Options and enable USB Debugging.
- If Developer Options is not visible, enable it by tapping Build Number 7 times in Settings > About Phone.
2.4 Additional Notes
- If you encounter any issues during setup, refer to the official Flutter documentation: Flutter Setup Guide.
- For video tutorials, check out the following playlist: