build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Positions the child FAB in the bottom-right corner of the parent widget using Align for alignment and PaddingAll for 8-pixel padding on all sides, providing a standard socket for components like Fab, FabMenu, or FabGroup without additional layout complexity.

Implementation

@override
Widget build(BuildContext context) => Align(
      alignment: Alignment.bottomRight,
      child: PaddingAll(
        padding: 8,
        child: child,
      ),
    );