BasicInputDropdown<T> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BasicInputDropdown
Constructors
-
BasicInputDropdown({Key? key, String? name, bool haveSearch = false, List<
BasicInputDropdownItemModel< filterOption(String, List<T> >BasicInputDropdownItemModel< )?, dynamic onSelected(BasicInputDropdownItemModel<T> >T> )?, Offset? offset, double? maxHeightPopup, double? minHeightPopup, double? maxWidthPopup, double? minWidthPopup, BasicInputSize? size, double? width, BasicInputDropdownItemModel<T> ? 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, ValueTransformer<BasicInputDropdownItemModel< ? valueTransformer, ValueChanged<T> ?>String?> ? onChanged, GestureTapCallback? onTap, VoidCallback? onEditingComplete, FormFieldSetter? onSaved, bool? isDense, bool? filled, Widget? prefixIcon, 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
- 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< Function(String, List<T> >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
- haveSearch → bool
-
final
- hintStyle → TextStyle?
-
final
- hintText → String?
-
final
- hoverColor → Color?
-
final
-
initialValue
→ BasicInputDropdownItemModel<
T> ? -
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> )?) -
final
- onTap → GestureTapCallback?
-
final
- prefixIcon → Widget?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollPadding → EdgeInsets?
-
final
- size → BasicInputSize?
-
final
- textAlign → TextAlign
-
final
- textAlignVertical → TextAlignVertical?
-
final
- textInputAction → TextInputAction?
-
final
-
validator
→ FormFieldValidator<
String> ? -
final
-
valueTransformer
→ ValueTransformer<
BasicInputDropdownItemModel< ?T> ?> -
final
- width → double?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< BasicInputDropdown< 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