FormItemDynamicLabeledDropdownField class

Inheritance
Implemented types

Constructors

FormItemDynamicLabeledDropdownField({TextEditingController? controller, required Map<String, String> items, String? labelText, String? lengthErrorText = "", Widget? prefix, Widget? suffix, void onSaved(String? key, String? value)?, double dropdownWidth = 100, bool dense = false, Color? backgroundColor, Color? dropdownColor, void onChanged(String? key, String? value)?, bool enabled = true, List<String> suggestion = const [], String validator(String? key, String? value)?, String separator = ":", TextInputType keyboardType = TextInputType.text, int? maxLength, int? minLength, int? maxLines, int minLines = 1, void onDeleteSuggestion(String value)?, bool allowEmpty = false, String? hintText, bool readOnly = false, bool obscureText = false, String? counterText = ""})
const

Properties

allowEmpty bool
final
backgroundColor Color?
final
controller TextEditingController?
final
counterText String?
final
dense bool
final
final
final
enabled bool
final
hashCode int
The hash code for this object.
no setterinherited
hintText String?
final
items Map<String, String>
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType
final
labelText String?
final
lengthErrorText String?
final
maxLength int?
final
maxLines int?
final
minLength int?
final
minLines int
final
obscureText bool
final
onChanged → (void Function(String? key, String? value)?)
final
onDeleteSuggestion → (void Function(String value)?)
final
onSaved → (void Function(String? key, String? value)?)
final
prefix Widget?
final
readOnly bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separator String
final
suffix Widget?
final
suggestion List<String>
final
validator → (String Function(String? key, String? value)?)
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
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

Static Methods

value(String key, String value) String