ChangedPagingDataState<D> class

Inheritance

Constructors

ChangedPagingDataState({required PagingDataAction action, required D data, required int newPosition, bool focusToNewPosition = true, String? tag})
const

Properties

action PagingDataAction
final
data → D
In case PagingDataAction.create or PagingDataAction.edit it will be the latest data. In case PagingDataAction.delete it was the old data before deleting.
final
focusToNewPosition bool
Whether we should focus (jump to / animate to) on newPosition.
final
hashCode int
The hash code for this object.
no setterinherited
newPosition int
Position which we should focus on after doing action.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String
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