RichTextEditor constructor

const RichTextEditor({
  1. Key? key,
  2. String? initialValue,
  3. int? maxLines,
  4. TextAlign textAlign = TextAlign.start,
  5. TextStyle? style,
  6. TextEditingController? controller,
  7. InputDecoration? decoration,
  8. dynamic onChanged(
    1. String
    )?,
  9. bool autoFocus = false,
  10. int? maxLength,
  11. int? minLines,
  12. TextInputType? keyboardType,
  13. FocusNode? focusNode,
  14. bool readOnly = false,
  15. SuggestionController? suggestionController,
  16. TextInputAction? textInputAction,
  17. TextDirection? textDirection,
  18. void onEditingComplete()?,
  19. List<TextInputFormatter>? inputFormatters,
  20. TextAlignVertical? textAlignVertical,
  21. void onFieldSubmitted(
    1. String
    )?,
  22. void onSaved(
    1. String?
    )?,
  23. String? validator(
    1. String?
    )?,
  24. EdgeInsetsGeometry padding = const EdgeInsets.only(top: 16.0),
})

Implementation

const RichTextEditor(
    {Key? key,
    this.initialValue,
    this.maxLines,
    this.textAlign = TextAlign.start,
    this.style,
    this.controller,
    this.decoration,
    this.onChanged,
    this.autoFocus = false,
    this.maxLength,
    this.minLines,
    this.keyboardType,
    this.focusNode,
    this.readOnly = false,
    this.suggestionController,
    this.textInputAction,
    this.textDirection,
    this.onEditingComplete,
    this.inputFormatters,
    this.textAlignVertical,
    this.onFieldSubmitted,
    this.onSaved,
    this.validator,
    this.padding = const EdgeInsets.only(top: 16.0)})
    : super(key: key);