c57418ea8b
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>
25 lines
602 B
Dart
25 lines
602 B
Dart
import 'package:flutter/material.dart';
|
|
import 'presentation/pages/main_navigation_page.dart';
|
|
|
|
void main() {
|
|
runApp(const ArcheryBookkeeperApp());
|
|
}
|
|
|
|
class ArcheryBookkeeperApp extends StatelessWidget {
|
|
const ArcheryBookkeeperApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Archery Bookkeeper',
|
|
theme: ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: Colors.green,
|
|
brightness: Brightness.light,
|
|
),
|
|
useMaterial3: true,
|
|
),
|
|
home: const MainNavigationPage(),
|
|
);
|
|
}
|
|
} |