Task 11 — what is flutter?
Flutter is an open-source UI software development kit created by GOOGLE. It is used to develop applications for Android, iOS, Windows, Mac, Linux, Google Fuchsia and the web from a single codebase. Open-source software (OSS) is a type of computer software in which source code is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software to anyone and for any purpose. The user interface (UI), in the industrial design field of human-computer interaction, is the space where interactions between humans and machines occur.
As we all know, flutter is a framework which is used to develop mobile apps. Why we want to learn the mobile app development, because we can give life to our ideas, there are lot of frameworks out but we use flutter because of its simplicity and for fast development. We all have ideas, I always have ideas everyday and for a long time I didn’t even how to give my ideas life! That is why I learned flutter and am still learning, I will be sharing my quickest and simple way to learn it faster. This will be your all in one flutter medium article, and I will try my best to make that happen.
HOW FLUTTER WORKS?
Flutter is built in a whole new way, compared to other frameworks, working more like a gaming engine, than a traditional application framework.
Platform: Starting at the platform level, Flutter provides a Shell, that hosts the Dart VM. The Shell, is platform specific, giving access to the native platform APIs and hosting the establishing the platform relevant canvas.
Engine: The engine is the next layer up, providing the Dart Runtime, Skia, Platform Channels and much more.
Framework: The Flutter framework is the most relevant to the app developer. It contains everything you will interact with, when developing your app.
Rendering Pipeline: Flutter works more like a gaming engine, than an app framework you may be used to. Dart based application code will continue to run via the CPU, and in the specialized UI Thread, when touching UI related components.
Let’s Create a Mobile App
In flutter it is easy to create a new project/App. Just run the command
flutter create <Project Name>
So the app is created, There are several ways to run the app,
- We can run the app on a real device
- On a Virtual Device or AVD
- On web browser
Here to run the app we are going to use the AVD(Android Virtual Device), to use this we need to open android studio > Configure > AVD Manager and run the virtual device
If the Virtual device is running in background, we can run the app.
cd <Project Name>
flutter run
Select our device from the option and it is done!, our app will be installed and we successfully
ADVANTAGES:
1.Same UI and Business Logic in All Platforms.
2.Custom, Animated UI of Any Complexity Available.
3.Simple Platform-Specific Logic Implementation.
4.The Potential Ability to Go Beyond Mobile.
5. Less code and its easy to setup.
6. It has official support.
7. It is fast, productive and a open platform.
thankyou……