⌂
›
Reference
›
CupertinoTimerPicker
CupertinoTimerPicker
CupertinoTimerPicker control. Build it with the cupertino_timer_picker helper.
Example
cupertino_timer_picker(
value: "Sample",
bgcolor: :surface_container_high,
expand: true,
width: 240,
on_change: ->(event) {}
)
Properties
alignment— Alignment of the content within the control.bgcolor— Background color.item_extentminute_intervalmodesecond_intervalvalue— The control's current value.
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_animation_end— Fired when an animation completes.on_change— Fired when the value changes.on_size_change— Fired when the control's size changes.
Reference
- Family:
cupertinos - Widget type:
cupertinotimerpicker - Helper:
cupertino_timer_picker