foreground method

Widget foreground(
  1. BuildContext context
)

Override to specify the foregound. This is rendered over the body.

Tip: Use an IgnorePointer when creating non-interactive overlays.

Implementation

Widget foreground(BuildContext context) {
  return const IgnorePointer(
    child: SizedBox.expand(),
  );
}