PhoneController constructor

PhoneController({
  1. PhoneNumber initialValue = const PhoneNumber(isoCode: IsoCode.US, nsn: ''),
})

Implementation

PhoneController({
  this.initialValue = const PhoneNumber(isoCode: IsoCode.US, nsn: ''),
})  : _value = initialValue,
      _formattedNationalNumberController = TextEditingController(
        text: initialValue.formatNsn(),
      );