What is Flutter?
Flutter is Google’s portable UI toolkit for building beautiful, natively-compiled applications for mobile, web, and desktop from a single codebase.
And Flutter have Many characteristics and you can see here.
How to Install it in your Linux Machine?
- You can download the Flutter package here.
- Extract the file in a separate folder.
- cd ~/development
- tar xf ~/Downloads/flutter_linux_v1.5.4-hotfix.2-stable.tar.xz
- Add the flutter tool to your path:
- export PATH="$PATH:`pwd`/flutter/bin"
- And enter the code flutter precache to check the flutter installed.
- And Run Flutter Doctor By the command flutter doctor to see any folder is missing for that.
(From Flutter.dev)
Android Setup:
- Download and install the android studio.
- Start Android Studio, and go through the ‘Android Studio Setup Wizard’. This installs the latest Android SDK, Android SDK Platform-Tools, and Android SDK Build-Tools, which are required by Flutter when developing for Android.
Setup android Emulator:
- To prepare to run and test your Flutter app on the Android emulator, follow these steps:
- Enable VM acceleration on your machine.
- Launch Android Studio > Tools > Android > AVD Manager and select Create Virtual Device. (The Android submenu is only present when inside an Android project.)
- Choose a device definition and select Next.
- Select one or more system images for the Android versions you want to emulate, and select Next. An x86 or x86_64 image is recommended.
- Under Emulated Performance, select Hardware - GLES 2.0 to enable hardware acceleration.
- Verify the AVD configuration is correct, and select Finish.
- For details on the above steps, see Managing AVDs.
- In Android Virtual Device Manager, click Run in the toolbar. The emulator starts up and displays the default canvas for your selected OS version and device.
Credits: Flutter.dev.
Comments
Post a Comment