CustomModificationEventWrapper<T> class
Descendant of ModificationEvent.
Provides a wrapper, and delegates all the logic using onExecute callback.
See also:
- Inheritance
-
- Object
- ModificationEvent<
T> - CustomModificationEventWrapper
Constructors
-
CustomModificationEventWrapper({required OnExecuteCustomEventCallback<
T> onExecute}) -
Creates a CustomModificationEventWrapper using given
onExecutecallback
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onExecute
→ OnExecuteCustomEventCallback<
T> -
It is expected that in the body of this callback, using provided
parameters, will be managed item list modification(-s) logic,
and animation(-s) of this/these modification(-s)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
{required TickerProvider vsync, required ItemsNotifier< T> itemsNotifier, required EventController<T> eventController, required ItemsAnimationController<DoubleAnimation> itemsAnimationController, required Type scrollViewType}) → Future<void> -
Method, that should contain all the logic of item list
modifications(inserting, deleting, moving, etc.), and animations, that
should be executed when an item is deleted/inserted.
override
-
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