child property
Convenience constructor for the common pattern of a background behind content.
This eliminates the boilerplate of manually creating a Stack with Positioned.fill widgets. It's equivalent to:
LiquidGlassScope(
child: Stack(
children: [
Positioned.fill(
child: GlassBackgroundSource(child: background),
),
Positioned.fill(child: content),
],
The child widget to display.
Implementation
final Widget child;