Getting Started with Flutter

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

  1. Download the latest stable version of flutter SDK for your machine’s operating system.
  2. After downloads, Extract the zip file and place the contained flutter in 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).
  3. Run the flutter doctor command, which installs the flutter framework with Dart and provides reports for any missing dependencies.
  4. At the end create a project from the terminal by running flutter create projectname

Getting Started with Flutter

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.

Getting Started with Flutter

Firebase authentication & Google sign in using Flutter


Getting Started with Flutter

Content Protection by
Spread the love

Leave a Comment