getIt static method
Implementation
static Widget getIt(
BuildContext context,
AppModel app,
MenuDefModel menuDefModel,
) {
return BlocProvider<MenuDefCreateBloc>(
create: (context) => MenuDefCreateBloc(
app,
menuDefModel,
)..add(MenuDefCreateInitialiseEvent(menuDefModel)),
child: MenuDefCreateWidget._(
app: app,
),
);
}