container method
Widget
container(
- AppModel app,
- BuildContext context,
- Widget child,
- FormAction formAction,
override
Implementation
@override
Widget container(
AppModel app, BuildContext context, Widget child, FormAction formAction) {
var decoration = ((formAction == FormAction.showData) ||
(formAction == FormAction.showPreloadedData))
? null
: BoxDecorationHelper.boxDecoration(
app,
AccessBloc.getState(context).getMember(),
_monaStyle.monaStyleAttributesModel.formBackground);
return Container(
clipBehavior: (decoration == null) ? Clip.none : Clip.hardEdge,
color: ((formAction == FormAction.showData) ||
(formAction == FormAction.showPreloadedData))
? Colors.transparent
: null,
decoration: decoration,
padding: const EdgeInsets.symmetric(vertical: 0.0, horizontal: 20.0),
child: child);
}