getIt static method
Widget
getIt(
- BuildContext context,
- MemberModel member,
- AppModel app,
- double widgetWidth,
- double widgetHeight,
Implementation
static Widget getIt(BuildContext context, MemberModel member, AppModel app,
double widgetWidth, double widgetHeight) {
return BlocProvider<NewAppCreateBloc>(
create: (context) => NewAppCreateBloc()
..add(NewAppCreateEventInitialise('YOUR_APP_ID', member)),
child: NewAppCreateWidget._(
app: app,
widgetWidth: widgetWidth,
widgetHeight: widgetHeight,
),
);
}