FilterCategory class

A filter category.

Constructors

FilterCategory(String identifier, String name, {List<Filter> items, String thumbnailUri})
Creates a new FilterCategory.
FilterCategory.existing(String identifier, {List<Filter> items})
Retrieves an existing FilterCategory with the given identifier. You can further modify which existing items should be included.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
identifier String
The identifier of the item.
final, inherited
items List<Filter>
Items of the category which can be existing or new defined filters. If null an empty category will be created. [...]
final
name String
The name of the item.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnailUri String
The source for the thumbnail image of the filter. This should either be the full path, a uri or if it is an asset the relative path as specified in your pubspec.yaml file. If null the category will not have a thumbnail image which won't be required if flattenCategories is enabled for the Tool.filter. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited