translate method

Widget translate({
  1. required Offset offset,
  2. bool transformHitTests = true,
  3. Key? key,
})

Implementation

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