RichEditor constructor
const
RichEditor({
- Key? key,
- dynamic onChanged(
- String content
- dynamic onHeightChanged()?,
- dynamic onFocusChanged()?,
- dynamic onStyleTextFocused(
- List<
EditorStyleType> editorStyles
- List<
- bool isReadOnly = false,
- String? placeholder,
- String? initialValue,
- Color loadingColor = Colors.white,
- String fontColorHex = '#22313F',
- bool isShowLoadingIndicator = true,
- double loadingIndicatorSize = 30,
- bool useHybridComposition = true,
Implementation
const RichEditor({
Key? key,
this.onChanged,
this.onHeightChanged,
this.onFocusChanged,
this.onStyleTextFocused,
this.isReadOnly = false,
this.placeholder,
this.initialValue,
this.loadingColor = Colors.white,
this.fontColorHex = '#22313F',
this.isShowLoadingIndicator = true,
this.loadingIndicatorSize = 30,
this.useHybridComposition = true,
}) : super(key: key);