Add swipe-in side navigation with Main/Settings pages
Implements professional navigation structure with Material Design drawer: - MainNavigationPage: Central navigation hub with AppBar and Drawer - SettingsPage: Placeholder settings page for future configuration options - Drawer navigation: Swipe-in side menu with Main (Scorer) and Settings options - App title updates dynamically based on current page selection - Clean architecture separating navigation from scoring logic Navigation features: - Material Design drawer with branded header showing 'Archery Bookkeeper Alpha 0.1' - Icons for visual clarity (sports for scorer, settings for configuration) - Selected state highlighting for current page - Automatic drawer close on navigation selection - Professional app description in drawer footer Updated main.dart to use MainNavigationPage as entry point Modified ScoringPage to work as embedded page without its own AppBar Maintained all sophisticated end interaction behaviors within scoring context This establishes the foundation for additional pages and features while preserving the advanced scoring functionality implemented in the previous release. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'presentation/pages/scoring_page.dart';
|
||||
import 'presentation/pages/main_navigation_page.dart';
|
||||
|
||||
void main() {
|
||||
runApp(const ArcheryBookkeeperApp());
|
||||
@@ -19,7 +19,7 @@ class ArcheryBookkeeperApp extends StatelessWidget {
|
||||
),
|
||||
useMaterial3: true,
|
||||
),
|
||||
home: const ScoringPage(),
|
||||
home: const MainNavigationPage(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user