FractionalTranslation constructor

const FractionalTranslation({
  1. Key? key,
  2. required Offset translation,
  3. bool transformHitTests = true,
  4. Widget? child,
})

Creates a widget that translates its child's painting.

Implementation

const FractionalTranslation({
  super.key,
  required this.translation,
  this.transformHitTests = true,
  super.child,
});