Flutter
Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.
I am starting my journey with flutter and this amazing Framework makes my life much easier as a programmer. There are so many platforms available to design Mobile Apps and If we scrutinize all popular ones then we got the major differences but the important thing which I learn from my trainer #VimalDaga sir that they all have strengths and shortcomings. so it attest that doesn't matter what we use to design our front-end or to showcase our Idea At the end it is all for our Client(end-user).
The Indispensable thing is make UI/UX Engaging,Effective,Error tolerant,Easy to Learn and Efficient. Moreover The Idea which is implemented or invented more faster and aesthetically is valuable in this competitive world . The Verdict says Flutter is the one of most Salient toolkit Now-a-Days with vital future scopes................
Some features of Flutter are:
- Cross-Platform:- The biggest advantage that Flutter gives in comparison to native Android is the cross-platform support, i.e., you can use the same codebase for different platforms like Android, iOS, Web, Desktop, etc.
- Hot-Reload:- Flutter's Hot Reload allows the developers to only send the incremental changes of the source code to the running Dart VM, rather than running the whole code after each change. This enables it to make changes almost instant, and that also retaining the state of the app.Flutter’s hot reload feature helps you quickly and easily experiment, build UIs, add features, and fix bugs.
- Bespoke:- Design own idea from scratch with faster and easier way, it means we can adjust, modify, and adapt to fit the demands and requirements of Users.
- Fast Development:- TTM[time to market]
- Expressive and Flexible:- Quickly ship features with a focus on native end-user experiences. Layered architecture allows for full customization, which results in incredibly fast rendering and expressive and flexible designs.
- Native Performance:- Native lang is java and Kotlin for Android iOS use "objective c" and "swift " as its native language. Performance wise they are best but they are more complex and takes additional time.
there are some tool kits in PWA(progressive web app) world whic are not Native but slow ,as :
- React (FB)
- ionic
- Blazor
- AngularJS
* Flutter code is compiled to native ARM machine code using Dart's native compilers.
Set-Up For Flutter
Flutter
- download flutter (official website for download: click on this)
- install in a particular folder
- set path as in environmental user variable for admin (to tell system about flutter)
- environmental variable ---> clk env var/path/edit/new/
IDE
- we will use IDE(integrated development kit) as android studio
SDK - software development kit
- Why SDk - SDKs allow programmers to develop apps for a specific platform.
- we can develop our software with SDK in any language for eg android sdk ,iOS sdk
Setup - android studio
- download Android Studio(official website: click on this)
- install
- configure of AS/sdk manager/android sdk/sdk tools
- install all required tools
- Set env variable
- env - new variable and give path of android sdk
To resolve sdk (Android license status) error:
Go to SDK root
C:\Users\%user%\AppData\Local\Android\Sdk\tools\bin
open a Terminal on this folder, and run the command:
#sdkmanager --licenses
connect device
Emulator - A piece of code that allows you to run ANOTHER software (usually a whole OS) on the hosting Operation system.
- go to configure of Android Studio/AVD manager/create virtual device/phone/select phone/select release
Visual Studio Code : we will use VScode for writing and executing code more conveniently
- Download VScode (official website: click on this)
- install
- View/Extension/download_flutter_extension
Command to confirm the Whole Flutter Set-Up:
#flutter doctor ---> check all requirements for flutter framework #flutter emulators
#flutter devices #flutter --launch emulators <emulator_id>
Inasmuch my journey is Just started with Flutter ,I will encompass my other research work on the same earliest possible I learn more................