InputResolver class

The resolver class for input widgets.

This class is responsible for resolving text to display in input field titles, as well as hints, warnings and other guidance for the end-user.

Constructors

InputResolver()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

confirmHint(BuildContext context, InputField field) String
Returns the hint text used for confirmation fields where the user is asked to re-enter information prior to form submission.
empty(BuildContext context, InputField field) String
Returns the text displayed when a required field is left empty.
format(BuildContext context, InputField field) String
Returns the text displayed when a field fails a format validation check, such as an invalid email format, an invalid confirmation code length, etc.
hint(BuildContext context, InputField field) String
Returns the label displayed as the input hint.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
optional(BuildContext context, String title) String
Returns text denoting a field as optional.
passwordRequires(BuildContext context, PasswordProtectionSettings requirements) String
Returns the text displayed when a password input does match the password requirements defined in the amplify configuration.
resolve(BuildContext context, InputResolverKey key) String
title(BuildContext context, InputField field) String
Returns the label that is displayed as the input title.
toString() String
A string representation of this object.
inherited
usernameRequires(BuildContext context) String
Returns the text displayed when the username requirements are not met

Operators

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