NiceBaseListConfigData<D> class

Config that will be used to determine the behavior of the base list.

Constructors

NiceBaseListConfigData({required NiceBaseListDataFilterProvider<D> dataFilterProvider, int pageSize = 20, int initialPage = 0, List<NiceFilterOrderModel>? initialOrder, NiceFilterQueryModel? initialQuery, NiceFilterSearchModel? initialSearch, bool autoLoad = true, NiceBaseListMode mode = NiceBaseListMode.InfiniteScroll})
const

Properties

autoLoad bool
Whether the base list should autoload on initialization. Defaults to true.
final
dataFilterProvider NiceBaseListDataFilterProvider<D>
Provider that will be used to provide values.
final
hashCode int
The hash code for this object.
no setterinherited
initialOrder List<NiceFilterOrderModel>?
Initial list of NiceFilterOrderModel. Order will be applied in the same order as the array
final
initialPage int
Initial page of the base list. In most cases, this should be left to the default value of 0.
final
initialQuery NiceFilterQueryModel?
Initial NiceFilterQueryModel.
final
initialSearch NiceFilterSearchModel?
Initial NiceFilterSearchModel.
final
mode NiceBaseListMode
The NiceBaseListMode that is going to be used by the base list. Defaults to NiceBaseListMode.InfiniteScroll.
final
pageSize int
Page size of the base list. Defaults to 20.
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