How niazi876/hive-todo-app works
Hive Todo App is a Flutter task manager whose main workflow is adding, completing, and deleting tasks in a list, with task data persisted locally across restarts. The graph covers the documented Dart application layers and the principal desktop and mobile host entry points visible in the supplied excerpts. Dart implementation details were not sampled, so feature relationships are based on the README; platform-host relationships are limited to those shown in excerpts.
Main entry points: home_page.dart Task screen · database.dart Task persistence · flutter_window.cpp Flutter window · main.dart App startup
Components 16
Task app
- Task screen
lib/pages/home_page.dart - Task dialog
lib/components/dialog_box.dart - Task row
lib/components/todo_title.dart - Action button
lib/components/my_button.dart - App startup
lib/main.dart
Local storage
- Task persistence
lib/database/database.dart - Hive box
Platform hosts
- Android host
android/app/src/main/kotlin/com/example/todoapp/MainActivity.kt - iOS host
ios/Runner/AppDelegate.swift - Linux host
linux/runner/main.cc - Linux app shell
linux/runner/my_application.cc - Windows entry
windows/runner/main.cpp - Flutter window
windows/runner/flutter_window.cpp - Native window
windows/runner/win32_window.cpp - macOS host
macos/Runner/MainFlutterWindow.swift
Other components
- User
Connections 10
- User → Task screen: uses
README.md - Task screen → Task dialog: opens
README.md - Task screen → Task row: shows tasks
README.md - Task screen → Action button: uses actions
README.md - Task screen → Task persistence: loads and saves
README.md - App startup → Hive box: opens box
README.md - Task persistence → Hive box: persists tasks
README.md - Linux host → Linux app shell: starts
linux/runner/main.cc - Windows entry → Flutter window: creates
windows/runner/main.cpp - Flutter window → Native window: extends