path property Null safety

Iterable<HitTestEntry> path

An unmodifiable list of HitTestEntry objects recorded during the hit test.

The first entry in the path is the most specific, typically the one at the leaf of tree being hit tested. Event propagation starts with the most specific (i.e., first) entry and proceeds in order through the path.

Implementation

Iterable<HitTestEntry> get path => _path;