Let's create an app with Flutter!
CoffeeShop app preview:
By completing this workshop you will be able to:
- Create a multi-screen Flutter app using
BottomNavigationBar - Build common UI layouts with widgets such as
Column,ListView,ListTile,Card, andCircleAvatar - Navigate between pages (both tab-based and stack-based with
Navigator.push) - Define simple Dart data models (classes with named constructors)
- Manage shared app state without an external library
- Use hot-reload to see live changes during development
app/
βββ lib/
βββ main.dart # App entry point and bottom-navigation host
βββ coffee_manager.dart # Lightweight in-memory state container
βββ models/
β βββ product.dart # Product data model
β βββ user.dart # User data model
β βββ order.dart # Order data model
βββ pages/
βββ catalog.dart # Product listing screen
βββ cart.dart # Shopping cart screen
βββ profile.dart # User profile screen
βββ orders.dart # Order history screen
- Bring Your Own Device (BYOD)
- Basic/medium programming knowledge
- Flutter SDK installed and set up
To choose:
- Android Studio
- Visual Studio Code
β οΈ NOTE - Visual Studio is different than Visual Studio Code
To choose:
- Android emulator device
- Physical device (developer mode and USB debugging enabled)
# Navigate to the app directory
cd app
# Fetch dependencies
flutter pub get
# Run on a connected device or emulator
flutter runTo add support for additional platforms:
# Web
flutter create --platforms=web .
# Linux
flutter create --platforms=linux .No state management libraries/tools/engines are used.
No best practices with Flutter are used.
This is a beginner level project.
This workshop focuses on the development of UI, to learn the basics of Flutter, widgets, navigation between views, Dart first steps...
Clone this repo and checkout to workshop branch.
π‘ Don't want to use Git? Download the starter project directly from download-directory.github.io.
For a detailed step-by-step guide see docs/guide.md.
General:
- Build apps for any screen with Flutter
- Learn Flutter any way you want
- Windows install
- A curated list of Flutter samples and apps
Android:
Dart:
