How can I access Country Name or Nationality from the following after a country iso is selected by the user:
ReactivePhoneFormField<PhoneNumber>(
defaultCountry: IsoCode.GB,
decoration: InputDecoration(
labelText: 'Contact number', border: OutlineInputBorder()),
formControlName: 'phoneNumber',
// selectionHeightStyle: BoxHeightStyle.max,
// showFlagInInput: true,
//TODO? Phone verification. After signup?
/* validationMessages: (control) => {
ValidationMessage.required:
'Please provide your contact phone number',
'phoneNumber': 'Please enter a valid contact number'
},*/
countrySelectorNavigator:
CountrySelectorNavigator.modalBottomSheet(
favorites: [IsoCode.GB, IsoCode.ZA, IsoCode.US]),
),
As well , do tell that which of the following (onSaved,onSubmitted,onTap,onEditingComplete) functions available in this widget provide the samefunctionality as of onChanged function of textfield!