TextFieldTagsController class
////////////////////////////////Controller Model/////////////////////////////// Textfield tags controller
- Inheritance
-
- Object
- ChangeNotifier
- TextFieldTagsController
Constructors
Properties
- addTag ← String
-
Add a tag
no getter
-
getAllTags
→ List<
String> -
Get a list of all tags
no setter
-
getError
→ Map<
String, dynamic> -
Get the error
no setter
-
getSetTags
→ Set<
String> -
Get a set of all tags
no setter
-
getTagStates
→ Map<
String, dynamic> -
Get the map object of all tag states
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- removeTag ← String
-
Remove a tag
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setPrefixIcon ← bool
-
Set prefix icon
no getter
- setShowValidator ← bool
-
Set show validator
no getter
- showPrefixIcon → bool
-
Show prefix icon?
no setter
- showValidator → bool
-
Show validator?
no setter
-
getter/setter pair
-
tagStates
↔ Map<
String, dynamic> -
getter/setter pair
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
clearTextFieldTags(
) → void - Clear the tags
-
dispose(
) → void -
Dispose resouses
override
-
init(
List tags, bool showPrefix) → void - Set tags
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
showError(
String errorMessage, {TextStyle? errorStyle}) → void - Set your error message and its style
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- focusNode → FocusNode
-
final
- getFocusNode → FocusNode
-
Get the text controller focus node
no setter
- getTextEditingController → TextEditingController
-
Get the text controller
no setter
- textEditingController → TextEditingController
-
final