ProKitTextField constructor
const
ProKitTextField({
- Key? key,
- TextEditingController? controller,
- FocusNode? focusNode,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- String? hint,
- String? prefixIconPath,
- Widget? prefixIcon,
- String? suffixIconPath,
- Widget? suffixIcon,
- Color? borderColor,
- Color? focusedBorderColor,
- Color? enabledBorderColor,
- Color? cursorColor,
- Color? textColor,
- Color? errorBorderColor,
- double? borderRadius,
- double? height,
- double? width,
- bool? isFilled,
- Color? filledColor,
- bool isPassword = false,
- bool showHideIcon = false,
- String? errorText,
- ValueChanged<
String> ? onChanged,
Added onChanged callback
Implementation
final ValueChanged<String>? onChanged; /// Added onChanged callback
const ProKitTextField({
super.key,
this.controller,
this.focusNode,
this.keyboardType,
this.textInputAction,
this.hint,
this.prefixIconPath,
this.prefixIcon,
this.suffixIconPath,
this.suffixIcon,
this.borderColor,
this.focusedBorderColor,
this.enabledBorderColor,
this.cursorColor,
this.textColor,
this.errorBorderColor,
this.borderRadius,
this.height,
this.width,
this.isFilled,
this.filledColor,
this.isPassword = false,
this.showHideIcon = false,
this.errorText,
this.onChanged, /// Constructor updated
});