IDSTextArea constructor

const IDSTextArea({
  1. Key? key,
  2. TextEditingController? controller,
  3. required String hintText,
  4. double height = 70,
  5. IconData? prefixIcon,
  6. Color? prefixIconColor,
  7. Color? hintTextColor,
  8. Color? textColor,
  9. Color? borderColor,
  10. Color? focusedBorderColor,
  11. String? validator(
    1. String?
    )?,
  12. double circularRadius = 25.0,
  13. TextInputType? keyboardType = TextInputType.text,
  14. dynamic maxLines = 5,
  15. 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,
});