Flutter Installation on Windows Operating System
Flutter Installation in Windows Operating System
Flutter is an open source framework to create high quality, high performance mobile applications across mobile operating systems - Android and iOS. It provides a simple, powerful, efficient and easy to understand SDK to write mobile application in Google’s own language, Dart. This tutorial walks through the basics of Flutter framework, installation of Flutter SDK, setting up Android Studio to develop Flutter based application, architecture of Flutter framework and developing all types of mobile applications using Flutter framework.
Features of Flutter
Flutter framework offers the following features to developers −
1)Modern and reactive framework.
2)Uses Dart programming language and it is very easy to learn.
3)Fast development.
3)Beautiful and fluid user interfaces.
4)Huge widget catalog.
5)Runs same UI for multiple platforms.
6)High performance application.
Advantages of Flutter
- Flutter comes with beautiful and customizable widgets for high performance and outstanding mobile application. It fulfills all the custom needs and requirements. Besides these, Flutter offers many more advantages as mentioned below −
- Dart has a large repository of software packages which lets you to extend the capabilities of your application.
- Developers need to write just a single code base for both applications (both Android and iOS platforms.
- Flutter needs lesser testing. Because of its single code base, it is sufficient if we write automated tests once for both the platforms.
- Flutter’s simplicity makes it a good candidate for fast development. Its customization capability and extendibility makes it even more powerful.
- With Flutter, developers has full control over the widgets and its layout.
- Flutter offers great developer tools, with amazing hot reload.
Disadvantages of Flutter
- Despite its many advantages, flutter has the following drawbacks in it Since it is coded in Dart language, a developer needs to learn new language (though it is easy to learn).
- Modern framework tries to separate logic and UI as much as possible but, in Flutter, user interface and logic is intermixed. We can overcome this using smart coding and using high level module to separate user interface and logic.
- Flutter is yet another framework to create mobile application. Developers are having a hard time in choosing the right development tools in hugely populated segment.
Let us see how to install Flutter SDK and its requirements in a windows system.
Step 1 − Go to URL, https://flutter.dev/docs/get-started/install/windows and download the latest Flutter SDK.
Step 2 − Unzip the zip archive in a folder, say C:\flutter\ .
Step 3 − Update the system path to include the flutter bin directory.
Step 4 − Flutter provides a tool, flutter doctor to check that all the requirements of flutter development are met.
flutter doctor
Step 5 − Running the above command will analyze the system and show its report as shown below −
The report says that all development tools are available but the device is not connected. We can fix this by connecting an android device through USB or starting an android emulator.
Step 6 − Install the latest Android SDK, if reported by flutter doctor
Step 7 − Install the latest Android Studio, if reported by flutter doctor
Step 8 − Start an android emulator or connect a real android device to the system.
Step 9 − Install Flutter and Dart plugin for Android Studio. It provides startup template to
- create new Flutter application, an option to run and debug Flutter application in the Android studio itself, etc.,Open Android Studio.
- Click File → Settings → Plugins.
- Select the Flutter plugin and click Install.
- Click Yes when prompted to install the Dart plugin.
- Restart Android studio.
Comments
Post a Comment