background method

Widget background(
  1. BuildContext context
)

Override to specify the background. This is rendered behind the body.

Implementation

Widget background(BuildContext context) {
  return Container(
    color: Theme.of(context).colorScheme.surface,
  );
}