yourWidget method
Implementation
@override
Widget yourWidget(BuildContext context, DocumentModel? value) {
return BlocBuilder<AccessBloc, AccessState>(
builder: (context, accessState) {
if (accessState is AccessDetermined) {
return DocumentRendererTool().render(
app,
context,
accessState.getMember(),
value!.content!,
value.images,
value.background);
} else {
return progressIndicator(app, context);
}
});
}