What is Flutter?
Flutter is google’s official open-source framework to create high quality and high-performance mobile applications for both Android and iOS devices by using single programming language “Dart”, which is officially created by Google.
Dart is an object-oriented, client-optimized programming language and also used for desktop, backend, and web applications.
How can build mobile apps using Flutter?
For creating a mobile application by using a flutter framework, you can use macOS, Windows, or Linux. you can use any editor like Visual Studio Code, Android Studio, or IntelliJ IDEA.
Development environment set up
After downloading any one of the editors set up your development environment. we are going to set up the development environment in VS Code.
For setting up these things you can go to the official installation guide here
- Download the latest stable version of flutter SDK for your machine’s operating system.
- After downloads, Extract the zip file and place the contained
flutterin the desired installation location for the Flutter SDK (for example,
C:\src\flutter; do not install Flutter in a directory like
C:\Program Files\that requires elevated privileges).
- Run the
flutter doctorcommand, which installs the flutter framework with Dart and provides reports for any missing dependencies.
- At the end create a project from the terminal by running
flutter create projectname
The first project in Flutter
After the successful creation of the project, you will see a main.dart file containing demo code. this demo code is a simple counter which counts the number of clicked on fab Icon.
Just run the flutter command with a connected device or emulator you will get the output as.
I am passionate about learning and teaching new technology. Here You will get all information about Flutter, Laravel and New Technologies.