AutofillConfiguration class
A collection of autofill related information that represents an AutofillClient.
Typically used in TextInputConfiguration.autofillConfiguration.
- Annotations
Constructors
-
AutofillConfiguration({required String uniqueIdentifier, required List<
String> autofillHints, required TextEditingValue currentEditingValue, String? hintText}) -
Creates autofill related configuration information that can be sent to the
platform.
const
Properties
-
autofillHints
→ List<
String> -
A list of strings that helps the autofill service identify the type of the
AutofillClient.
final
- currentEditingValue → TextEditingValue
-
The current TextEditingValue of the AutofillClient.
final
- enabled → bool
-
Whether autofill should be enabled for the AutofillClient.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String?
-
The optional hint text placed on the view that typically suggests what
sort of input the field accepts, for example "enter your password here".
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uniqueIdentifier → String
-
A string that uniquely identifies the current AutofillClient.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> ? - Returns a representation of this object as a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- disabled → const AutofillConfiguration
- An AutofillConfiguration that indicates the AutofillClient does not wish to be autofilled.