Flutter Tutorial

Creating Simple Flutter Application in Android Studio

flutter demo
869views

Hii Developer In this article I am sharing how to Creating Simple Flutter Application in Android Studio. After complete the setup of flutter in your android studio.  Install Flutter SDK and set Path and run flutter doctor complete all the requirements. Let,s Create a simple fluter Application with android studio.

  •  1: Start Android Studio.
  • 2: Click On Start a new flutter project.
  •  3: Select Application.
  •  4: Firstly Set SDK Path after set location of the project then click on Next.

follow all these steps and let’s create your first flutter app with android studio.

Start Android Studio 

flutter start tutorial 1

Click on Start a new Flutter project  

flutter first app

Select Flutter Application 

flutter tutorial

Set Project Name,  And Select Flutter SDK path and location of the project where you want to store the app.

flutter create simple app with android studio

 

Components of the structure of the Flutter application :

  •  android – Auto-generated source code to create android application
  •  ios – Auto-generated source code to create ios application
  • lib – Main folder containing Dart code written using flutter framework
  •  lib/main.dart – Entry point of the Flutter application
  •  test – Folder containing Dart code to test the flutter application
  •  test/widget_test.dart – Sample code
  •  .gitignore – Git version control file
  •  .metadata – auto-generated by the flutter tools
  • .packages – auto-generated to track the flutter packages
  •  .iml – project file used by Android studio
  • pubspec.yaml – Used by Pub, Flutter package manager
  • pubspec.lock – Auto-generated by the Flutter package manager, Pub
  • README.md – Project description file written in Markdown format

this all most of the used component and file in flutter app you see all these files.

 

Welcome to my blog! I’m Ritu Malik, and here at Codeplayon.com, we are dedicated to delivering timely and well-researched content. Our passion for knowledge shines through in the diverse range of topics we cover. Over the years, we have explored various niches such as business, finance, technology, marketing, lifestyle, website reviews and many others.