BasicInputDropdownSelect<T> class

Inheritance

Constructors

BasicInputDropdownSelect({Key? key, String? name, required List<BasicInputDropdownItemModel<T>> filterOption(String, List<BasicInputDropdownItemModel<T>>), required List<BasicInputDropdownItemModel<T>> menuChildren, required dynamic onSelected(BasicInputDropdownItemModel<T>, List<BasicInputDropdownItemModel<T>>), bool tagsAbleScroll = false, bool closeDropdownAfterSelect = true, TextEditingController? searchController, String hintTextSearch = 'Search', Widget? prefixIconSearch, Color? backgroundColorSelected, Widget? iconSelected, Offset? offset, double? maxHeightPopup, double? minHeightPopup, double? maxWidthPopup, double? minWidthPopup, BasicInputSize? size, double? width, String? initialValue, TextEditingController? controller, FocusNode? focusNode, dynamic onFocusChange(bool)?, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextInputAction? textInputAction, TextInputType? keyboardType, int maxLines = 1, int? minLines, int? maxLength, bool enabled = true, bool obscureText = false, EdgeInsets? scrollPadding, Color? cursorColor, AutovalidateMode? autoValidateMode, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, ValueChanged<String?>? onChanged, GestureTapCallback? onTap, VoidCallback? onEditingComplete, FormFieldSetter? onSaved, bool? isDense, bool? filled, EdgeInsets? contentPadding, InputBorder? focusedBorder, InputBorder? enabledBorder, InputBorder? disabledBorder, InputBorder? errorBorder, InputBorder? focusedErrorBorder, Color? fillColor, Color? hoverColor, String? labelText, TextStyle? labelStyle, TextStyle? floatingLabelStyle, FloatingLabelBehavior? floatingLabelBehavior, String? hintText, TextStyle? hintStyle, String? errorText, int? errorMaxLines, TextStyle? errorStyle})
const

Properties

autoValidateMode AutovalidateMode?
final
backgroundColorSelected Color?
final
closeDropdownAfterSelect bool
final
contentPadding EdgeInsets?
final
controller TextEditingController?
final
cursorColor Color?
final
disabledBorder InputBorder?
final
enabled bool
final
enabledBorder InputBorder?
final
errorBorder InputBorder?
final
errorMaxLines int?
final
errorStyle TextStyle?
final
errorText String?
final
fillColor Color?
final
filled bool?
final
filterOption List<BasicInputDropdownItemModel<T>> Function(String, List<BasicInputDropdownItemModel<T>>)
final
floatingLabelBehavior FloatingLabelBehavior?
final
floatingLabelStyle TextStyle?
final
focusedBorder InputBorder?
final
focusedErrorBorder InputBorder?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle?
final
hintText String?
final
hintTextSearch String
final
hoverColor Color?
final
iconSelected Widget?
final
initialValue String?
final
inputFormatters List<TextInputFormatter>?
final
isDense bool?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
labelStyle TextStyle?
final
labelText String?
final
maxHeightPopup double?
final
maxLength int?
final
maxLines int
final
maxWidthPopup double?
final
final
minHeightPopup double?
final
minLines int?
final
minWidthPopup double?
final
name String?
final
obscureText bool
final
offset Offset?
final
onChanged ValueChanged<String?>?
final
onEditingComplete VoidCallback?
final
onFocusChange → (dynamic Function(bool)?)
final
onSaved FormFieldSetter?
final
onSelected → dynamic Function(BasicInputDropdownItemModel<T>, List<BasicInputDropdownItemModel<T>>)
final
onTap GestureTapCallback?
final
prefixIconSearch Widget?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollPadding EdgeInsets?
final
searchController TextEditingController?
final
size BasicInputSize?
final
tagsAbleScroll bool
final
textAlign TextAlign
final
textAlignVertical TextAlignVertical?
final
textInputAction TextInputAction?
final
validator FormFieldValidator<String>?
final
width double?
final

Methods

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