getIt static method
Widget
getIt(
- BuildContext context,
- AppModel app,
- bool create,
- double widgetWidth,
- double widgetHeight,
- DocumentItemModel documentItemModel,
- DocumentItemModelCallback documentItemModelCallback,
- int containerPrivilege,
Implementation
static Widget getIt(
BuildContext context,
AppModel app,
bool create,
double widgetWidth,
double widgetHeight,
DocumentItemModel documentItemModel,
DocumentItemModelCallback documentItemModelCallback,
int containerPrivilege) {
var copyOf = documentItemModel.copyWith();
return DocumentItemModelWidget._(
app: app,
create: create,
widgetWidth: widgetWidth,
widgetHeight: widgetHeight,
documentItemModel: copyOf,
documentItemModelCallback: documentItemModelCallback,
containerPrivilege: containerPrivilege,
);
}