zng_wgt_checkerboard

Function colors

source
pub fn colors(child: impl UiNode, colors: impl IntoVar<Colors>) -> impl UiNode
Expand description

P Set both checkerboard colors.

The values are the interchanging colors for a given color scheme, for example in the dark color scheme the (colors[0].dark, colors[1].dark) colors are used.

This property sets COLORS_VAR for all inner checkerboard widgets.