Complete refactor to clean up project

This commit is contained in:
2026-02-04 11:36:02 +01:00
parent 4f380b5444
commit 704bd0b928
29 changed files with 2057 additions and 1464 deletions

23
lib/app.dart Normal file
View File

@@ -0,0 +1,23 @@
import 'package:flutter/material.dart';
import 'features/auth/login_page.dart';
/// Global route observer for tracking navigation events.
///
/// Used by pages that need to respond to navigation changes
final RouteObserver<ModalRoute> routeObserver = RouteObserver<ModalRoute>();
/// The main Sheetless application widget.
class SheetlessApp extends StatelessWidget {
const SheetlessApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Sheetless',
theme: ThemeData(useMaterial3: true, colorSchemeSeed: Colors.blue),
home: const LoginPage(),
navigatorObservers: [routeObserver],
);
}
}