background property
The background widget (e.g. an Image or gradient Container) that sits behind the app content and, optionally, provides colours for glass to absorb.
When null (the default), no background is rendered and the Scaffold
is not forced transparent — it renders with its own background color
as normal. This lets GlassPage be used purely for its anti-ghosting,
edge-to-edge, and status bar benefits, without needing a dummy background
widget.
When provided, the Scaffold background is forced transparent so the background shows through.
Implementation
final Widget? background;