⌂
›
Reference
›
ReorderableDragHandle
ReorderableDragHandle
ReorderableDragHandle control. Build it with the reorderable_drag_handle helper.
Example
reorderable_drag_handle(
content: text("ReorderableDragHandle"),
expand: true,
width: 240,
height: 120,
on_animation_end: ->(event) {}
)
Properties
adaptive— Adapts to the platform (Material/Cupertino) when true.content— The single child control rendered inside this control.mouse_cursor— Cursor shown when hovering the control.
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_size_change— Fired when the control's size changes.
Reference
- Family:
shared - Widget type:
reorderabledraghandle - Helper:
reorderable_drag_handle