# linksList method Null safety

Widget linksList(

1. AppModel app,
2. BuildContext context,
3. List<LinkModel> values,
4. LinkListChanged trigger

)

## Implementation

    static Widget linksList(AppModel app, BuildContext context,
        List<LinkModel> values, LinkListChanged trigger) {
      LinkInMemoryRepository inMemoryRepository = LinkInMemoryRepository(
        trigger,
        values,
      );
      return MultiBlocProvider(
        providers: [
          BlocProvider<LinkListBloc>(
            create: (context) => LinkListBloc(
              linkRepository: inMemoryRepository,
            )..add(LoadLinkList()),
          )
        ],
        child: LinkListWidget(app: app, isEmbedded: true),
      );
    }