Skip to content

Playground for tinkering with a Flutter app built using a Udemy Course.

Notifications You must be signed in to change notification settings

HelloImKevo/FlutterFirstApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

FlutterFirstApp

Playground for tinkering with a Flutter app built using a Udemy Course.

Setup

After installing Flutter and the Android SDK, make sure you specify the path to your Android SDK using:

flutter config --android-sdk ~/android-sdks

To create a new Flutter app, run:

flutter create app

Be aware that Dart requires snake_case for project names.

Validate project setup:

cd app
flutter run

You should see output like:

Multiple devices found:
macOS (desktop) • macos  • darwin-arm64   • macOS 13.2.1 22D68 darwin-arm (Rosetta)
Chrome (web)    • chrome • web-javascript • Google Chrome 114.0.5735.198
[1]: macOS (macos)
[2]: Chrome (chrome)
Please choose one (To quit, press "q/Q"):

If you get this error:

"impellerc" can't be opened because Apple cannot check it for malicious software.
This software needs to be updated. Contact the developer for more information.

then try running: flutter upgrade to update Flutter.

Visual Studio Code IDE

Install the Visual Studio Code IDE. Then install the Flutter extension, by "Dart Code".

In the VS Code terminal, run:

dart fix --dry-run
dart fix --apply

Open the Command Palette with: SHIFT + CMD + P (MacOS), then type "flutter".

To run the project, select "Flutter: Launch Emulator", then pick one of the Android emulators. If you don't see your emulators listed, see the above section about running flutter config.

About

Playground for tinkering with a Flutter app built using a Udemy Course.

Topics

Resources

Stars

Watchers

Forks