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],
    );
  }
}
