How lucrilhos/constancia_app works
constancia. is a Flutter productivity app combining task management, daily streaks and points, social task comments, and Pomodoro-style focus/rest cycles. The documented user flow is registration, cycle selection, then the main dashboard; users can open task details and start a focus cycle, or browse board and blocked-task views. Screens initially use local sample tasks while Supabase data loads. The README describes these capabilities and relationships; source excerpts were limited to Android build configuration, so implementation-level calls cannot be verified.
Main entry points: constancia_screen.dart Dashboard · card_detail_screen.dart Task detail · supabase_service.dart Supabase service · cadastro_screen.dart Registration
Components 19
App experience
- Registration
lib/screens/cadastro_screen.dart - Cycle setup
lib/screens/onboarding_screen.dart - Dashboard
lib/screens/constancia_screen.dart - Screen shell
lib/screens/home_shell.dart - Settings
lib/screens/configuracoes_screen.dart
Task workflow
- Task board
lib/screens/board_screen.dart - Task detail
lib/screens/card_detail_screen.dart - Blocked tasks
lib/screens/travados_screen.dart - Task model
lib/models/task_card_model.dart
Focus and habits
- Focus timer
lib/screens/focus_cycle_screen.dart - Focus cycle
lib/models/focus_cycle.dart - Completion state
lib/data/task_completion.dart
Data and persistence
- Sample tasks
lib/data/sample_tasks.dart - User state
lib/data/app_user.dart - Cycle state
lib/data/app_cycle.dart - Supabase service
lib/data/supabase_service.dart - Database schema
supabase/schema.sql
Other components
- User
- Supabase
Connections 22
- User → Registration: registers
README.md - Registration → Cycle setup: continues to
README.md - Cycle setup → Dashboard: opens
README.md - User → Dashboard: uses
README.md - Dashboard → Task detail: opens card
README.md - Task detail → Focus timer: starts cycle
README.md - Dashboard → Task board: opens tab
README.md - Dashboard → Blocked tasks: opens tab
README.md - Dashboard → Settings: opens settings
README.md - Dashboard → Sample tasks: loads fallback
README.md - Task board → Sample tasks: loads fallback
README.md - Task detail → Sample tasks: loads fallback
README.md - Dashboard → Supabase service: fetches data
README.md - Task board → Supabase service: fetches data
README.md - Task detail → Supabase service: fetches data
README.md - Supabase service → Supabase: queries
README.md - Database schema → Supabase: defines tables
README.md - Focus timer → Focus cycle: uses cycle
- Focus timer → Completion state: marks task
README.md - Dashboard → Completion state: shares state
README.md - Registration → User state: stores name
README.md - Cycle setup → Cycle state: selects cycle
README.md