SliverHitTest typedef
Method signature for hit testing a RenderSliver.
Used by SliverHitTestResult.addWithAxisOffset to hit test RenderSliver children.
See also:
- RenderSliver.hitTest, which documents more details around hit testing RenderSlivers.
Implementation
typedef SliverHitTest = bool Function(SliverHitTestResult result, { required double mainAxisPosition, required double crossAxisPosition });