MaterialSelectBase<T> class
abstract
A SelectionContainer implementation with an additional option for setting
the rendered list's width
.
Expected Properties:
selection
options
itemRenderer
width
Expected Binding:
HasRenderer
- Inheritance
-
- Object
- SelectionContainer<
T> - MaterialSelectBase
- Implemented types
- Implementers
Constructors
Properties
-
factoryRenderer
↔ FactoryRenderer<
RendersValue, T> ? -
Specifies the componentRenderer to use to determine the component for
rendering an item.
Specifies the factoryRenderer to use to determine the factory for
rendering an item.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMultiSelect → bool
-
no setter
- isSingleSelect → bool
-
no setter
-
itemRenderer
↔ ItemRenderer<
T> ? -
A simple function to render the an item to string.
@override
getter/setter pairinherited-setteroverride-getter
-
options
↔ SelectionOptions<
T> -
The available options for this container.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selection
↔ SelectionModel<
T> -
The selection model this container represents.
getter/setter pairinherited
- width ↔ int
-
Preset width, 1 through 5. By default, width #0 is used.
Each width multiplies the base block width (64px on desktop and tablet) by
1.5, 3, 5, 6, 7
, respectively to obtain a predictable width. Set to 0 to have the list expand to fit its content. Note: The spec clearly lays out predefined list sizes so use the default, expanding size, sparingly.getter/setter pairoverride-setter
Methods
-
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