AppMultiLineTextField constructor

const AppMultiLineTextField({
  1. Key? key,
  2. TextEditingController? controller,
  3. FocusNode? focusNode,
  4. String? label,
  5. String? hint,
  6. String? helperText,
  7. String? validator(
    1. String?
    )?,
  8. void onChanged(
    1. String
    )?,
  9. void onSubmitted(
    1. String
    )?,
  10. LabelPosition labelPosition = LabelPosition.above,
  11. TextFieldStyle fieldStyle = TextFieldStyle.outlined,
  12. int minLines = 3,
  13. int maxLines = 10,
  14. int? maxLength,
  15. bool showCounter = false,
  16. TextInputType keyboardType = TextInputType.multiline,
  17. TextInputAction textInputAction = TextInputAction.newline,
  18. bool enabled = true,
  19. bool readOnly = false,
  20. bool isRequired = false,
  21. double? borderRadius,
  22. Color? borderColor,
  23. Color? focusedBorderColor,
  24. Color? backgroundColor,
  25. EdgeInsetsGeometry? contentPadding,
  26. double? labelFontSize,
  27. double? fontSize,
  28. double? hintFontSize,
  29. bool? enableSecurity,
})

Implementation

const AppMultiLineTextField({
  super.key,
  this.controller,
  this.focusNode,
  this.label,
  this.hint,
  this.helperText,
  this.validator,
  this.onChanged,
  this.onSubmitted,
  this.labelPosition = LabelPosition.above,
  this.fieldStyle = TextFieldStyle.outlined,
  this.minLines = 3,
  this.maxLines = 10,
  this.maxLength,
  this.showCounter = false,
  this.keyboardType = TextInputType.multiline,
  this.textInputAction = TextInputAction.newline,
  this.enabled = true,
  this.readOnly = false,
  this.isRequired = false,
  this.borderRadius,
  this.borderColor,
  this.focusedBorderColor,
  this.backgroundColor,
  this.contentPadding,
  this.labelFontSize,
  this.fontSize,
  this.hintFontSize,
  this.enableSecurity,
});