ScaleEffect constructor
const
ScaleEffect({
- double verticalScale = 0.2,
- double horizontalScale = 0.2,
- bool snap = true,
- AlignmentGeometry alignment = Alignment.center,
- 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);