KTextField constructor

KTextField({
  1. Key? key,
  2. Widget? leftWidget,
  3. Widget? rightWidget,
  4. String? placeholder,
  5. List<TextInputFormatter>? inputFormatters,
  6. FocusNode? focusNode,
  7. TextEditingController? editingController,
  8. double borderWidth = 0.5,
  9. double fontSize = 16,
  10. double? borderRadius,
  11. double? borderRadiusTL,
  12. double? borderRadiusTR,
  13. double? borderRadiusBL,
  14. double? borderRadiusBR,
  15. FontWeight? fontWeight,
  16. Color titleColor = const Color(0xff000000),
  17. InputBorder? enableInputBorderWidget,
  18. InputBorder? disabledInputBorderWidget,
  19. InputBorder? focusedInputBorderWidget,
  20. TextInputType? keyboardType,
  21. Color enabledBorder = const Color(0xff000000),
  22. Color? disabledBorderColor,
  23. Brightness keyboardAppearance = Brightness.light,
  24. bool filled = true,
  25. Color fillColor = const Color(0xffFFFFFF),
  26. double? contentPadding,
  27. double? contentPaddL,
  28. double? contentPaddR,
  29. double? contentPaddB,
  30. double? contentPaddT,
  31. Color? focusedBorderColor,
  32. Color? placeholderColor,
  33. dynamic callBack(
    1. String
    )?,
})

Implementation

KTextField(
    {Key? key,
    this.leftWidget,
    this.rightWidget,
    this.placeholder,
    this.inputFormatters,
    this.focusNode,
    this.editingController,
    this.borderWidth = 0.5,
    this.fontSize = 16,
    this.borderRadius,
    this.borderRadiusTL,
    this.borderRadiusTR,
    this.borderRadiusBL,
    this.borderRadiusBR,
    this.fontWeight,
    this.titleColor = const Color(0xff000000),
    this.enableInputBorderWidget,
    this.disabledInputBorderWidget,
    this.focusedInputBorderWidget,
    this.keyboardType,
    this.enabledBorder = const Color(0xff000000),
    this.disabledBorderColor,
    this.keyboardAppearance = Brightness.light,
    this.filled = true,
    this.fillColor = const Color(0xffFFFFFF),
    this.contentPadding,
    this.contentPaddL,
    this.contentPaddR,
    this.contentPaddB,
    this.contentPaddT,
    this.focusedBorderColor,
    this.placeholderColor,
    this.callBack})
    : super(key: key);