getIt static method
Widget
getIt(
- BuildContext context,
- AppModel app,
- bool create,
- double widgetWidth,
- double widgetHeight,
Implementation
static Widget getIt(BuildContext context, AppModel app, bool create,
double widgetWidth, double widgetHeight) {
return BlocProvider<AppCreateBloc>(
create: (context) => AppCreateBloc(app.documentID, app)
..add(AppCreateEventValidateEvent(app)),
child: AppCreateWidget._(
app: app,
create: create,
widgetWidth: widgetWidth,
widgetHeight: widgetHeight,
),
);
}