⌂
›
Reference
›
ReorderableListView
ReorderableListView
ReorderableListView control. Build it with the reorderable_list_view helper.
Example
reorderable_list_view(
expand: true,
width: 240,
height: 120,
on_animation_end: ->(event) {}
)
Properties
adaptive— Adapts to the platform (Material/Cupertino) when true.anchorauto_scrollauto_scroller_velocity_scalarbuild_controls_on_demandcache_extentclip_behavior— How content overflowing the bounds is clipped.controls— The list of child controls.divider_thicknessfirst_item_prototypefooterheaderhorizontalitem_extentmouse_cursor— Cursor shown when hovering the control.padding— Inner spacing between the border and the content.prototype_itemreversescrollscroll_intervalsemantic_child_countshow_default_drag_handlesspacing
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_reorder— Fired on reorder.on_reorder_end— Fired on reorder end.on_reorder_start— Fired on reorder start.on_scroll— Fired when the scroll position changes.on_size_change— Fired when the control's size changes.
Reference
- Family:
materials - Widget type:
reorderablelistview - Helper:
reorderable_list_view