RenderFractionalTranslation constructor

RenderFractionalTranslation(
  1. {required Offset translation,
  2. bool transformHitTests = true,
  3. RenderBox? child}
)

Creates a render object that translates its child's painting.

Implementation

RenderFractionalTranslation({
  required Offset translation,
  this.transformHitTests = true,
  RenderBox? child,
}) : _translation = translation,
     super(child);