MacosOverlayFilter constructor

const MacosOverlayFilter({
  1. Key? key,
  2. required Widget child,
  3. required BorderRadius borderRadius,
  4. Color? color,
})

Applies a blur filter to its child to create a macOS-style "frosted glass" effect.

Used mainly for the overlays that appear from various macOS-style widgets, like the pull-down and pop-up buttons, or the search field.

Implementation

const MacosOverlayFilter({
  super.key,
  required this.child,
  required this.borderRadius,
  this.color,
});