defaultLoadingOverlay property

Widget Function()? defaultLoadingOverlay
getter/setter pair

Drawn over content that is still on screen: the RouteSnapshot once the destination claims it, and the view during loading(style: overlay). Null uses DefaultLoadingOverlay, a dimmed scrim with a centred spinner. Keep a replacement translucent so the content underneath shows through.

Implementation

late Widget Function()? defaultLoadingOverlay;