import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:lba/screens/auth/onboarding.dart'; import 'package:lba/screens/auth/cubit/auth_cubit.dart'; void main() { runApp( BlocProvider( create: (context) => AuthCubit(), child: const MyApp(), ), ); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'LBA', theme: ThemeData( fontFamily: 'Roboto', scaffoldBackgroundColor: Colors.white, primaryColor: const Color.fromARGB(255, 14, 63, 102), buttonTheme: const ButtonThemeData( buttonColor: Color.fromARGB(255, 14, 63, 102), ), appBarTheme: const AppBarTheme( backgroundColor: Color.fromARGB(255, 14, 63, 102), ), dialogTheme: DialogTheme( backgroundColor: Colors.white, ), dropdownMenuTheme: DropdownMenuThemeData( menuStyle: MenuStyle( backgroundColor: MaterialStatePropertyAll(Colors.white), ), ), inputDecorationTheme: const InputDecorationTheme( labelStyle: TextStyle(color: Colors.black), hintStyle: TextStyle(color: Colors.grey), enabledBorder: OutlineInputBorder( borderSide: BorderSide(color: Colors.grey), ), focusedBorder: OutlineInputBorder( borderSide: BorderSide(color: Color.fromARGB(255, 14, 63, 102), width: 2), ), ), ), home: const OnboardingScreen(), ); } }