SliverPrismReorderableList class

A SliverReorderableList that jumps as SliverPrismList does.

Inheritance

Constructors

SliverPrismReorderableList({Key? key, required IndexedWidgetBuilder itemBuilder, required int itemCount, required ReorderCallback? onReorderItem, ReorderItemProxyDecorator? proxyDecorator, double? itemExtent, double estimatedItemExtent = SliverPrismList.defaultEstimatedItemExtent})
const

Properties

autoScrollerVelocityScalar → double
The velocity scalar per pixel over scroll.
finalinherited
dragBoundaryProvider → ReorderDragBoundaryProvider?
A callback used to provide drag boundaries during drag-and-drop reordering.
finalinherited
estimatedItemExtent → double
final
findChildIndexCallback → ChildIndexGetter?
Called to find the new index of a child based on its key in case of reordering.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
itemBuilder → IndexedWidgetBuilder
Called, as needed, to build list item widgets.
finalinherited
itemCount → int
The number of items in the list.
finalinherited
itemExtent → double?
If non-null, forces the children to have the given extent in the scroll direction.
finalinherited
itemExtentBuilder → ItemExtentBuilder?
If non-null, forces the children to have the corresponding extent returned by the builder.
finalinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onReorder → ReorderCallback?
A callback used by the list to report that a list item has been dragged to a new location in the list and the application should update the order of the items.
finalinherited
onReorderEnd → void Function(int)?
A callback that is called when the dragged item is dropped.
finalinherited
onReorderItem → ReorderCallback?
A callback used by the list to report that a list item has been dragged to a new location in the list and the application should update the order of the items.
finalinherited
onReorderStart → void Function(int)?
A callback that is called when an item drag has started.
finalinherited
prototypeItem → Widget?
If non-null, forces the children to have the same extent as the given widget in the scroll direction.
finalinherited
proxyDecorator → ReorderItemProxyDecorator?
A callback that allows the app to add an animated decoration around an item when it is being dragged.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → SliverReorderableListState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited