OmegaTextArea constructor

OmegaTextArea({
  1. Key? key,
  2. bool enabled = true,
  3. bool visible = true,
  4. String label = '',
  5. double labelSize = 14,
  6. Color labelColor = Colors.black,
  7. String? hint,
  8. int? maxLength,
  9. TextInputType keyboardType = TextInputType.text,
  10. dynamic onChanged(
    1. String
    )?,
  11. dynamic onSaved(
    1. String?
    )?,
  12. dynamic onTap()?,
  13. FocusNode? focusNode,
  14. List<TextInputFormatter>? inputFormatters,
  15. String? validator(
    1. String?
    )?,
  16. bool showRequiredLabel = false,
  17. bool autofocus = false,
  18. TextCapitalization textCapitalization = TextCapitalization.none,
  19. String? initialValue,
  20. int? minLines = 2,
  21. int? maxLines = 10,
  22. TextStyle? labelStyle,
})

Implementation

OmegaTextArea({
  Key? key,
  this.enabled = true,
  this.visible = true,
  this.label = '',
  this.labelSize = 14,
  this.labelColor = Colors.black,
  this.hint,
  this.maxLength,
  this.keyboardType = TextInputType.text,
  this.onChanged,
  this.onSaved,
  this.onTap,
  this.focusNode,
  this.inputFormatters,
  this.validator,
  this.showRequiredLabel = false,
  this.autofocus = false,
  this.textCapitalization = TextCapitalization.none,
  this.initialValue,
  this.minLines = 2,
  this.maxLines = 10,
  this.labelStyle,
}) : super(key: key);