mirrored_repositories/Flutter-BottomNavigationBar-With-BLOC/bottom_navigation_bar_cubit
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';

import 'package:bottom_navigation_bar_cubit/widget/main_wrapper.dart';
import 'package:bottom_navigation_bar_cubit/bloc/bottom_nav_cubit.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Bottom NavigationBar with Cubit',
      home: BlocProvider(
        create: (context) => BottomNavCubit(),
        child: const MainWrapper(),
      ),
    );
  }
}
