CustomMultiDropdown class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CustomMultiDropdown
Constructors
-
CustomMultiDropdown({Key? key, Widget? label, String? labelText, TextStyle? labelStyle, String? nameKey, String? nameMapKey, List<
Map< ? items, String? hintText, List<String, dynamic> >Map< ? selectedValues, TextStyle? hintStyle, TextStyle? selectedStyle, String? errorText, TextStyle? errorStyle, TextStyle? listItemStyle, BorderSide? errorBorderSide, BorderRadius? borderRadius, BorderSide? borderSide, Widget? fieldSuffixIcon, Widget? fieldPrefixIcon, dynamic onChanged(List<String, dynamic> >Map< )?, EdgeInsets? contentPadding, void onRemoveClicked()?, Widget? basicWidget, double? customOverRelayWidth, bool? excludeSelected = true, Color? fillColor = Colors.white, int? maxSelectedItems = 5, Widget chipBuilder(Map<String, dynamic> >String, dynamic> )?, Color? selectedItemChipBackgroundColor, required String primaryIdKey, Color selectColor = Colors.black, String? subNameKey, VoidCallback? onMaxItemsSelected, CustomMultiDropdownController? controller, dynamic onComplete(List<Map< )?, String? searchHintText})String, dynamic> > -
const
-
CustomMultiDropdown.search({Key? key, Widget? label, String? labelText, TextStyle? labelStyle, List<
Map< ? items, String? nameKey, String? nameMapKey, String? hintText, List<String, dynamic> >Map< ? selectedValues, TextStyle? hintStyle, TextStyle? selectedStyle, String? errorText, TextStyle? errorStyle, TextStyle? listItemStyle, BorderSide? errorBorderSide, BorderRadius? borderRadius, BorderSide? borderSide, Widget? basicWidget, Widget? fieldSuffixIcon, Widget? fieldPrefixIcon, dynamic onChanged(List<String, dynamic> >Map< )?, void onRemoveClicked()?, EdgeInsets? contentPadding, double? customOverRelayWidth, bool? excludeSelected = false, bool? canCloseOutsideBounds = true, Color? fillColor = Colors.white, int? maxSelectedItems = 5, Widget chipBuilder(Map<String, dynamic> >String, dynamic> )?, Color? selectedItemChipBackgroundColor, required String primaryIdKey, Color selectColor = Colors.black, String? subNameKey, dynamic onComplete(List<Map< )?, VoidCallback? onMaxItemsSelected, CustomMultiDropdownController? controller, String? searchHintText})String, dynamic> > -
const
Properties
- basicWidget → Widget?
-
final
- borderRadius → BorderRadius?
-
final
- borderSide → BorderSide?
-
final
- canCloseOutsideBounds → bool?
-
final
-
chipBuilder
→ Widget Function(Map<
String, dynamic> )? -
final
- contentPadding → EdgeInsets?
-
final
- controller → CustomMultiDropdownController?
-
final
- customOverRelayWidth → double?
-
final
- errorBorderSide → BorderSide?
-
final
- errorStyle → TextStyle?
-
final
- errorText → String?
-
final
- excludeSelected → bool?
-
final
- fieldPrefixIcon → Widget?
-
final
- fieldSuffixIcon → Widget?
-
final
- fillColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintStyle → TextStyle?
-
final
- hintText → String?
-
final
-
items
→ List<
Map< ?String, dynamic> > -
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → Widget?
-
final
- labelStyle → TextStyle?
-
final
- labelText → String?
-
final
- listItemStyle → TextStyle?
-
final
- maxSelectedItems → int?
-
final
- nameKey → String?
-
final
- nameMapKey → String?
-
final
-
onChanged
→ dynamic Function(List<
Map< )?String, dynamic> > -
final
-
onComplete
→ dynamic Function(List<
Map< )?String, dynamic> > -
final
- onMaxItemsSelected → VoidCallback?
-
final
- onRemoveClicked → void Function()?
-
final
- primaryIdKey → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchHintText → String?
-
final
- searchType → SearchType?
-
final
- selectColor → Color
-
final
- selectedItemChipBackgroundColor → Color?
-
final
- selectedStyle → TextStyle?
-
final
-
selectedValues
→ List<
Map< ?String, dynamic> > -
final
- subNameKey → String?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → CustomMultiDropdownState -
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, int wrapWidth = 65}) → 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