backdrop_invert

Function backdrop_invert 

Source
pub fn backdrop_invert(
    child: impl IntoUiNode,
    amount: impl IntoVar<Factor>,
) -> UiNode
Expand description

P Inverts the colors of everything behind the widget.

Zero does not invert, one fully inverts.

This property is a shorthand way of setting backdrop_filter to Filter::new_invert using variable mapping.