DataSource class abstract

Implementers

Constructors

DataSource({String? id, int searchDelay = 300, bool allowExport = false, bool supportPaginate = false, bool supportSingleLineFilter = false, bool allowOnSubmittSearch = false})

Properties

allowExport bool
Indica se será permitido exportar dessa fonte ou não
finalinherited
allowOnSubmittSearch bool
Indica se a pesquisa pode ser efetuada após alguma confirmação, como após apertar enter (desktop).
getter/setter pairinherited
context → ReactiveContext
Override this method to use a custom context.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
Indica a chave (id) dessa fonte de dados
finalinherited
listData ↔ ObservableList<ItemSelectTable>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchDelay int
Indica o tempo de delay (em ms) entre a digitação do usuário e a busca dos dados É util para econimizar banda
finalinherited
supportPaginate bool
Indica se a fonte suporta paginação
getter/setter pairinherited
supportSingleLineFilter bool
Indica suporte a filtros por coluna
getter/setter pairinherited

Methods

clear() Future
inherited
convertFiltersToLowerCase(GroupFilterExp? filter) GroupFilterExp?
inherited
exportData(SelectModel selectModel, bool onlyFiltered, GroupFilterExp filter, String text, TypeSearch typeSearch) Future
inherited
filterByTypeSearch(TypeSearch typeSearch, dynamic value, dynamic text) bool
inherited
generateList(List<Map<String, dynamic>> data, int offset, SelectModel selectModel) List<ItemSelectTable>
inherited
getList(int limit, int offset, SelectModel? selectModel, {Map? data, bool refresh = false, ItemSort? itemSort, GroupFilterExp? filter}) Future<Stream<ResponseDataDataSource>>
inherited
getListSearch(String text, int limit, int offset, SelectModel? selectModel, {Map? data, bool? refresh, TypeSearch typeSearch = TypeSearch.CONTAINS, ItemSort? itemSort}) Future<Stream<ResponseDataDataSource>>
inherited
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