DropDownTextField class

Inheritance

Constructors

const
const

Properties

autovalidateMode → AutovalidateMode?
final
boxDecoration → BoxDecoration?
final
boxMargin → EdgeInsets?
final
checkBoxProperty → CheckBoxProperty?
customize checkbox property
final
clearIconProperty → IconProperty?
customize Clear icon size and color
final
clearOption → bool
by set clearOption=false to hide clear suffix icon button from textfield.
final
controller → dynamic
single and multiple dropdown controller. It must be type of SingleValueDropDownController or MultiValueDropDownController.
final
displayCompleteItem → bool
set displayCompleteItem=true, if you want show complete list of item in textfield else it will display like "number_of_item item selected"
final
customize dropdown icon size and color
final
Maximum number of dropdown item to display,default value is 6
final
dropDownList,List of dropdown values
final
define the radius of dropdown List ,default value is 12
final
enableSearch → bool
by setting enableSearch=true enable search option in dropdown,as of now this feature enabled only for single selection dropdown
final
hashCode → int
The hash code for this object.
no setterinherited
initialValue → dynamic
initial value ,if it is null or not exist in dropDownList then it will not display value.
final
isEnabled → bool
by setting isEnabled=false to disable textfield,default value true
final
isMultiSelection → bool
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType → TextInputType?
final
listPadding → ListPadding?
dropdown List item padding
final
listSpace → double
space between textfield and list ,default value is 0
final
listTextStyle → TextStyle?
dropdown list item text style
final
multiController → MultiValueDropDownController?
multi dropdown controller
final
onChanged → ValueSetter?
function,called when value selected from dropdown. for single Selection Dropdown it will return single DropDownValueModel object, and for multi Selection Dropdown ,it will return list of DropDownValueModel object,
final
padding → EdgeInsets?
final
readOnly → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchAutofocus → bool
by setting searchAutofocus=true to autofocus search textfield,only applicable if enableSearch=true, ///default value is false
final
searchDecoration → InputDecoration?
override default search decoration
final
searchFocusNode → FocusNode?
final
searchKeyboardType → TextInputType?
override default search keyboard type,only applicable if enableSearch=true,
final
searchShowCursor → bool?
by setting searchShowCursor=false to hide cursor from search textfield,only applicable if enableSearch=true,
final
searchTextStyle → TextStyle?
final
singleController → SingleValueDropDownController?
single dropdown controller,
final
submitButtonColor → Color?
multi dropdown submit button color
final
submitButtonText → String?
multi dropdown submit button text
final
submitButtonTextStyle → TextStyle?
multi dropdown submit button text style
final
textFieldDecoration → InputDecoration?
override default textfield decoration
final
textFieldFocusNode → FocusNode?
final
textStyle → TextStyle?
final
validator → FormFieldValidator<String>?
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<DropDownTextField>
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, int wrapWidth = 65}) → 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