GlassAntiFlicker constructor

const GlassAntiFlicker({
  1. Key? key,
  2. required AntiFlickerDirection direction,
})

Creates a GlassAntiFlicker widget for edge smoothing in glass effects.

The direction is required to set the gradient's fade path, enabling precise control for Glass boundaries in layouts like BasicCard or Section. This const constructor ensures zero-cost instantiation and integration with ArcaneTheme for background color matching.

Implementation

const GlassAntiFlicker({super.key, required this.direction});