TransitionAnimationConfig constructor

TransitionAnimationConfig({
  1. Offset from = const Offset(0.0, 1.0),
  2. Offset to = const Offset(0.0, 0.0),
  3. Curve interpolator = Curves.ease,
  4. Duration duration = const Duration(milliseconds: 300),
  5. List<double> opacityValues = const [0, 1],
  6. bool needStartAnimation = true,
  7. bool needEndAnimation = true,
  8. bool togetherSlide = false,
  9. bool sideClose = false,
  10. bool opaque = true,
  11. TransitionAnimationGlassConfig? glassConfig,
})

Implementation

TransitionAnimationConfig({
  this.from = const Offset(0.0, 1.0),
  this.to = const Offset(0.0, 0.0),
  this.interpolator = Curves.ease,
  this.duration = const Duration(milliseconds: 300),
  this.opacityValues = const [0, 1],
  this.needStartAnimation = true,
  this.needEndAnimation = true,
  this.togetherSlide = false,
  this.sideClose = false,
  this.opaque = true,
  this.glassConfig,
});