SliverHitTestEntry constructor

SliverHitTestEntry(
  1. RenderSliver target,
  2. {required double mainAxisPosition,
  3. required double crossAxisPosition}
)

Creates a sliver hit test entry.

Implementation

SliverHitTestEntry(
  super.target, {
  required this.mainAxisPosition,
  required this.crossAxisPosition,
});