findAll<S> method

  1. @override
Iterable<S> findAll <S>(Offset regionOffset)
override

Returns an iterable of S values that corresponds to the point described by regionOffset on all layers under the point.

Returns an empty list if no matching region is found.

The main way for a value to be found here is by pushing an AnnotatedRegionLayer into the layer tree.

See also:

Implementation

@override
Iterable<S> findAll<S>(Offset regionOffset) sync* {
  if (!clipPath.contains(regionOffset))
    return;
  yield* super.findAll<S>(regionOffset);
}