RenderFractionalTranslation({FractionalOffset translation, bool transformHitTests: true, RenderBox child })

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

The translation argument must not be null.

Source

RenderFractionalTranslation({
  FractionalOffset translation,
  this.transformHitTests: true,
  RenderBox child
}) : _translation = translation, super(child) {
  assert(translation == null || (translation.dx != null && translation.dy != null));
}