IDSTextArea constructor
const
IDSTextArea({
- Key? key,
- TextEditingController? controller,
- required String hintText,
- double height = 70,
- IconData? prefixIcon,
- Color? prefixIconColor,
- Color? hintTextColor,
- Color? textColor,
- Color? borderColor,
- Color? focusedBorderColor,
- String? validator()?,
- double circularRadius = 25.0,
- TextInputType? keyboardType = TextInputType.text,
- dynamic maxLines = 5,
- TextInputAction? textInputAction = TextInputAction.newline,
Creates a customizable text area with optional styling and properties.
Implementation
const IDSTextArea({
super.key,
this.controller,
required this.hintText,
this.height = 70,
this.prefixIcon,
this.prefixIconColor,
this.hintTextColor,
this.textColor,
this.borderColor,
this.focusedBorderColor,
this.validator,
this.circularRadius = 25.0,
this.keyboardType = TextInputType.text,
this.maxLines = 5, // Default set to 5 for a text area
this.textInputAction = TextInputAction.newline,
});