tutorialEntrysList method Null safety

Widget tutorialEntrysList(
  1. AppModel app,
  2. BuildContext context,
  3. List<TutorialEntryModel> values,
  4. TutorialEntryListChanged trigger
)

Implementation

static Widget tutorialEntrysList(AppModel app, BuildContext context,
    List<TutorialEntryModel> values, TutorialEntryListChanged trigger) {
  TutorialEntryInMemoryRepository inMemoryRepository =
      TutorialEntryInMemoryRepository(
    trigger,
    values,
  );
  return MultiBlocProvider(
    providers: [
      BlocProvider<TutorialEntryListBloc>(
        create: (context) => TutorialEntryListBloc(
          tutorialEntryRepository: inMemoryRepository,
        )..add(LoadTutorialEntryList()),
      )
    ],
    child: TutorialEntryListWidget(app: app, isEmbedded: true),
  );
}