CustomTextFieldWithButton constructor
const
CustomTextFieldWithButton({
- Key? key,
- String? label,
- TextStyle? labelStyle,
- String? hint,
- TextEditingController? controller,
- String? validator()?,
- TextInputType? keyboardType,
- bool obscureText = false,
- Widget? prefixIcon,
- String? errorMsg,
- Color? errorColor,
- void onChanged()?,
- Color? borderColor,
- Color? focusedBorderColor,
- Color? textColor,
- Color? hintColor,
- Color? iconColor,
- bool isDisabled = false,
- bool isOptionalMark = false,
- Color? disabledBorderColor,
- Color? disabledTextColor,
- Color? disabledBackgroundColor,
- required String buttonText,
- VoidCallback? onButtonPressed,
- bool isButtonDisabled = false,
- Color? buttonColor,
- Color? buttonTextColor,
- Color? buttonDisabledColor,
- Color? buttonDisabledTextColor,
- TextStyle? buttonTextStyle,
Implementation
const CustomTextFieldWithButton({
Key? key,
this.label,
this.labelStyle,
this.hint,
this.controller,
this.validator,
this.keyboardType,
this.obscureText = false,
this.prefixIcon,
this.errorMsg,
this.errorColor,
this.onChanged,
this.borderColor,
this.focusedBorderColor,
this.textColor,
this.hintColor,
this.iconColor,
this.isDisabled = false,
this.isOptionalMark = false,
this.disabledBorderColor,
this.disabledTextColor,
this.disabledBackgroundColor,
required this.buttonText,
this.onButtonPressed,
this.isButtonDisabled = false,
this.buttonColor,
this.buttonTextColor,
this.buttonDisabledColor,
this.buttonDisabledTextColor,
this.buttonTextStyle,
}) : super(key: key);