goMain static method
Implementation
static goMain(BuildContext context) =>
Navigator.of(context).pushAndRemoveUntil(
MaterialPageRoute(
builder: (_) {
return MultiBlocProvider(
providers: [
BlocProvider(create: (context) => MainBloc()),
],
child: const MainPage(),
);
},
),
(route) => false,
);