MatrixTransition constructor

const MatrixTransition({
  1. Key? key,
  2. required Animation<double> animation,
  3. required TransformCallback onTransform,
  4. Alignment alignment = Alignment.center,
  5. FilterQuality? filterQuality,
  6. Widget? child,
})

Creates a matrix transition.

The alignment argument defaults to Alignment.center.

Implementation

const MatrixTransition({
  super.key,
  required Animation<double> animation,
  required this.onTransform,
  this.alignment = Alignment.center,
  this.filterQuality,
  this.child,
}) : super(listenable: animation);