Note_Tech

All technological notes.


Project maintained by simonangel-fong Hosted on GitHub Pages — Theme by mattgraham

Flutter - First App

Back


Set up

# replaces your current version of Flutter with the stable version
flutter channel stable

# update the Flutter SDK
flutter upgrade

# List all connected devices.
flutter devices

# optional
# Enable web app
flutter config --enable-web

setup


Channel

Command Description
flutter channel Current channel
flutter channel <channel_name> change the channel

Create a new project

flutter create <project_name>

setup

setup


Run the new project locally

cd <project_name>
flutter run -d chrome

run01

run01


TOP