SliverHitTestEntry constructor
Creates a sliver hit test entry.
The mainAxisPosition
and crossAxisPosition
arguments must not be null.
Implementation
const SliverHitTestEntry(RenderSliver target, {
@required this.mainAxisPosition,
@required this.crossAxisPosition,
}) : assert(mainAxisPosition != null),
assert(crossAxisPosition != null),
super(target);