ChipsInput<T> class

Inheritance

Constructors

ChipsInput({Key? key, List<T> initialValue = const [], InputDecoration decoration = const InputDecoration(), bool enabled = true, required ChipsBuilder<T> chipBuilder, required ChipsBuilder<T> suggestionBuilder, required ChipsInputSuggestions<T> findSuggestions, required ValueChanged<List<T>> onChanged, int? maxChips, TextStyle? textStyle, double? suggestionsBoxMaxHeight, TextInputType inputType = TextInputType.text, TextOverflow textOverflow = TextOverflow.clip, bool obscureText = false, bool autocorrect = true, String? actionLabel, TextInputAction inputAction = TextInputAction.done, Brightness keyboardAppearance = Brightness.light, TextCapitalization textCapitalization = TextCapitalization.none, bool autofocus = false, bool allowChipEditing = false, FocusNode? focusNode, List<T>? initialSuggestions})
const

Properties

actionLabel → String?
final
allowChipEditing → bool
final
autocorrect → bool
final
autofocus → bool
final
chipBuilder → ChipsBuilder<T>
final
decoration → InputDecoration
final
enabled → bool
final
findSuggestions → ChipsInputSuggestions<T>
final
focusNode → FocusNode?
final
hashCode → int
The hash code for this object.
no setterinherited
initialSuggestions → List<T>?
final
initialValue → List<T>
final
inputAction → TextInputAction
final
inputType → TextInputType
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardAppearance → Brightness
final
maxChips → int?
final
obscureText → bool
final
onChanged → ValueChanged<List<T>>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
suggestionBuilder → ChipsBuilder<T>
final
suggestionsBoxMaxHeight → double?
final
textCapitalization → TextCapitalization
final
textOverflow → TextOverflow
final
textStyle → TextStyle?
final

Methods

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