ChartTween<T> constructor

ChartTween<T>(
  1. T _begin,
  2. T _end, {
  3. bool allowCross = false,
  4. Duration duration = const Duration(milliseconds: 800),
  5. Duration? reverseDuration,
  6. AnimationBehavior behavior = AnimationBehavior.normal,
  7. Curve curve = Curves.easeInOut,
  8. double lowerBound = 0,
  9. double upperBound = 1,
  10. Duration delay = Duration.zero,
})

Implementation

ChartTween(
  this._begin,
  this._end, {
  bool allowCross = false,
  this.duration = const Duration(milliseconds: 800),
  this.reverseDuration,
  this.behavior = AnimationBehavior.normal,
  this.curve = Curves.easeInOut,
  this.lowerBound = 0,
  this.upperBound = 1,
  this.delay = Duration.zero,
}) : super(_begin) {
  _allowCross = allowCross;
}