ZefyrEditor constructor
const
ZefyrEditor({
- Key? key,
- required ZefyrController controller,
- FocusNode? focusNode,
- ClipboardController? clipboardController,
- ScrollController? scrollController,
- bool scrollable = true,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- bool autofocus = false,
- bool showCursor = true,
- bool readOnly = false,
- bool enableInteractiveSelection = true,
- bool enableSuggestions = false,
- double? minHeight,
- double? maxHeight,
- double? scrollAreaMinHeight,
- bool expands = false,
- TextCapitalization textCapitalization = TextCapitalization.sentences,
- Brightness keyboardAppearance = Brightness.light,
- ScrollPhysics? scrollPhysics,
- bool? showSelectionHandles,
- ValueChanged<
Uri> ? onLaunchUrl, - ZefyrEmbedBuilder embedBuilder = defaultZefyrEmbedBuilder,
Implementation
const ZefyrEditor({
Key? key,
required this.controller,
this.focusNode,
this.clipboardController,
this.scrollController,
this.scrollable = true,
this.padding = EdgeInsets.zero,
this.autofocus = false,
this.showCursor = true,
this.readOnly = false,
this.enableInteractiveSelection = true,
this.enableSuggestions = false,
this.minHeight,
this.maxHeight,
this.scrollAreaMinHeight,
this.expands = false,
this.textCapitalization = TextCapitalization.sentences,
this.keyboardAppearance = Brightness.light,
this.scrollPhysics,
this.showSelectionHandles,
this.onLaunchUrl,
this.embedBuilder = defaultZefyrEmbedBuilder,
}) : super(key: key);