AutoFillHints with two parameters in flutter

Viewed 870

In my TextFormField I want autofill both email and telephoneNumber, but when I write like this, it's not working. Is this true way for using two autofillHints with two parameters?

TextFormField(
    autofillHints: [AutofillHints.email, AutofillHints.telephoneNumber],
     decoration: const InputDecoration(
     labelText: 'Label text',
     hintText: 'hint text',
  )
)
1 Answers
Related