UserFormField class

Constructors

UserFormField({required String keyName, String? displayName, String defaultValue = '', String? linkUrl, Icon? icon, FormFieldValidator<String>? fieldValidator, LoginUserType userType = LoginUserType.name, InlineSpan? tooltip})
const

Properties

defaultValue → String
The default value of the field
final
displayName → String
The name of the field displayed on the form. Defaults to keyName if not given
final
fieldValidator → FormFieldValidator<String>?
A function to validate the field. It should return null on success, or a string with the explanation of the error
final
hashCode → int
The hash code for this object.
no setterinherited
icon → Icon?
The icon shown on the left of the field. Defaults to the user icon
final
keyName → String
The name of the field retrieved as key. Please ensure this is unique, otherwise an Error will be thrown
final
linkUrl → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tooltip → InlineSpan?
final
userType → LoginUserType
The LoginUserType of the form. The right keyboard and suggestions will be shown accordingly Defaults to LoginUserType.user
final

Methods

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

Operators

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