SliverHitTest typedef

bool SliverHitTest (SliverHitTestResult result, { @required double mainAxisPosition, @required double crossAxisPosition })

Method signature for hit testing a RenderSLiver.

Used by SliverHitTestResult.addWithAxisOffset to hit test RenderSliver children.

See also:

Implementation

typedef SliverHitTest = bool Function(SliverHitTestResult result, { @required double mainAxisPosition, @required double crossAxisPosition });