ScaleTransitionModifier constructor

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

Creates a scale transition.

The scale argument must not be null. The alignment argument defaults to Alignment.center.

Implementation

const ScaleTransitionModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.scale,
  this.alignment = Alignment.center,
  this.filterQuality,
});