Flutter, Dart, Android Studio, and VS Code

Use the toolchain specified for your downloaded Flutex release. Installing an arbitrary newer SDK can change package and native build compatibility.

Install your tools

Follow the Flutter setup instructions for your operating system and target platform. Install an editor with Flutter/Dart support and the native tools required for Android or iOS.

Open a terminal in the folder containing pubspec.yaml and run:

flutter --version
flutter doctor -v

Resolve the issues relevant to your target platform. For Android, install the SDK components requested by the project and accept the SDK licenses when prompted. For iOS, use a Mac with a compatible Xcode installation.

Prepare the project

Run flutter pub get from the project root. Keep pubspec.lock so dependency resolution stays close to the supplied release. The inspected source requires Dart ^3.12.2; if your SDK does not satisfy that constraint, use the correct Flutter SDK instead of lowering the requirement blindly.

Configure the CRM URL and Firebase before running the app. Start an emulator/simulator or connect a device, then use flutter devices followed by flutter run.

If the terminal and editor report different Flutter versions, check their SDK paths. Avoid mixing a global Dart installation with the Dart SDK bundled with your selected Flutter release.

Write Your Comment