⌂
›
Widgets
›
Color
Color
Color control. Build it with the canvas_color helper.
Example
canvas_color(
color: :blue_600
)
Properties
blend_mode— Sets the blend mode property.color— Foreground color.
Common layout and animation properties
data— Arbitrary value you can attach to the control and read back in handlers.key— Stable identity used to preserve state across rebuilds.
Reference
- Family:
shared - Widget type:
color - Helpers:
canvas_color,color