yourWidget method
Implementation
@override
Widget yourWidget(BuildContext context, ShopFrontModel value) {
var appState = AccessBloc.getState(context);
if (appState is AccessDetermined) {
var widgets = <Widget>[];
if (value.title != null) {
widgets.add(h4(app, context, value.title!));
widgets.add(Utils.getSizedBox(height: 10));
}
if (value.description != null) {
widgets.add(text(app, context, value.description!));
widgets.add(Utils.getSizedBox(height: 10));
}
widgets.add(_grid(context, value));
return Utils.getShrinkedListView(app, context, widgets);
} else {
return Text('App not loaded');
}
}