SliverOffset constructor

const SliverOffset(
  1. double dx,
  2. double dy,
  3. double cross,
  4. double main,
)

Creates an offset with cross and main extents.

Implementation

const SliverOffset(super.dx, super.dy, this.cross, this.main);