PhoneNumberInput constructor
const
PhoneNumberInput({
- Key? key,
- String? labelText,
- String? initialValue,
- String? initialCountryCode,
- bool isRequired = false,
- bool enabled = true,
- IconData? icon = Icons.phone,
- Color? iconColor,
- String? iconTooltip,
- VoidCallback? onIconTap,
- FocusNode? focusNode,
- TextEditingController? controller,
- ValueChanged<
PhoneNumber> ? onChanged, - EdgeInsetsGeometry padding = const EdgeInsets.fromLTRB(8.0, 8.0, 8.0, 0.0),
Implementation
const PhoneNumberInput({
super.key,
this.labelText,
this.initialValue,
this.initialCountryCode,
this.isRequired = false,
this.enabled = 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),
});