Skip to content

lineSpacing not work expected #2601

Closed
Closed
@taosimple

Description

@taosimple

Have you checked for an existing issue?

Flutter Quill Version

11.4.1

Steps to Reproduce

QuillEditor(
                focusNode: _editorFocusNode,
                scrollController: _editorScrollController,
                controller: _controller,
                config: QuillEditorConfig(
                  placeholder: 'Start writing your notes...',
                  padding: const EdgeInsets.all(6),
                  customStyles: DefaultStyles(
                    paragraph: DefaultTextBlockStyle(TextStyle(
                      fontSize: 20,
                      height: 2,
                      color: Colors.black,
                    ), HorizontalSpacing.zero, VerticalSpacing.zero, VerticalSpacing(50, 50), BoxDecoration(),),
                  ),
                ),
              )

Set paragraph lineSpace to VerticalSpacing(50, 50) but not increase space between text lines.

Image

Expected results

Increase space between text lines.

Actual results

No effect

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions