GlassBackdrop constructor

const GlassBackdrop({
  1. Key? key,
  2. required Widget background,
  3. required Widget child,
  4. double? pixelRatio,
  5. bool enabled = true,
})

Lays background under child and keeps a copy of it for glass to bend.

Implementation

const GlassBackdrop({super.key, required this.background, required this.child, this.pixelRatio, this.enabled = true});