FormFieldModel class

Annotations
  • @JsonSerializable(createFactory: false, includeIfNull: false, fieldRename: FieldRename.snake)

Constructors

FormFieldModel.new({required String id, required bool trackContent, required TextEditingController controller, required FocusNode node, required String faFt, required String faFn, String? faCn, int? faFts, int? faFht, bool? faFb, int faFch = 0, int faFf = 0, int faFd = 0, int faFcu = 0, int? faFs})

Properties

controller TextEditingController
To calculate TextEditingController related fields such as: faCh, faFht, faFb, faFch, faFd, faFs
latefinal
faCn String?
Content value
getter/setter pair
faFb bool?
Left blank
getter/setter pair
faFch int
Number of changes
getter/setter pair
faFcu int
Number of cursor
getter/setter pair
faFd int
Number of deletes
getter/setter pair
faFf int
Number of focus
getter/setter pair
faFht int?
Hesitation time
getter/setter pair
faFn String
Form field Name
getter/setter pair
faFs int?
Size
getter/setter pair
faFt String
Type
getter/setter pair
faFts int?
Total time spent
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hesitationListener VoidCallback?
getter/setter pair
id String
final
node FocusNode
To calculate faFf
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textListener VoidCallback?
Listener reference to handle clean disposal
getter/setter pair
trackContent bool
To check whether the user allows to send content or not
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

toJsonList(List<FormFieldModel> models) List<Map<String, dynamic>>