RenderFractionalTranslation constructor

RenderFractionalTranslation({@required Offset translation, bool transformHitTests: true, RenderBox child })

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

The translation argument must not be null.

Implementation

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