Creates a widget that translates its child's painting.
The translation argument must not be null.
Source
FractionalTranslation({
Key key,
@required this.translation,
this.transformHitTests: true,
Widget child
}) : super(key: key, child: child) {
assert(translation != null);
}