depth property

int depth

The number of viewports that this notification has bubbled through.

Typically listeners only respond to notifications with a depth of zero.

Specifically, this is the number of Widgets representing RenderAbstractViewport render objects through which this notification has bubbled.

Implementation

int get depth => _depth;