newPageNeeded method

bool newPageNeeded(
  1. double availableSpace
)

Implementation

bool newPageNeeded(double availableSpace) =>
    (freeSpace == null) || (availableSpace < freeSpace!);