MultiSelectElement class

Constructors

MultiSelectElement(List<String> options, { List<String> values: null, String label: null, bool required: false, int max: -1, Element container: null, callback onChange: null, callback on_option_click: null })

Properties

disabled bool
write-only
id ↔ dynamic
read / write
onChange callback
write-only
options String
Set selected options based on name, comma separated string
write-only
pairs → Map<String, String>
read-only
required ↔ dynamic
read / write
valid → bool
read-only
value ↔ String
Comma separated string (",, ")
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addOption(String title, String value) → void
cleanValues() → void
\brief Removes any values that aren't in the options
clearOptions([bool refresh_value = true ]) → void
focus() → void
hideAllOptionsExcept(List<String> values) → void
nameOf(String value) → String
nameOfSelected(String value) → String
showAllOptions() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited