yourWidget method
Implementation
@override
Widget yourWidget(BuildContext context, InviteDashboardModel? value) {
return BlocBuilder<AccessBloc, AccessState>(
builder: (context, accessState) {
if (accessState is AccessDetermined) {
var member = accessState.getMember();
var appId = app.documentID;
return topicContainer(app, context, children: [
BlocProvider<MemberPublicInfoListBloc>(
create: (context) => MemberPublicInfoListBloc(
eliudQuery: getSubscribedMembers(appId),
memberPublicInfoRepository:
memberPublicInfoRepository(appId: appId)!,
)..add(LoadMemberPublicInfoList()),
child: simpleTopicContainer(app, context, children: [
MemberPublicInfoListWidget(
app: app,
readOnly: true,
widgetProvider: (v) => widgetProvider(app, v, member, value!),
listBackground: BackgroundModel())
]),
)
]);
} else {
return progressIndicator(app, context);
}
});
}