Getting Started with Flutter SDK- Introduction | Installation | Running our first app- Ep. 1

preview_player
Показать описание
In a week ago actually more than a week, Flutter released its first beta version at the MWC in Barcelona In this video I'm gonna quickly explain what is flutter, how you can download and
setting up all you need to build and run your app and getting started with it, build your first android app.

What is Flutter?

Flutter is Google’s mobile UI framework for crafting high-quality native interfaces on iOS and Android in little amount of time. If you are a beginner or developer you can learn it quickly. Flutter works with existing code, is used by developers and organizations around the world, and it is free and open source.

Designed for both new and experienced mobile developers, Flutter can help you build beautiful
and successful apps in record time with benefits such as:

High-velocity development

Expressive and flexible designs

High-quality experiences across devices and platforms

Flutter uses the programming language called dart. have you ever heard about that language.
I have seen a video in youtube but I didnt intended to watch that. Now with this I am learning that language and it is easy to learn. In this series Im gonna teach you everything from beginner level to advace level in dart.

And in the future I think this language will be a famous one because of google's new os fuchsia uses this language.

Before installing flutter, install these

git install . check if path set or not and install it as usually you do
android studio
android device connected to your machine or emulator installed and open in your machine.
You do not need to download emmulator if you have installed android Studio. Just run it.

Download and install Flutter

go to the directory, where you want to install flutter. Keep remember, if you have installed this inside windows/system32 you will get an error message when running some
commands(Flutter doctor)

gradlew assembleDebug - Failed to run the Flutter compiler. Exit code: 255

in case if you did this find the installation folder and move it to another location :D. You heard me right that is easy and this will be bad sometimes beacuse if you accidently delete this folder your flutter installation will be disapear. You do not need to do any unstallation.

Flutter SDK
The Flutter SDK includes Flutter’s engine, framework, widgets, tools, and a Dart SDK. So, You do not need to download or install dart.

set path variable - if you type flutter without setting the path variable you will get a message like

Go to installed flutter direcotory and bin directory inside it copy the path and set it to PATH environmental variable

open up the cmd type Flutter to ensure that installation path is correctly added.

basic commands are,

flutter doctor - is a really cool tool that check your system for dependencies see if their any remaining dependencies you need to install.

Now lets see flutter doctor command

lets open the IntelliJ IDEA and add those two plugin

Flutter create project_name - to create a project

flutter help - to see available tools

Flutter devices - this command help you to see what are the connected android devices and running emulators.

Flutter run - to run the project(this command should be run inside the project directory)

create and run your first flutter app

Flutter create demo

cd demo

Flutter devices

Flutter run
(if you have a device connected this command will work otherwise a error message will appear)

Lets run this application using a emulator. First we need to create avd(Android Vertual Devices)
you can do this using Android Studio or using command line.

To create AVD

First go to the android sdk installed directory - tools - bin

then using cmd type

avdmanager create avd -n name -t targetID

emulator -list-avds - to list created AVD's

emulator -avd name - to run emulator

You can use

Android Studio
IntelliJ IDE
Atom Editor
Visual Studio Code
and etc.

view source code in IntelliJ. In upcoming videos I will show, how you can use other IDE's

Learn more:

In the next video I will show you how you can develop your first hello World app from scratch.
Рекомендации по теме
Комментарии
Автор

Thank you very much SL CODER. (For those who put ironical comments, had forgotten that once they were also beginners, and most of them even doesn't have a single youtube video. Appreciate your effort to exchange your knowledge. If this is already existing and you guys don't wanna listen to it, go mind your own feq. "Noobs don't know how to survive") ;-)

kaveenhyacinth
Автор

This is a complete guide for Flutter thanks!

leo-sxof
Автор

Do something new not old as doing all.if u r talented so built ecommerce flutter app using woocommerce api. If u can't built it so do not make videos on common stuff which are already available everywhere.

RajKumar-qqtn
join shbcf.ru