@@ -212,7 +212,7 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
212212
213213 /// A list of autofill hints that the field should provide to underlying
214214 /// device's autofill service.
215- List <TextInputAutofillHints > autofillHints;
215+ Set <TextInputAutofillHints > autofillHints;
216216
217217 /// Creates a [TextFieldProperties] instance with the given data.
218218 TextFieldProperties ({
@@ -243,7 +243,7 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
243243 this .showSignKey = false ,
244244 this .formatter = TextInputFormatterModel .none,
245245 this .validator = const NoneTextInputValidatorModel (),
246- this .autofillHints = const [] ,
246+ this .autofillHints = const {} ,
247247 }) : inputStyle = inputStyle ??
248248 StartEndProp .general (fontSize: 14 , fills: [PaintModel .blackPaint]),
249249 decoration = decoration ?? InputDecorationModel ();
@@ -278,7 +278,7 @@ class TextFieldProperties with SerializableMixin, EquatableMixin {
278278 bool ? showSignKey,
279279 TextInputFormatterModel ? formatter,
280280 TextInputValidatorModel ? validator,
281- List <TextInputAutofillHints >? autofillHints,
281+ Set <TextInputAutofillHints >? autofillHints,
282282 }) {
283283 return TextFieldProperties (
284284 autoCorrect: autoCorrect ?? this .autoCorrect,
0 commit comments