getAutoFillHints method
Implementation
List<String> getAutoFillHints(TextInputType inputType){
if(inputType==TextInputType.emailAddress){
return [AutofillHints.email];
} else if(inputType==TextInputType.datetime){
return [AutofillHints.birthday];
} else if(inputType==TextInputType.phone){
return [AutofillHints.telephoneNumber];
}else if(inputType==TextInputType.url){
return [AutofillHints.url];
}
return [AutofillHints.name,AutofillHints.username];
}