SmoothCategoryDisplay<T extends Object> class Null safety

A widget used to display a list of categories (or other items) as a wrapped list of chips.

If onDeleted is supplied, chips can be deleted, and onDeleted will be called when they are.

Constructors

SmoothCategoryDisplay({Set<T>? categories, dynamic onDeleted})

Properties

categories Set<T>
The set of categories to display. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
onDeleted → dynamic
If supplied this will enable the category chips to be deleted (displaying a delete icon), and if they are, this function will be called.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createState() → dynamic
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