PhoneNumberInput constructor

const PhoneNumberInput({
  1. Key? key,
  2. String? labelText,
  3. String? initialValue,
  4. String? defaultCountryCode,
  5. List<String>? priorityList,
  6. bool isRequired = false,
  7. bool enabled = true,
  8. bool showCountry = true,
  9. bool enableCountrySelection = true,
  10. IconData? icon = Icons.phone,
  11. Color? iconColor,
  12. String? iconTooltip,
  13. VoidCallback? onIconTap,
  14. FocusNode? focusNode,
  15. TextEditingController? controller,
  16. ValidatedValueChanged<PhoneNumber>? onChanged,
  17. EdgeInsets padding = const EdgeInsets.fromLTRB(8.0, 8.0, 8.0, 0.0),
})

Implementation

const PhoneNumberInput({
  super.key,
  this.labelText,
  this.initialValue,
  this.defaultCountryCode,
  this.priorityList,
  this.isRequired = false,
  this.enabled = true,
  this.showCountry = true,
  this.enableCountrySelection = true,
  this.icon = Icons.phone,
  this.iconColor,
  this.iconTooltip,
  this.onIconTap,
  this.focusNode,
  this.controller,
  this.onChanged,
  this.padding = const EdgeInsets.fromLTRB(8.0, 8.0, 8.0, 0.0),
});