ExTextFieldMultiline constructor

const ExTextFieldMultiline({
  1. Key? key,
  2. Color? borderColor = const Color(0xFFe4e8eb),
  3. String? hint,
  4. TextEditingController? controller,
  5. ValueChanged<String>? onChanged,
  6. ValueChanged<String>? onSubmitted,
  7. VoidCallback? onEditingComplete,
  8. bool? enabled,
  9. Color? fillColor = Colors.transparent,
  10. TextInputAction? textInputAction,
  11. int? minLine = 4,
  12. int? maxLine = 4,
  13. TextInputType? keyboardType = TextInputType.multiline,
  14. bool? autocorrect,
  15. bool? autofocus,
  16. String? validator(
    1. String?
    )?,
  17. bool clear = true,
  18. double? contentPaddingLeft = 12,
  19. double? contentPaddingRight = 12,
  20. double? borderRadius = 8,
  21. String? labelText,
  22. TextStyle labelTextStyle = const TextStyle(fontSize: 14),
  23. TextStyle? style,
  24. Widget? labelIcon,
  25. List<TextInputFormatter>? inputFormatters,
  26. int? maxLength,
  27. bool? isRequired,
})

Implementation

const ExTextFieldMultiline({
  super.key,
  this.borderColor = const Color(0xFFe4e8eb),
  this.hint,
  this.controller,
  this.onChanged,
  this.onSubmitted,
  this.onEditingComplete,
  this.enabled,
  this.fillColor = Colors.transparent,
  this.textInputAction,
  this.minLine = 4,
  this.maxLine = 4,
  this.keyboardType = TextInputType.multiline,
  this.autocorrect,
  this.autofocus,
  this.validator,
  this.clear = true,
  this.contentPaddingLeft = 12,
  this.contentPaddingRight = 12,
  this.borderRadius = 8,
  this.labelText,
  this.labelTextStyle = const TextStyle(fontSize: 14),
  this.style,
  this.labelIcon,
  this.inputFormatters,
  this.maxLength,
  this.isRequired,
});