DragWidgetBuilderV2 class
Constructors
-
DragWidgetBuilderV2({bool isScreenshotDragWidget = false, required Widget builder(int index, Widget child, ImageProvider<
Object> ? screenshot)})
Properties
-
builder
→ Widget Function(int index, Widget child, ImageProvider<
Object> ? screenshot) -
screenshot
will not null if you provide isTakeScreenshotDragWidget = ture.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isScreenshotDragWidget → bool
-
if ture, will create a screenshot fo the drag widget
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createByOldBuilder9(
DragWidgetBuilder? oldBuilder) → DragWidgetBuilderV2? - a helper method to covert deprecated build to current builder