RevealedOffset constructor

const RevealedOffset({
  1. required double offset,
  2. required Rect rect,
})

Instantiates a return value for RenderAbstractViewport.getOffsetToReveal.

Implementation

const RevealedOffset({
  required this.offset,
  required this.rect,
});