MultiselectBuilder class Null safety

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. [...]
read-only, inherited
maxValues int?
Maximum numbers of options that can be chosen Default: 1, min: 1, max: 25
read / write
minValues int?
Minimum number of options that can be chosen. Default: 1, min: 1, max: 25
read / write
options List<MultiselectOptionBuilder>
Max: 25
final
placeholder String?
Custom placeholder when nothing selected
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type ComponentType
Type of component
read-only, override

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 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