-
Notifications
You must be signed in to change notification settings - Fork 0
Pages
domai-tb edited this page Jul 6, 2026
·
2 revisions
Demonstrates:
- A scrollable page built with
ListView(notListView.builder) - Buttons and placeholder actions
- Pull-to-refresh and scroll-to-top behavior
Files:
lib/pages/page5/page5_page.dartlib/pages/page5/page5_usecases.dartlib/pages/page5/page5_repository.dartlib/pages/page5/page5_datasource.dart
Demonstrates:
- A simple menu list
- Navigation to Settings and About sub-pages
The Settings screen also demonstrates:
- Theme selection
- Language selection (English/German/System)
- A persisted onboarding flag
Files:
lib/pages/page6/page6_page.dartlib/pages/page6/page6_settings_page.dartlib/pages/page6/page6_about_page.dart
Demonstrates:
- Loading placeholder items through
Usecases - Pull-to-refresh
- A search UI
- Navigating to a detail page
- A scroll-to-top floating action button
Files:
lib/pages/page1/page1_page.dartlib/pages/page1/page1_detail_page.dartlib/pages/page1/page1_usecases.dartlib/pages/page1/page1_repository.dartlib/pages/page1/page1_datasource.dart
Demonstrates:
- A simple list with placeholder content
- Pull-to-refresh and scroll-to-top behavior
Files:
lib/pages/page3/page3_page.dartlib/pages/page3/page3_usecases.dartlib/pages/page3/page3_repository.dartlib/pages/page3/page3_datasource.dart
Demonstrates:
- Another list page variant
- Placeholder rows with a trailing value
- Pull-to-refresh and scroll-to-top behavior
Files:
lib/pages/page4/page4_page.dartlib/pages/page4/page4_usecases.dartlib/pages/page4/page4_repository.dartlib/pages/page4/page4_datasource.dart
Demonstrates:
- A list-style page with pull-to-refresh
- Using localization for the page title
- Scroll-to-top FAB support for long lists
Files:
lib/pages/page2/page2_page.dartlib/pages/page2/page2_usecases.dartlib/pages/page2/page2_repository.dartlib/pages/page2/page2_datasource.dart
The template contains 6 placeholder tabs. Each tab demonstrates the same basic pattern:
- UI in
lib/pages/pageN/pageN_page.dart - A
DataSourcethat simulates I/O - A
Repositorythat wraps the datasource - A
Usecasesclass that the UI calls
Replace page1 to page6 with your actual features, keeping the folder structure if it works for your team.