GlassStopper constructor

const GlassStopper({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context
    ),
  3. bool stopping = false,
})

Creates a GlassStopper widget for scoped glass effect control.

The builder is required to define the content subtree affected by stopping. Use stopping to enable/disable effects, with false as default to maintain glass rendering. This constructor is const for performance in repeated builds.

Integrates well with ArcaneTheme for consistent disabled appearances and BasicCard for contained sections without blur overhead.

Implementation

const GlassStopper({super.key, required this.builder, this.stopping = false});