MacosOverlayFilter constructor
const
MacosOverlayFilter({
- Key? key,
- required Widget child,
- required BorderRadius borderRadius,
- 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,
});