Function zng::widget::background_gradient
source ยท pub fn background_gradient(
child: impl UiNode,
axis: impl IntoVar<LinearGradientAxis>,
stops: impl IntoVar<GradientStops>,
) -> impl UiNode
Expand description
P
Linear gradient background.
This property applies a node::linear_gradient
as background
.