RevealedOffset constructor

const RevealedOffset({@required double offset, @required Rect rect })

Instantiates a return value for RenderAbstractViewport.getOffsetToReveal.

Implementation

const RevealedOffset({
  @required this.offset,
  @required this.rect,
}) : assert(offset != null), assert(rect != null);