MultiSelect class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FormField
- MultiSelect
Constructors
- MultiSelect({FormFieldSetter? onSaved, FormFieldValidator? validator, dynamic initialValue, AutovalidateMode autovalidateMode = AutovalidateMode.disabled, String titleText = 'Title', Color? titleTextColor, String? hintText = 'Tap to select one or more...', Color? hintTextColor = Colors.grey, bool required = false, String? errorText = 'Please select one or more option(s)', dynamic value, Widget? leading, bool filterable = true, required List dataSource, String textField = 'text', String valueField = 'value', Function? change, Function? open, Function? close, Widget? trailing, int? maxLength, String? maxLengthText, Color? maxLengthIndicatorColor = Colors.red, Color? inputBoxFillColor = Colors.white, Color? errorBorderColor = Colors.red, Color? enabledBorderColor = Colors.grey, IconData? selectIcon = Icons.arrow_downward, Color? selectIconColor, Color? buttonBarColor, String? cancelButtonText, IconData? cancelButtonIcon, Color? cancelButtonColor, Color? cancelButtonTextColor, String? saveButtonText, IconData? saveButtonIcon, Color? saveButtonColor, Color? saveButtonTextColor, String? clearButtonText, IconData? clearButtonIcon, Color? clearButtonColor, Color? clearButtonTextColor, String? deleteButtonTooltipText, IconData? deleteIcon, Color? deleteIconColor, Color? selectedOptionsBoxColor, String? selectedOptionsInfoText, Color? selectedOptionsInfoTextColor, IconData? checkedIcon, IconData? uncheckedIcon, Color? checkBoxColor, Color? searchBoxColor, String? searchBoxHintText, Color? searchBoxFillColor, IconData? searchBoxIcon, String? searchBoxToolTipText, Size? responsiveDialogSize})
Properties
- autovalidateMode → AutovalidateMode
-
Used to enable/disable this form field auto validation and update its
error text.
finalinherited
- builder → FormFieldBuilder
-
Function that returns the widget representing this form field. It is
passed the form field state as input, containing the current value and
validation state of this field.
finalinherited
-
final
- cancelButtonColor → Color?
-
final
- cancelButtonIcon → IconData?
-
final
- cancelButtonText → String?
-
final
- cancelButtonTextColor → Color?
-
final
- change → Function?
-
final
- checkBoxColor → Color?
-
final
- checkedIcon → IconData?
-
final
- clearButtonColor → Color?
-
final
- clearButtonIcon → IconData?
-
final
- clearButtonText → String?
-
final
- clearButtonTextColor → Color?
-
final
- close → Function?
-
final
- dataSource → List
-
final
- deleteButtonTooltipText → String?
-
final
- deleteIcon → IconData?
-
final
- deleteIconColor → Color?
-
final
- enabled → bool
-
Whether the form is able to receive user input.
finalinherited
- enabledBorderColor → Color?
-
final
- errorBorderColor → Color?
-
final
- errorText → String?
-
final
- filterable → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String?
-
final
- hintTextColor → Color?
-
final
- initialValue → dynamic
-
An optional value to initialize the form field to, or null otherwise.
finalinherited
- inputBoxFillColor → Color?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- leading → Widget?
-
final
- maxLength → int?
-
final
- maxLengthIndicatorColor → Color?
-
final
- maxLengthText → String?
-
final
- onSaved → FormFieldSetter?
-
An optional method to call with the final value when the form is saved via
FormState.save.
finalinherited
- open → Function?
-
final
- required → bool
-
final
- responsiveDialogSize → Size?
-
final
- restorationId → String?
-
Restoration ID to save and restore the state of the form field.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveButtonColor → Color?
-
final
- saveButtonIcon → IconData?
-
final
- saveButtonText → String?
-
final
- saveButtonTextColor → Color?
-
final
- searchBoxColor → Color?
-
final
- searchBoxFillColor → Color?
-
final
- searchBoxHintText → String?
-
final
- searchBoxIcon → IconData?
-
final
- searchBoxToolTipText → String?
-
final
- selectedOptionsBoxColor → Color?
-
final
- selectedOptionsInfoText → String?
-
final
- selectedOptionsInfoTextColor → Color?
-
final
- selectIcon → IconData?
-
final
- selectIconColor → Color?
-
final
- textField → String
-
final
- titleText → String
-
final
- titleTextColor → Color?
-
final
- trailing → Widget?
-
final
- uncheckedIcon → IconData?
-
final
- validator → FormFieldValidator?
-
An optional method that validates an input. Returns an error string to
display if the input is invalid, or null otherwise.
finalinherited
- value → dynamic
-
final
- valueField → String
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → FormFieldState -
Creates the mutable state for this widget at a given location in the tree.
inherited
-
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