FlexFilterController<F> class
Controller to use to be able to filter by column values. Be sure to dispose the filter when it is no longer required to prevent memory leaks.
Constructors
- FlexFilterController({required FlexTableController controller})
- Constructs the filter controller with the associated FlexTableController.
Properties
- controller → FlexTableController
-
Controller bound to the FlexTable to be able to apply filters to the
table.
final
- filterIndex → int?
-
The current column index where a filter is being applied. Will be if no
filter is being applied.
no setter
- filterValue → String?
-
The current value of the filter being applied. Will be null if no filter
is being applied.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
void> -
Returns the stream that can be listened to. The stream will have an
event applied whenever the filter is changed.
no setter
Methods
-
dispose(
) → void - Disposes the controller.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
int? index, String? value) → void -
Updates the filter and applies it to the FlexTable. The
indexis the index of the column to apply the filter to and thevalueis the value to use when applying the filter. Set both to null to remove the filter and cause the table to show all the rows.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited