ProKitTextField constructor

const ProKitTextField({
  1. Key? key,
  2. TextEditingController? controller,
  3. FocusNode? focusNode,
  4. TextInputType? keyboardType,
  5. TextInputAction? textInputAction,
  6. String? hintText,
  7. String? prefixIconPath,
  8. Widget? prefixIcon,
  9. String? suffixIconPath,
  10. Widget? suffixIcon,
  11. Color? borderColor,
  12. Color? focusedBorderColor,
  13. Color? enabledBorderColor,
  14. Color? cursorColor,
  15. Color? textColor,
  16. double? borderRadius,
  17. double? height,
  18. double? width,
  19. bool isPassword = false,
  20. bool showHideIcon = false,
})

Implementation

const ProKitTextField({
  super.key,
  this.controller,
  this.focusNode,
  this.keyboardType,
  this.textInputAction,
  this.hintText,
  this.prefixIconPath,
  this.prefixIcon,
  this.suffixIconPath,
  this.suffixIcon,
  this.borderColor,
  this.focusedBorderColor,
  this.enabledBorderColor,
  this.cursorColor,
  this.textColor,
  this.borderRadius,
  this.height,
  this.width,
  this.isPassword = false,
  this.showHideIcon = false,
});