TextEditor constructor
const
TextEditor({
- Key? key,
- String? heroTag,
- TextLayerData? layer,
- ProImageEditorCallbacks callbacks = const ProImageEditorCallbacks(),
- ProImageEditorConfigs configs = const ProImageEditorConfigs(),
- required ThemeData theme,
Creates a TextEditor
widget.
The heroTag
, layer
, i18n, customWidgets
, and imageEditorTheme
parameters are required.
Implementation
const TextEditor({
super.key,
this.heroTag,
this.layer,
this.callbacks = const ProImageEditorCallbacks(),
this.configs = const ProImageEditorConfigs(),
required this.theme,
});