depth property

int get depth

The number of dialogs in the stack.

Implementation

int get depth => _stack.length;