RichTextEditor constructor
const
RichTextEditor({
- Key? key,
- String? initialValue,
- int? maxLines,
- TextAlign textAlign = TextAlign.start,
- TextStyle? style,
- TextEditingController? controller,
- InputDecoration? decoration,
- dynamic onChanged()?,
- bool autoFocus = false,
- int? maxLength,
- int? minLines,
- TextInputType? keyboardType,
- FocusNode? focusNode,
- bool readOnly = false,
- SuggestionController? suggestionController,
- TextInputAction? textInputAction,
- TextDirection? textDirection,
- void onEditingComplete()?,
- List<
TextInputFormatter> ? inputFormatters, - TextAlignVertical? textAlignVertical,
- void onFieldSubmitted()?,
- void onSaved()?,
- String? validator()?,
- 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);