TextFieldTags<T> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- TextFieldTags
Constructors
-
TextFieldTags({Key? key, Validator<
T> ? validator, List<T> ? initialTags, List<String> ? textSeparators, LetterCase? letterCase, TextEditingController? textEditingController, FocusNode? focusNode, ScrollController? scrollController, required TextfieldTagsController<T> textfieldTagsController, required InputFieldBuilder<T> inputFieldBuilder}) -
const
Properties
- focusNode → FocusNode?
-
Use this to utilize your own FocusNode instance created by you or by other widgets outside of this widget.
If no focus node is provider by you, the widget will use its own built in default one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
initialTags
→ List<
T> ? -
initialTags are optional initial tags that show up on the text field. Default is set to empty list.
final
-
inputFieldBuilder
→ InputFieldBuilder<
T> -
This InputFieldBuilder allows you to build your own custom widget
Note that this field is required
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- letterCase → LetterCase?
-
Change the letter case of the text entered by user. Default is set to normal letterLetterCase.normal
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController → ScrollController?
-
Use this to utilize your own ScrollController instance created by you or by other widgets outside of this widget.
If no scroll controller is provider, the widget will use a default one.
final
- textEditingController → TextEditingController?
-
Use this to utilize your own TextEditingController instance created by you or by other widgets outside of this widget.
If no controller is provider by you, the widget will use its own built in default controller.
final
-
textfieldTagsController
→ TextfieldTagsController<
T> -
TextfieldTagsController is the controller that houses the control for tags, textfield properties and other properties.
Note that this field is required to be initialized in your class
and must have the same type as the TextFieldTags widget
final
-
textSeparators
→ List<
String> ? -
Enter optional String separators to split the tags. Default is set to
","," "
final -
validator
→ Validator<
T> ? -
validator allows you to validate the tag that has been entered
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
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