isStacked property

bool get isStacked

Whether this sheet was pushed on top of another StreamSheetRoute.

Stacked sheets render a back-chevron in their auto-implied StreamSheetHeader leading slot (popping reveals the parent sheet); root sheets render a close-cross (popping dismisses the sheet entirely).

Implementation

bool get isStacked => parentSheet != null;