XDropSearch<T> class

Inheritance

Constructors

XDropSearch({Key? key, required T? itemSelected, required List<T> liItems, required String? label, required ValueChanged<T>? onChanged_ItemOfDD, Color? label_Color, Color? background_Color = Colors.transparent, DropdownSearchPopupItemBuilder<T>? itemWidgetBuilder, Widget? clearBTN, String itemAsString(T)?, Future<List<T>> onFind(String)?, Color? focusColorOfDD, bool? menu_SearchBox_Active, EdgeInsetsGeometry? contentPadding, Widget dropdownBuilder(BuildContext, T?)?, TextStyle? item_TextStyle(T)?, Alignment? item_TextAlignment, TextStyle? label_Style, AutovalidateMode? autoValidateMode = AutovalidateMode.disabled, bool? clearBTN_Active, double? clearBTN_IconSize, EdgeInsetsGeometry? clearBTN_Padding, Color? clearBTN_IconColor, BoxConstraints? clearBTN_Constraints, Color? menu_BackGroundColor, String? menu_Title, Color? menu_Title_Color, TextStyle? menu_Title_Style, Color? menu_SearchBoxBorderANDtitle_Color, Color? al_BackGroundColor, String? al_Title, Color? al_Title_Color, TextStyle? al_Title_Style, bool? al_SearchBox_Active, Color? al_SearchBoxBorderANDtitle_Color, Widget? dropBTN, EdgeInsetsGeometry? dropBTN_Padding, Color? dropBTN_IconColor, double? dropBTN_IconSize = 18, BoxConstraints? dropBTN_Constraints, Color? labelANDborder_Color, FloatingLabelBehavior? label_Behavior, String? propToShowInItems, String? dropDownMode, String? validator(T?)?, bool filterFn(T, String)?, Color? item_LabelColor, TextStyle? item_LabelStyle})

Properties

al_BackGroundColor Color?
final
al_SearchBox_Active bool?
final
al_SearchBoxBorderANDtitle_Color Color?
final
al_Title String?
final
al_Title_Color Color?
final
al_Title_Style TextStyle?
final
autoValidateMode AutovalidateMode?
final
background_Color Color?
final
clearBTN Widget?
final
clearBTN_Active bool?
final
clearBTN_Constraints BoxConstraints?
final
clearBTN_IconColor Color?
final
clearBTN_IconSize double?
final
clearBTN_Padding EdgeInsetsGeometry?
final
contentPadding EdgeInsetsGeometry?
final
dropBTN Widget?
final
dropBTN_Constraints BoxConstraints?
final
dropBTN_IconColor Color?
final
dropBTN_IconSize double?
final
dropBTN_Padding EdgeInsetsGeometry?
final
final
Metti "Menu" per cliccare sul drop down e avere la lista a discesa / oppure setta "Dialog" per avere un alertDialog per visualizzare la lista
getter/setter pair
filterFn → (bool Function(T, String)?)
final
focusColorOfDD Color?
final
hashCode int
The hash code for this object.
no setterinherited
item_LabelColor Color?
final
item_LabelStyle TextStyle?
final
item_TextAlignment Alignment?
final
item_TextStyle → (TextStyle? Function(T)?)
final
itemAsString → (String Function(T)?)
final
itemSelected ↔ T?
getter/setter pair
itemWidgetBuilder → DropdownSearchPopupItemBuilder<T>?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label String?
final
label_Behavior FloatingLabelBehavior?
final
label_Color Color?
final
label_Style TextStyle?
final
labelANDborder_Color Color?
final
liItems List<T>
final
final
final
final
final
final
final
onChanged_ItemOfDD ValueChanged<T>?
final
onFind → (Future<List<T>> Function(String)?)
final
propToShowInItems String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validator ↔ (String? Function(T?)?)
getter/setter pair

Methods

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