KntEditText constructor

const KntEditText({
  1. Key? key,
  2. bool isSecureText = false,
  3. bool styleSeparate = false,
  4. String? defaultValue,
  5. String? hintText,
  6. Widget? icon,
  7. EdgeInsets? contentPadding,
  8. FocusNode? focusNode,
  9. void onFieldSubmitted(
    1. String
    )?,
  10. TextInputAction? textInputAction,
  11. String? title,
  12. Color? borderColor,
  13. Color? focusBorderColor,
  14. Color? textColor,
  15. Color? hintTextColor,
  16. Color? boxColor,
  17. double? fontSize,
  18. BorderRadius? borderRadius,
  19. double? borderWidth,
  20. int? maxLength = 200,
  21. void onTextChanged(
    1. String
    )?,
})

Implementation

const KntEditText({
  super.key,
  this.isSecureText = false,
  this.styleSeparate = false,
  this.defaultValue,
  this.hintText,
  this.icon,
  this.contentPadding,
  this.focusNode,
  this.onFieldSubmitted,
  this.textInputAction,
  this.title,
  this.borderColor,
  this.focusBorderColor,
  this.textColor,
  this.hintTextColor,
  this.boxColor,
  this.fontSize,
  this.borderRadius,
  this.borderWidth,
  this.maxLength = 200,
  this.onTextChanged,
});