AppRoundedTextField constructor
const
AppRoundedTextField({
- Key? key,
- TextEditingController? controller,
- FocusNode? focusNode,
- String? hint,
- void onChanged()?,
- void onSubmitted()?,
- VoidCallback? onTap,
- String? validator()?,
- IconData? prefixIconData,
- IconData? suffixIconData,
- Widget? prefixIcon,
- Widget? suffixIcon,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- bool enabled = true,
- bool readOnly = false,
- bool autofocus = false,
- bool obscureText = false,
- bool showPasswordToggle = false,
- Color? backgroundColor,
- Color? borderColor,
- Color? focusedBorderColor,
- Color? cursorColor,
- Color? textColor,
- Color? hintColor,
- Color? iconColor,
- double? fontSize,
- double? hintFontSize,
- double? iconSize,
- double? height,
- EdgeInsetsGeometry? contentPadding,
- bool isPill = true,
- bool showBorder = false,
- bool? enableSecurity,
Implementation
const AppRoundedTextField({
super.key,
this.controller,
this.focusNode,
this.hint,
this.onChanged,
this.onSubmitted,
this.onTap,
this.validator,
this.prefixIconData,
this.suffixIconData,
this.prefixIcon,
this.suffixIcon,
this.keyboardType,
this.textInputAction,
this.enabled = true,
this.readOnly = false,
this.autofocus = false,
this.obscureText = false,
this.showPasswordToggle = false,
this.backgroundColor,
this.borderColor,
this.focusedBorderColor,
this.cursorColor,
this.textColor,
this.hintColor,
this.iconColor,
this.fontSize,
this.hintFontSize,
this.iconSize,
this.height,
this.contentPadding,
this.isPill = true,
this.showBorder = false,
this.enableSecurity,
});