CascadingDropdown<K, T> class
Constructors
-
CascadingDropdown.multi({required Widget builder(MenuController controller), required CompositeGroup<K, T> options, double? maxHeight, Set<K> selectedKeys = const {}, void onChanged(Set<K> values)?, bool alignStart = true, bool isExpanded = false, Widget displayWidgetForOption(T? it) = defaultWidgetForOption, bool closeOnActivate = false, bool showLeading = true, Widget valueBuilder(CompositeGroup<K, T>? parentNode, CompositeValue<K, T> compositeValue, double width)?, Widget groupBuilder(CompositeGroup<K, T>? parentNode, CompositeGroup<K, T> compositeGroup, List<Widget> mappedChildren, double width)?, Key? key})
-
-
CascadingDropdown.single({required Widget builder(MenuController controller), required CompositeGroup<K, T> options, double? maxHeight, K? selectedKey, void onChanged(K? value)?, bool alignStart = true, bool isExpanded = false, Widget displayWidgetForOption(T? it) = defaultWidgetForOption, bool closeOnActivate = true, bool showLeading = true, Widget valueBuilder(CompositeGroup<K, T>?, CompositeValue<K, T>, double width)?, Widget groupBuilder(CompositeGroup<K, T>?, CompositeGroup<K, T>, List<Widget>, double width)?, Key? key})
-
Properties
-
alignStart
→ bool
-
final
-
allowMultiple
→ bool
-
final
-
builder
→ Widget Function(MenuController controller)
-
final
-
groupBuilder
→ Widget Function(CompositeGroup<K, T>? parentNode, CompositeGroup<K, T> compositeGroup, List<Widget> mappedChildren, double width)
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isExpanded
→ bool
-
final
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
maxHeight
→ double?
-
final
-
options
→ CompositeGroup<K, T>
-
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedKeys
→ Set<K>
-
final
-
valueBuilder
→ Widget Function(CompositeGroup<K, T>? parentNode, CompositeValue<K, T> compositeValue, double width)
-
final