stackDepth property

int get stackDepth
inherited

Number of items currently in the navigation stack.

Implementation

int get stackDepth => _stack.length;