import 'package:cb_prestige_qr/features/auth/presentation/pages/login_page.dart'; import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; void main() { WidgetsFlutterBinding.ensureInitialized(); runApp(const ProviderScope(child: MyApp())); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'CB Prestige Banking', debugShowCheckedModeBanner: false, theme: ThemeData( useMaterial3: true, colorScheme: ColorScheme.fromSeed( seedColor: const Color(0xff896e4b), brightness: Brightness.dark, ), scaffoldBackgroundColor: const Color(0xff25262b), appBarTheme: const AppBarTheme( backgroundColor: Color(0xff896e4b), foregroundColor: Colors.white, surfaceTintColor: Colors.transparent, ), inputDecorationTheme: InputDecorationTheme( filled: true, fillColor: const Color(0xff2a2b31), labelStyle: const TextStyle(color: Colors.white70), hintStyle: const TextStyle(color: Colors.white38), prefixIconColor: Colors.white70, border: OutlineInputBorder( borderRadius: BorderRadius.circular(18), borderSide: BorderSide.none, ), enabledBorder: OutlineInputBorder( borderRadius: BorderRadius.circular(18), borderSide: BorderSide(color: Colors.white.withOpacity(0.06)), ), focusedBorder: OutlineInputBorder( borderRadius: BorderRadius.circular(18), borderSide: const BorderSide(color: Color(0xff896e4b), width: 1.2), ), errorBorder: OutlineInputBorder( borderRadius: BorderRadius.circular(18), borderSide: const BorderSide(color: Colors.redAccent), ), focusedErrorBorder: OutlineInputBorder( borderRadius: BorderRadius.circular(18), borderSide: const BorderSide(color: Colors.redAccent), ), ), ), home: const LoginPage(), ); } }