contrast

Function contrast 

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

P Adjust the widget colors contrast.

Zero removes all contrast, one is the original contrast.

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