Top

Mofi Documentation

Flutter Install

  1. If you don't have Flutter installed? Click here to install it: https://flutter.dev/docs/get-started/install
  2. We know you are aware for flutter installation steps but if you are facing any difficulties then follow these steps for Visual Studio : https://flutter.dev/docs/development/tools/vs-code
  3. We know you are aware for flutter installation steps but if you are facing any difficulties then follow these steps for Android Studio: https://developer.android.com/studio/

1. SDK Version:


If you use Mofi in your project, then you need to make the following changes.

Flutter (v3.22.2)

  1. You need Flutter v3.22.2(Stable Channel)

  2. Install Flutter using following link according to your System like Windows, MacOS etc.: https://docs.flutter.dev/get-started/install?gclid=CjwKCAiAyfybBhBKEiwAgtB7fuo-wU3GtYs7e8vzM5aFBUbGfa0PVB1LnCZxcii4Fre08wOOIc1-ExoCAbIQAvD_BwE&gclsrc=aw.ds

 

Dart with higher version

  1. You need the latest version of Dart

  2. Install Dart using following link: https://dart.dev/get-dart/archive

    If want to download it according to your System like Windows, MacOS etc. follow the link : https://dart.dev/get-dart

2. Flutter Install:


We know you are aware for flutter installation steps but if you are facing any difficulties then follow these steps: https://docs.flutter.dev/get-started/install?gclid=CjwKCAiAyfybBhBKEiwAgtB7fow-94-hreD6f2avvXKl2VvIDbS_focHuOlycE3RcHUxPCuOlXLvGBoCok8QAvD_BwE&gclsrc=aw.ds

  1. Download the lastest Flutter SDK from the below link. Here, click on flutter_window_xxx.zip button.
  2. Extract the zip file and copy flutter folder into your desired installation location for the Flutter SDK.
  3. Run the "flutter doctor" command to see if there any dependencies you need to install to complete the setup.

3. Flutter Install in Visual Studio:


  1. Open Visual Studio, install Flutter and Dart.
  2. After installing Flutter, make sure you have Dart installed.

  3. Run the "flutter doctor" command to see if there any dependencies you need to install to complete setup.

4. Flutter Install in Android Studio:


  1. Open Android Studio, install Flutter and Dart.

  2. Run the "flutter doctor" command to see if there any dependencies you need to install to complete the setup.

5. Dart setup


Note: If you want to setup Dart, then kindly follow the below steps.

IN WINDOW:

  1. Press Windows+R to open the Run window
  2. Type cmd into the box.
  3. Press Ctrl+Shift+Enter.
choco install dart-sdki 

IN LINUX:

  1. $sudo apt-get update
  2. $sudo apt-get install apt-transport-https
  3. wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/dart.gpg
  4. echo 'deb [signed-by=/usr/share/keyrings/dart.gpg arch=amd64] https://storage.googleapis.com/download.dartlang.org/linux/debian stable main' | sudo tee /etc/apt/sources.list.d/dart_stable.list

If you haven't installed it, be sure to install it first.

$sudo apt-get update
$sudo apt-get install dart

IN MacOS:

$brew tap dart-lang/dart
$sudo apt-get install dart