PhoneNumberInput constructor
const
PhoneNumberInput({
- Key? key,
- String? labelText,
- String? initialValue,
- String? defaultCountryCode,
- List<
String> ? priorityList, - bool isRequired = false,
- bool enabled = true,
- bool showCountry = true,
- bool enableCountrySelection = true,
- IconData? icon = Icons.phone,
- Color? iconColor,
- String? iconTooltip,
- VoidCallback? onIconTap,
- FocusNode? focusNode,
- TextEditingController? controller,
- ValidatedValueChanged<
PhoneNumber> ? onChanged, - 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),
});