AnimatedBouncing constructor

const AnimatedBouncing({
  1. required Widget child,
  2. double scale = 1.0,
  3. double lowerBound = -0.1,
  4. double upperBound = 0.1,
  5. bool shouldAnimate = false,
  6. Duration duration = const Duration(milliseconds: 250),
})

Implementation

const AnimatedBouncing({
  required this.child,
  this.scale = 1.0,
  this.lowerBound = -0.1,
  this.upperBound = 0.1,
  this.shouldAnimate = false,
  this.duration = const Duration(milliseconds: 250),
}) : assert(lowerBound >= -1.0 &&
          lowerBound <= 1.0 &&
          upperBound >= -1.0 &&
          upperBound <= 1.0);