FlutstrapTextArea constructor

const FlutstrapTextArea({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? initialValue,
  4. String? label,
  5. String? placeholder,
  6. String? helperText,
  7. bool disabled = false,
  8. bool readonly = false,
  9. bool required = false,
  10. bool showValidation = false,
  11. bool isValid = true,
  12. String? validationMessage,
  13. int? maxLength,
  14. bool showCharacterCounter = false,
  15. int rows = 3,
  16. bool autoResize = false,
  17. FSTextAreaSize size = FSTextAreaSize.md,
  18. FSTextAreaVariant variant = FSTextAreaVariant.primary,
  19. ValueChanged<String>? onChanged,
  20. ValueChanged<String>? onSubmitted,
  21. VoidCallback? onEditingComplete,
  22. FocusNode? focusNode,
  23. TextInputAction? textInputAction,
  24. EdgeInsetsGeometry? padding,
  25. bool showLabel = true,
  26. String? semanticLabel,
  27. Duration resizeDelay = const Duration(milliseconds: 100),
})

Implementation

const FlutstrapTextArea({
  super.key,
  this.controller,
  this.initialValue,
  this.label,
  this.placeholder,
  this.helperText,
  this.disabled = false,
  this.readonly = false,
  this.required = false,
  this.showValidation = false,
  this.isValid = true,
  this.validationMessage,
  this.maxLength,
  this.showCharacterCounter = false,
  this.rows = 3,
  this.autoResize = false,
  this.size = FSTextAreaSize.md,
  this.variant = FSTextAreaVariant.primary,
  this.onChanged,
  this.onSubmitted,
  this.onEditingComplete,
  this.focusNode,
  this.textInputAction,
  this.padding,
  this.showLabel = true,
  this.semanticLabel,
  this.resizeDelay = const Duration(milliseconds: 100),
});