ScaleEffect constructor

const ScaleEffect({
  1. double verticalScale = 0.2,
  2. double horizontalScale = 0.2,
  3. bool snap = true,
  4. AlignmentGeometry alignment = Alignment.center,
  5. AnimationType type = AnimationType.always,
})

Implementation

const ScaleEffect(
    {this.verticalScale = 0.2,
    this.horizontalScale = 0.2,
    this.snap = true,
    this.alignment = Alignment.center,
    this.type = AnimationType.always})
    : assert(verticalScale >= 0.0),
      assert(horizontalScale >= 0.0);