Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helloimkevo/flutterfirstapp
Playground for tinkering with a Flutter app built using a Udemy Course.
https://github.com/helloimkevo/flutterfirstapp
dart flutter udemy-course-project
Last synced: about 1 month ago
JSON representation
Playground for tinkering with a Flutter app built using a Udemy Course.
- Host: GitHub
- URL: https://github.com/helloimkevo/flutterfirstapp
- Owner: HelloImKevo
- Created: 2023-07-18T21:26:58.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-25T22:14:20.000Z (over 1 year ago)
- Last Synced: 2024-11-08T00:15:11.615Z (3 months ago)
- Topics: dart, flutter, udemy-course-project
- Language: C++
- Homepage:
- Size: 439 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```shell
flutter config --android-sdk ~/android-sdks
```To create a new Flutter app, run:
```shell
flutter create app
```Be aware that Dart requires `snake_case` for project names.
Validate project setup:
```shell
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:
```shell
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`.