Creates an offset with cross and main extents.
const SliverOffset(super.dx, super.dy, this.cross, this.main);