Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 2.77 KB

README.md

File metadata and controls

98 lines (67 loc) · 2.77 KB
MasterHead

Hi👋, Flutter Developer

Let's learn some advanced 'Flutter Business and UI Logics ' which you can implement on your projects to make the project to next level!

▒ Pojects

» Dynamic TabBar

» Advanced Exception Handler

» Pokemon App (pokeapi.co)

» Staggered Listview

▒ Flutter Commands

» General commands

Create a new Flutter project

flutter create project_name

Create a new Flutter project with organization name

flutter create --org com.example project_name

Run the Flutter app

flutter run

Run on a specific device

flutter run -d device_id

Build an APK

flutter build apk

Build an iOS app

flutter build ios

Analyze the project for errors and warnings

flutter analyze

Get dependencies

flutter pub get

Upgrade Flutter

flutter upgrade

Clean the project

flutter clean

Run tests

flutter test

» Dart Commands

Run a Dart file

dart run file_name.dart

Compile a Dart file to a native executable

dart compile exe file_name.dart

Analyze Dart code

dart analyze

Format Dart code

dart format file_name.dart

Get dependencies

dart pub get

Run tests

dart test

Publish a package

dart pub publish

» Other Useful Commands

List connected devices

flutter devices

Install specific Flutter version

flutter version version_number

Enable desktop support

flutter config --enable-windows-desktop
flutter config --enable-macos-desktop
flutter config --enable-linux-desktop

Enable web support

flutter config --enable-web

» adb commands

List connected devices

adb devices

Restart ADB server

adb kill-server 

Start ADB server

adb start-server