PhoneNumberEditingController.fromCountry constructor
PhoneNumberEditingController.fromCountry(
- Country country
Creates a controller with given default country
selected.
Implementation
PhoneNumberEditingController.fromCountry(Country country)
: nationalNumberController = TextEditingController(),
countryNotifier = ValueNotifier(country),
_value = PhoneNumber.empty.copyWith(country: country) {
_initialize();
}