8f7d870985
- Remove nested Scaffold from ScoringPage (now uses LayoutBuilder) - Use proper constraint-based height calculation instead of MediaQuery - Maintain score preservation across navigation without nested scaffolds - Fix viewport architecture to work within MainNavigationPage body - Minor keypad layout adjustment (77%/23% flex ratio) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
586 B
Dart
25 lines
586 B
Dart
import 'package:flutter/material.dart';
|
|
import 'presentation/pages/main_navigation_page.dart';
|
|
|
|
void main() {
|
|
runApp(const ArcheryScorerApp());
|
|
}
|
|
|
|
class ArcheryScorerApp extends StatelessWidget {
|
|
const ArcheryScorerApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Archery scorer',
|
|
theme: ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: Colors.green,
|
|
brightness: Brightness.light,
|
|
),
|
|
useMaterial3: true,
|
|
),
|
|
home: const MainNavigationPage(),
|
|
);
|
|
}
|
|
} |