getIt static method

Widget getIt(
  1. BuildContext context,
  2. AppModel app,
  3. bool create,
  4. double widgetWidth,
  5. double widgetHeight,
  6. AlbumEntryModel listedItemModel,
  7. AlbumEntryModelCallback listedItemModelCallback,
  8. int containerPrivilege,
)

Implementation

static Widget getIt(
    BuildContext context,
    AppModel app,
    bool create,
    double widgetWidth,
    double widgetHeight,
    AlbumEntryModel listedItemModel,
    AlbumEntryModelCallback listedItemModelCallback,
    int containerPrivilege) {
  var copyOf = listedItemModel.copyWith();
  return AlbumEntryModelWidget._(
    app: app,
    create: create,
    widgetWidth: widgetWidth,
    widgetHeight: widgetHeight,
    listedItemModel: copyOf,
    listedItemModelCallback: listedItemModelCallback,
    containerPrivilege: containerPrivilege,
  );
}