debugAssertLayoutUpToDate method
void
debugAssertLayoutUpToDate()
Assert that the last layout still matches the constraints.
Implementation
void debugAssertLayoutUpToDate() {
assert(
textLayoutLastMaxWidth == constraints.maxWidth &&
textLayoutLastMinWidth == constraints.minWidth,
'Last width ($textLayoutLastMinWidth, $textLayoutLastMaxWidth) not the same as max width constraint (${constraints.minWidth}, ${constraints.maxWidth}).',
);
}