How chadowsaln/flutter-todo-list-tutorial works
This is a cross-platform Flutter todo-list app using Riverpod for shared state. The user workflow is to create and edit tasks, then review active, completed, or all tasks; the README also describes an optional Phoenix API for persistence. The graph preserves those documented capabilities and the platform host entry points visible in sampled files. The Dart implementation was not sampled, so connections involving its internal modules are limited to README-documented relationships; no internal call sequence is assumed.
Main entry points: main.dart Flutter app · providers.dart Riverpod state · flutter_window.cpp Windows Flutter host · todoRepository.dart Todo repository
Components 17
Todo app
- Flutter app
lib/main.dart - Create and edit
lib/main.dart - Active tasks
lib/main.dart - Completed tasks
lib/main.dart - All tasks
lib/main.dart
Todo state
- Todo model
lib/todo.dart - Riverpod state
lib/providers.dart
Persistence
- Todo repository
lib/repository/todoRepository.dart - Phoenix API
Platform hosts
- Windows entry
windows/runner/main.cpp - Windows Flutter host
windows/runner/flutter_window.cpp - Win32 window
windows/runner/win32_window.cpp - Linux entry
linux/main.cc - Linux Flutter host
linux/my_application.cc - iOS host
ios/Runner/AppDelegate.swift - Android host
android/app/src/main/kotlin/com/example/todo_app/MainActivity.kt
Other components
- User
Connections 16
- User → Flutter app: uses
- Flutter app → Create and edit: presents
- Flutter app → Active tasks: presents
- Flutter app → Completed tasks: presents
- Flutter app → All tasks: presents
- Flutter app → Riverpod state: uses shared state
README.md - Create and edit → Riverpod state: updates
- Active tasks → Riverpod state: reads state
- Completed tasks → Riverpod state: reads state
- All tasks → Riverpod state: reads state
- Todo repository → Phoenix API: persists tasks
README.md - Windows entry → Windows Flutter host: creates
windows/runner/main.cpp - Windows Flutter host → Win32 window: extends
- Linux entry → Linux Flutter host: creates
linux/main.cc - iOS host → Flutter app: starts Flutter
- Android host → Flutter app: starts Flutter