brightness

Function brightness 

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

P Adjust the widget colors brightness.

Zero removes all brightness, one is the original brightness.

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