TransitionAnimationConfig constructor
TransitionAnimationConfig({
- Offset from = const Offset(0.0, 1.0),
- Offset to = const Offset(0.0, 0.0),
- Curve interpolator = Curves.ease,
- Duration duration = const Duration(milliseconds: 300),
- List<
double> opacityValues = const [0, 1], - bool needStartAnimation = true,
- bool needEndAnimation = true,
- bool togetherSlide = false,
- bool sideClose = false,
- bool opaque = true,
- 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,
});