KTextField constructor
KTextField({
- Key? key,
- Widget? leftWidget,
- Widget? rightWidget,
- String? placeholder,
- List<
TextInputFormatter> ? inputFormatters, - FocusNode? focusNode,
- TextEditingController? editingController,
- double borderWidth = 0.5,
- double fontSize = 16,
- double? borderRadius,
- double? borderRadiusTL,
- double? borderRadiusTR,
- double? borderRadiusBL,
- double? borderRadiusBR,
- FontWeight? fontWeight,
- Color titleColor = const Color(0xff000000),
- InputBorder? enableInputBorderWidget,
- InputBorder? disabledInputBorderWidget,
- InputBorder? focusedInputBorderWidget,
- TextInputType? keyboardType,
- Color enabledBorder = const Color(0xff000000),
- Color? disabledBorderColor,
- Brightness keyboardAppearance = Brightness.light,
- bool filled = true,
- Color fillColor = const Color(0xffFFFFFF),
- double? contentPadding,
- double? contentPaddL,
- double? contentPaddR,
- double? contentPaddB,
- double? contentPaddT,
- Color? focusedBorderColor,
- Color? placeholderColor,
- dynamic callBack()?,
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);