background method
Override to specify the background. This is rendered behind the body.
Implementation
Widget background(BuildContext context) {
return ColoredBox(
color: Theme.of(context).colorScheme.surface,
child: const SizedBox.expand(),
);
}