Add the Auto-fill hint using constants form AutofillHints class as a list . even if you only have one Hint, you have to add it as a single item in a list. TextFormField after Auto-fill hint added. For a complete list of supported auto-fill hints in flutter refer to this documentation.