AutofillConfiguration class Null safety

A collection of autofill related information that represents an AutofillClient.

Typically used in TextInputConfiguration.autofillConfiguration.

Annotations
  • @immutable

Constructors

AutofillConfiguration({required String uniqueIdentifier, required List<String> autofillHints, required TextEditingValue currentEditingValue})
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
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uniqueIdentifier String
A string that uniquely identifies the current AutofillClient. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Returns a representation of this object as a JSON object.
toString() String
Returns a string representation of this object.
inherited

Operators

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