PhoneNumInput constructor

PhoneNumInput({
  1. Key? key,
  2. double? width,
  3. EdgeInsetsGeometry? margin,
  4. String? hintText,
  5. TextStyle? hintStyle,
  6. String? helperText,
  7. TextStyle? helperStyle,
  8. TextStyle? style,
  9. Widget? clearBtn,
  10. double clearBtnSize = defaultClearBtnSize,
  11. double clearBtnMaxSize = defaultClearBtnMaxSize,
  12. double inputBorderSideWidth = defaultInputBorderSideWidth,
  13. required TextEditingController controller,
  14. FocusNode? focusNode,
  15. ValueChanged<bool>? onNumInputComplete,
  16. ValueChanged<String>? onChanged,
  17. TextInputAction textInputAction = TextInputAction.next,
  18. VoidCallback? onEditingComplete,
  19. bool isShowErrorState = false,
  20. bool isShowHelperText = false,
  21. bool isShowInputBorder = true,
  22. 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);