PhoneNumInput constructor
PhoneNumInput({
- Key? key,
- double? width,
- EdgeInsetsGeometry? margin,
- String? hintText,
- TextStyle? hintStyle,
- String? helperText,
- TextStyle? helperStyle,
- TextStyle? style,
- Widget? clearBtn,
- double clearBtnSize = defaultClearBtnSize,
- double clearBtnMaxSize = defaultClearBtnMaxSize,
- double inputBorderSideWidth = defaultInputBorderSideWidth,
- required TextEditingController controller,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onNumInputComplete, - ValueChanged<
String> ? onChanged, - TextInputAction textInputAction = TextInputAction.next,
- VoidCallback? onEditingComplete,
- bool isShowErrorState = false,
- bool isShowHelperText = false,
- bool isShowInputBorder = true,
- bool helperTextSyncErrorState = false,
Implementation
PhoneNumInput({
Key? key,
this.width,
this.margin,
this.hintText,
this.hintStyle,
this.helperText,
this.helperStyle,
this.style,
this.clearBtn,
this.clearBtnSize = defaultClearBtnSize,
this.clearBtnMaxSize = defaultClearBtnMaxSize,
this.inputBorderSideWidth = defaultInputBorderSideWidth,
required this.controller,
this.focusNode,
this.onNumInputComplete,
this.onChanged,
this.textInputAction = TextInputAction.next,
this.onEditingComplete,
this.isShowErrorState = false,
this.isShowHelperText = false,
this.isShowInputBorder = true,
this.helperTextSyncErrorState = false,
}) : super(key: key);