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<FromJsonBloc>(
create: (context) => FromJsonBloc(
app,
member,
)..add(FromJsonInitialise()),
child: NewFromJsonCreateWidget._(
app: app,
widgetWidth: widgetWidth,
widgetHeight: widgetHeight,
),
);
}