ModulaTextArea constructor

const ModulaTextArea({
  1. Key? key,
  2. String? initialValue,
  3. String? hintText,
  4. int minLines = 2,
  5. int maxLines = 8,
  6. int? maxLength,
  7. TextStyle? style,
  8. TextStyle? hintStyle,
  9. EdgeInsetsGeometry padding = const EdgeInsets.all(12),
  10. InputBorder? border,
  11. ValueChanged<String>? onChanged,
  12. FormFieldValidator<String>? validator,
  13. bool enabled = true,
  14. bool showCharacterCount = false,
  15. bool autoFocus = false,
  16. TextEditingController? controller,
  17. String? errorText,
})

Implementation

const ModulaTextArea({
  super.key,
  this.initialValue,
  this.hintText,
  this.minLines = 2,
  this.maxLines = 8,
  this.maxLength,
  this.style,
  this.hintStyle,
  this.padding = const EdgeInsets.all(12),
  this.border,
  this.onChanged,
  this.validator,
  this.enabled = true,
  this.showCharacterCount = false,
  this.autoFocus = false,
  this.controller,
  this.errorText,
});