FilterHelper class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
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
Static Methods
-
compareAnd(bool? a, bool? b)
→ bool?
-
'and' comparison with null values
-
compareByFilterType({required PlutoFilterType filterType, required String base, required String search, required PlutoColumn column})
→ bool
-
Compare
base
and search
with PlutoFilterType.compare.
-
compareContains({required String? base, required String? search, required PlutoColumn column})
→ bool
-
Whether
search
is contains in base
.
-
compareEndsWith({required String? base, required String? search, required PlutoColumn column})
→ bool
-
Whether
base
ends with search
.
-
compareEquals({required String? base, required String? search, required PlutoColumn column})
→ bool
-
Whether
search
is equals to base
.
-
compareGreaterThan({required String? base, required String? search, required PlutoColumn column})
→ bool
-
-
compareGreaterThanOrEqualTo({required String? base, required String? search, required PlutoColumn column})
→ bool
-
-
compareLessThan({required String? base, required String? search, required PlutoColumn column})
→ bool
-
-
compareLessThanOrEqualTo({required String? base, required String? search, required PlutoColumn column})
→ bool
-
-
compareOr(bool? a, bool b)
→ bool
-
'or' comparison with null values
-
compareStartsWith({required String? base, required String? search, required PlutoColumn column})
→ bool
-
Whether
base
starts with search
.
-
convertRowsToFilter(List<PlutoRow?> rows, List<PlutoColumn>? enabledFilterColumns)
→ FilteredListFilter<PlutoRow?>?
-
Converts rows containing filter information into comparison functions.
-
convertRowsToMap(List<PlutoRow> filterRows, {String allField = 'all'})
→ Map<String, List<Map<String, String>>>
-
Converts List
-
createFilterRow({String? columnField, PlutoFilterType? filterType, String? filterValue})
→ PlutoRow
-
Create a row to contain filter information.
-
Opens a pop-up for filtering.
-
isFilteredColumn(PlutoColumn column, List<PlutoRow?>? filteredRows)
→ bool
-
Whether
column
is included in filteredRows
.