FindDropdown<T> class

Inheritance

Constructors

FindDropdown({Key? key, required FindDropdownChangedType<T> onChanged, String? label, TextStyle? labelStyle, List<T>? items, T? selectedItem, FindDropdownFindType<T>? onFind, FindDropdownBuilderType<T>? dropdownBuilder, FindDropdownItemBuilderType<T>? dropdownItemBuilder, bool showSearchBox = true, bool showClearButton = false, FindDropdownValidationType<T>? validate, InputDecoration? searchBoxDecoration, Color? backgroundColor, TextStyle? titleStyle, WidgetBuilder? emptyBuilder, WidgetBuilder? loadingBuilder, ErrorBuilderType? errorBuilder, BoxConstraints? constraints, bool? autofocus, int? searchBoxMaxLines, int? searchBoxMinLines, ButtonBuilderType? okButtonBuilder, bool labelVisible = true, @Deprecated("Use 'hintText' property from searchBoxDecoration") String? searchHint})
const
FindDropdown.multiSelect({Key? key, required FindDropdownMultipleItemsChangedType<T> onChanged, String? label, TextStyle? labelStyle, List<T>? items, List<T>? selectedItems, FindDropdownFindType<T>? onFind, FindDropdownMultipleItemsBuilderType<T>? dropdownBuilder, FindDropdownItemBuilderType<T>? dropdownItemBuilder, bool showSearchBox = true, bool showClearButton = false, FindDropdownValidationType<List<T>>? validate, InputDecoration? searchBoxDecoration, Color? backgroundColor, TextStyle? titleStyle, WidgetBuilder? emptyBuilder, WidgetBuilder? loadingBuilder, ErrorBuilderType? errorBuilder, BoxConstraints? constraints, bool? autofocus, int? searchBoxMaxLines, int? searchBoxMinLines, ButtonBuilderType? okButtonBuilder, bool labelVisible = true, @Deprecated("Use 'hintText' property from searchBoxDecoration") String? searchHint})
const

Properties

autofocus bool?
final
backgroundColor Color?
final
constraints BoxConstraints?
Max width: 90% of screen width Max height: 70% of screen height image image
final
final
final
final
emptyBuilder WidgetBuilder?
final
errorBuilder → ErrorBuilderType?
final
hashCode int
The hash code for this object.
no setterinherited
items List<T>?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label String?
final
labelStyle TextStyle?
final
labelVisible bool
final
loadingBuilder WidgetBuilder?
final
multipleSelectedItems List<T>?
final
okButtonBuilder → ButtonBuilderType?
final
onChanged FindDropdownChangedType<T>?
final
onFind FindDropdownFindType<T>?
final
onMultipleItemsChanged FindDropdownMultipleItemsChangedType<T>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchBoxDecoration InputDecoration?
image
final
searchBoxMaxLines int?
final
searchBoxMinLines int?
final
searchHint String?
final
selectedItem → T?
final
showClearButton bool
final
showSearchBox bool
image
final
titleStyle TextStyle?
image
final
validate FindDropdownValidationType<T>?
final
validateMultipleItems FindDropdownValidationType<List<T>>?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() FindDropdownState<T>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited