floatingActionButton method

  1. @override
Widget floatingActionButton(
  1. AppModel app,
  2. BuildContext context,
  3. String heroTag,
  4. Widget child, {
  5. VoidCallback? onPressed,
})
override

Implementation

@override
Widget floatingActionButton(
    AppModel app, BuildContext context, String heroTag, Widget child,
    {VoidCallback? onPressed}) {
  return FloatingActionButton(
      heroTag: heroTag,
      foregroundColor: RgbHelper.color(
          rgbo: _monaStyle
              .monaStyleAttributesModel.floatingButtonForegroundColor),
      backgroundColor: RgbHelper.color(
          rgbo: _monaStyle
              .monaStyleAttributesModel.floatingButtonBackgroundColor),
      child: child,
      onPressed: onPressed);
}