FilterOptions class
Configuration options for Tool.filter
.
Constructors
-
FilterOptions({List<
FilterCategory> ? categories, bool? flattenCategories}) - Creates new FilterOptions.
Properties
-
categories
→ List<
FilterCategory> ? -
Defines all available filters. Each filter must be assigned to a category.
New items and categories can be mixed and matched with existing ones.
none
is always added.final - flattenCategories → bool?
-
Whether categories should be flattened which effectively hides
the categories. If this is enabled all filters will be shown in
the top-level of the filter selection tool
ordered according to their parent category.
final
- 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited