blockElementMatcher function

CustomRenderMatcher blockElementMatcher()

Implementation

CustomRenderMatcher blockElementMatcher() => (context) {
      return context.tree.style.display == Display.BLOCK &&
          (context.tree.children.isNotEmpty ||
              context.tree.element?.localName == "hr");
    };