GridController<T> class
Constructors
-
GridController({required Future<
List> pageFetcher(), Duration? duration})
Properties
-
animatedIndex
→ ValueNotifier<
int> -
final
- duration ↔ Duration?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ ValueNotifier<
List> -
final
-
loading
→ ValueNotifier<
bool> -
final
-
pageFetcher
→ Future<
List> Function() -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addItem(
dynamic item) → dynamic -
addItems(
List itemList) → dynamic -
deleteItem(
{required T data, bool comparator(T t1, T t2)?}) → dynamic -
dispose(
) → dynamic -
fetchPage(
) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → dynamic -
showItem(
{required Widget item, required BuildContext context, required T data, bool comparator(T t1, T t2)?}) → dynamic -
tagOfItem(
{required T data, bool comparator(T t1, T t2)?}) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited