PhoneNumberEditingController.fromCountryCode constructor

PhoneNumberEditingController.fromCountryCode(
  1. String isoCode
)

Creates a controller with default selected country that matches given isoCode argument.

Implementation

factory PhoneNumberEditingController.fromCountryCode(String isoCode) =>
    PhoneNumberEditingController.fromCountry(Country.fromCode(isoCode));