builder method
Implementation
@override
Widget builder(BuildContext context) {
return StateUtils.instance.subscribeNotifierWidget<M>(model, (context, model) {
return Container(
alignment: model.isEmptyData ? Alignment.center : null,
padding: backgroundImage.isEmptyString ? padding : null,
decoration: BoxDecoration(
color: backgroundColor,
borderRadius: borderRadius,
),
child: _contentWidget(context),
);
});
}