anyModalDepth property
ValueListenable<int>
get
anyModalDepth
Read-only listenable of the current sheet/popup/dialog depth (any modal-like route, not just full-screen sheets).
Implementation
static ValueListenable<int> get anyModalDepth => _anyModalDepth;