admitsRuns method
Whether the inspected paragraphs' texts admit them with format
applied to their runs.
Implementation
bool admitsRuns(TextRun Function(TextRun run) format) => paragraphs.every(
(block) => textFor(block).admits(
block.copyWith(
runs: [
for (final run in block.runs.isEmpty ? [TextRun('')] : block.runs)
format(run),
],
),
),
);