⌂
›
Reference
›
Option
Option
Option control. Build it with the dropdown_option helper.
Example
dropdown_option("ruby", text: "Ruby")
Properties
alignment— Alignment of the content within the control.content— The single child control rendered inside this control.text— Text content of the control.text_style— Text style.
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_click— Fired when the control is clicked/tapped.
Reference
- Family:
materials - Widget type:
option - Helper:
dropdown_option