Flutter – Cross platform Mobile UI

What is Flutter?

Flutter is Google’s mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

Why to use Flutter?

Be Highly Productive

-Develop Android and iOS app using single codebase.

-Do more with less code, even on a single OS, with a modern, expressive language and a declarative approach.

Morden, Reactive Framework

-Flutter can easily create UI with modern reactive framework and rich set of platform, layout and widgets. Solve your tough UI challenges with powerful and flexible APIs for 2D, animation, gestures, effects, and more.

SDK’s and Native Features Access

-Using Flutter, you can also use the native code 3rd party Sdk, APIs. Flutter lets you reuse your existing Java, Swift, and ObjC code, and access native features and SDKs on iOS and Android.

Step 1 : Download the Flutter SDK

You can clone the beta branch of the repository, then add the Flutter tool in your path.

$git clone -b beta https://github.com/flutter/flutter.git

Step 2: Set Flutter path

You can set Flutter path temporarily as well as permanently. Below command is used to set the temporary path, for the current terminal window.

$ export PATH= pwd /flutter/bin:$PATH

To add Flutter permanently to your path, follow the below steps:

export PATH=[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin:$PATH

Run source $HOME/.bash_profile to refresh the current window.

Verify that the flutter/bin directory is now in your PATH by running:

$ echo $PATH

Step 3: Check Flutter Configuration

$flutter doctor

The above command is used to check for any dependencies need to the complete setup. When you run the doctor command for the first time, it will download its own dependency and compile itself. When you run the command, it will display the following output in your cmd screen.

Step 4: Set up your Android device

To run and test your Flutter app on an Android device, you’ll need an Android device running Android 4.1 (API level 16) or higher. By default, Flutter uses the version of the Android SDK where your adb tool is based.

Connect your device using the USB cable and turn on USB Debugging option. Run the command flutter devices to display the connected device list in terminal. Thereby, to run your app type flutter run command.

About us

SimBeez IT Solutions LLP provides innovative IT solutions. SimBeez – an IT company that has been serving its clients with satisfactory IT services. We specialize in Web development, Mobile Apps development, Game development, Odoo/OpenERP development, Magento (E-commerce development), Graphics designing, SEO and Digital Marketing.