AnimatedListController class
Use this controller to dispatch the changes of your list to the AnimatedSliverList.
Constructors
Properties
- adaptor → AnimatedRenderSliverList
-
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
dispatchChanges(
) → void - After notifying your changes, call this method in order to dispatch them to the AnimatedSliverList. Eventually the animations that follow will start.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
notifyChangedRange(
int from, int count, NullableIndexedWidgetBuilder changeItemBuilder) → void -
Notify the AnimatedSliverList that a range starting from
from
andcount
long has been modified. Call this method after actually you have updated your list. A new builderchangeItemBuilder
has to be provided in order to build the old items when animating. -
notifyInsertedRange(
int from, int count) → void -
Notify the AnimatedSliverList that a new range starting from
from
andcount
long has been inserted. Call this method after actually you have updated your list. -
notifyRemovedRange(
int from, int count, NullableIndexedWidgetBuilder removeItemBuilder) → void -
Notify the AnimatedSliverList that a range starting from
from
andcount
long has been removed. Call this method after actually you have updated your list. A new builderremoveItemBuilder
has to be provided in order to build the removed items when animating. -
notifyReplacedRange(
int from, int removeCount, int insertCount, NullableIndexedWidgetBuilder removeItemBuilder) → void -
Notify the AnimatedSliverList that a range starting from
from
andremoveCount
long has been replaced with a newinsertCount
long range. Call this method after you have updated your list. A new builderremoveItemBuilder
has to be provided in order to build the replaced items when animating. -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited