PhoneNumberField constructor

const PhoneNumberField({
  1. Key? key,
  2. InputDecoration decoration = const InputDecoration(),
  3. TextStyle? style,
  4. double countryCodeWidth = 135,
  5. PhoneNumberEditingController? controller,
  6. String dialogTitle = 'Area code',
  7. PhoneNumberFieldPrefixBuilder prefixBuilder = _buildPrefix,
})

Implementation

const PhoneNumberField({
  Key? key,
  this.decoration = const InputDecoration(),
  this.style,
  this.countryCodeWidth = 135,
  this.controller,
  this.dialogTitle = 'Area code',
  this.prefixBuilder = _buildPrefix,
}) : super(key: key);