ButtonTextField constructor
const
ButtonTextField({
- Key? key,
- required String hintText,
- required TextValidationType textValidationType,
- required void onFieldSubmitted()?,
- required Icon buttonIcon,
- void onChanged()?,
- Color? contentColor,
- Color? borderColor,
- IconData? prefixIcon,
- int? minLines,
- int? maxLines = 1,
- TextInputType? textInputType,
- TextEditingController? previousPasswordController,
- FocusNode? focusNode,
- FocusNode? nextFocus,
- Widget? suffix,
- Widget? prefix,
- Widget? textFieldPrefix,
- Widget? textFieldSuffix,
- double widthPadding = 0,
- BorderRadius? borderRadius,
Implementation
const ButtonTextField({
super.key,
required this.hintText,
required this.textValidationType,
required this.onFieldSubmitted,
required this.buttonIcon,
this.onChanged,
this.contentColor,
this.borderColor,
this.prefixIcon,
this.minLines,
this.maxLines = 1,
this.textInputType,
this.previousPasswordController,
this.focusNode,
this.nextFocus,
this.suffix,
this.prefix,
this.textFieldPrefix,
this.textFieldSuffix,
this.widthPadding = 0,
this.borderRadius,
});