actionContainer method

  1. @override
Widget actionContainer(
  1. AppModel app,
  2. BuildContext context, {
  3. required Widget child,
  4. double? height,
  5. double? width,
  6. BackgroundModel? backgroundOverride,
})
override

Implementation

@override
Widget actionContainer(
  AppModel app,
  BuildContext context, {
  required Widget child,
  double? height,
  double? width,
  BackgroundModel? backgroundOverride,
}) {
  return Container(
      width: width,
      height: height,
      clipBehavior: BoxDecorationHelper.determineClipBehaviour(
        app,
        null,
        backgroundOverride ??
            _monaStyle.monaStyleAttributesModel.actionContainerBackground,
      ),
      decoration: BoxDecorationHelper.boxDecoration(
        app,
        null,
        backgroundOverride ??
            _monaStyle.monaStyleAttributesModel.actionContainerBackground,
      ),
      margin: BoxDecorationHelper.determineMargin(
          app,
          null,
          backgroundOverride ??
              _monaStyle.monaStyleAttributesModel.actionContainerBackground),
      padding: BoxDecorationHelper.determinePadding(
          app,
          null,
          backgroundOverride ??
              _monaStyle.monaStyleAttributesModel.actionContainerBackground),
      child: child);
}