⌂
›
Reference
›
CupertinoDatePicker
CupertinoDatePicker
CupertinoDatePicker control. Build it with the cupertino_date_picker helper.
Example
cupertino_date_picker(
value: "Sample",
bgcolor: :surface_container_high,
expand: true,
width: 240,
on_change: ->(event) {}
)
Properties
bgcolor— Background color.date_orderdate_picker_modefirst_dateitem_extentlast_datelocalemaximum_yearminimum_yearminute_intervalshow_day_of_weekuse_24h_formatvalue— 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:
cupertinodatepicker - Helper:
cupertino_date_picker