QuillEditor.basic constructor

QuillEditor.basic({
  1. QuillController? controller,
  2. QuillEditorConfigurations? configurations,
  3. FocusNode? focusNode,
  4. ScrollController? scrollController,
})

Implementation

factory QuillEditor.basic({
  /// The controller for the quill editor widget of flutter quill
  QuillController? controller,

  /// The configurations for the quill editor widget of flutter quill
  QuillEditorConfigurations? configurations,
  FocusNode? focusNode,
  ScrollController? scrollController,
}) {
  return QuillEditor(
    scrollController: scrollController ?? ScrollController(),
    focusNode: focusNode ?? FocusNode(),
    controller: controller,
    configurations: configurations?.copyWith(),
  );
}