ReorderableBuilderItem class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ReorderableBuilderItem
Constructors
- ReorderableBuilderItem({required ReorderableEntity reorderableEntity, required Duration fadeInDuration, required ReturnReorderableEntityCallback onOpacityFinished, required ReorderableEntity? currentDraggedEntity, required Duration positionDuration, required ReturnReorderableEntityCallback onMovingFinished, required ReturnOnCreatedFunction onCreated, required ReleasedReorderableEntity? releasedReorderableEntity, required Offset scrollOffset, required Duration releasedChildDuration, required bool enableDraggable, required bool enableLongPress, required Duration longPressDelay, required BoxDecoration? dragChildBoxDecoration, required double feedbackScaleFactor, required ReorderableEntityCallback onDragStarted, required OnDragEndFunction onDragEnd, required ReorderableEntityCallback onDragCanceled, required Widget child, Key? key})
-
const
Properties
- child → Widget
-
The item that will be displayed in the GridView.
final
- currentDraggedEntity → ReorderableEntity?
-
Will be assigned after starting to drag.
final
- dragChildBoxDecoration → BoxDecoration?
-
BoxDecoration for the child that is dragged around.
final
- enableDraggable → bool
-
For ReorderableDraggable
final
- enableLongPress → bool
-
The drag of a child will be started with a long press.
final
- fadeInDuration → Duration
-
Duration for the fade in animation when child appears for the first time.
final
- feedbackScaleFactor → double
-
The scale factor applied to the feedback widget during a drag operation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- longPressDelay → Duration
-
Specify the Duration for the pressed child before starting the dragging.
final
- onCreated → ReturnOnCreatedFunction
-
For ReorderableInitChild
final
- onDragCanceled → ReorderableEntityCallback
-
Called after the dragged child was canceled, e.g. deleted.
final
- onDragEnd → OnDragEndFunction
-
Callback when the dragged child was released.
final
- onDragStarted → ReorderableEntityCallback
-
Callback when dragging starts.
final
- onMovingFinished → ReturnReorderableEntityCallback
-
Callback for the animation after moving the child.
final
- onOpacityFinished → ReturnReorderableEntityCallback
-
Called when the fade in animation was finished.
final
- positionDuration → Duration
-
For ReorderableAnimatedPositioned
final
- releasedChildDuration → Duration
-
Duration for the position animation when a dragged child was released.
final
- releasedReorderableEntity → ReleasedReorderableEntity?
-
For ReorderableAnimatedReleasedContainer
final
- reorderableEntity → ReorderableEntity
-
For ReorderableAnimatedOpacity
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollOffset → Offset
-
Current scrolling offset for vertical and horizontal scrolling.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ReorderableBuilderItem> -
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