grayscale

Function grayscale 

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

P Grayscale tone the widget.

Zero is the original colors, one if the full grayscale.

This property is a shorthand way of setting filter to Filter::new_grayscale using variable mapping.