createPhoneNumberController

fun createPhoneNumberController(initialValue: String = "", initiallySelectedCountryCode: String? = null, overrideCountryCodes: Set<String> = emptySet(), showOptionalLabel: Boolean = false, acceptAnyInput: Boolean = false): PhoneNumberController

Instantiate a PhoneNumberController with the given initial values. If initialValue is in the E.164 format, try to find the most likely country code based on the prefix and the device's locales list.