transformedTranslate method

Widget transformedTranslate({
  1. required Offset offset,
  2. bool transformHitTests = true,
  3. FilterQuality filterQuality = FilterQuality.low,
  4. Key? key,
})

Translates the child's position. Offset is in logical pixels.

Implementation

Widget transformedTranslate({
  required Offset offset,
  bool transformHitTests = true,
  FilterQuality filterQuality = FilterQuality.low,
  Key? key,
}) {
  return Transform.translate(
    key: key,
    offset: offset,
    transformHitTests: transformHitTests,
    filterQuality: filterQuality,
    child: this,
  );
}