TextFieldController class

Constructors

TextFieldController(String title, List<bool Function(String)> validationFunc, String errorMessage, VoidCallback _updateFunc, Debouncer? _debouncer, {bool obscureText = false, String text = "", List<TextInputFormatter>? inputFormatter})

Properties

errorMessage String
final
hashCode int
The hash code for this object.
no setterinherited
inputFormatter List<TextInputFormatter>?
final
isValid bool
getter/setter pair
obscureText bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
getter/setter pair
title String
final
validationFunc List<bool Function(String)>
final
visible bool
getter/setter pair

Methods

checkValid() bool
copyWith({String? title, List<bool Function(String)>? validationFunc, String? errorMessage, bool? obscureText, String? text}) TextFieldController
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange(String value) → dynamic
reset({dynamic val = ""}) → dynamic
toogleVisible() → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

emptyController() TextFieldController