MultiselectBuilder class

Allows to create multi select interactive components.

Inheritance

Constructors

MultiselectBuilder(String customId, [Iterable<MultiselectOptionBuilder>? options])
Creates instance of MultiselectBuilder

Properties

customId String
Max: 100 characters
final
hashCode int
The hash code for this object.
no setterinherited
maxValues int?
Maximum numbers of options that can be chosen Default: 1, min: 1, max: 25
getter/setter pair
minValues int?
Minimum number of options that can be chosen. Default: 1, min: 1, max: 25
getter/setter pair
options List<MultiselectOptionBuilder>
Max: 25
final
placeholder String?
Custom placeholder when nothing selected
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type → ComponentType
Type of component
no setteroverride

Methods

addOption(MultiselectOptionBuilder builder) → void
Adds option to dropdown
build() Map<String, dynamic>
Returns built response for api
override
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