canMergeBothParagraphs abstract method

bool canMergeBothParagraphs({
  1. required Paragraph paragraph,
  2. required Paragraph nextParagraph,
})

Decides if we will merge the current Pr ↓ with the nextParagraph

Implementation

bool canMergeBothParagraphs(
    {required Paragraph paragraph, required Paragraph nextParagraph});