SmartStateAnimationConfig constructor
const
SmartStateAnimationConfig({
- Duration duration = const Duration(milliseconds: 300),
- Curve curve = Curves.easeInOut,
- SmartStateTransitionType type = SmartStateTransitionType.fade,
- Duration overlayDuration = const Duration(milliseconds: 250),
- Curve overlayCurve = Curves.easeOut,
- SmartStateTransitionType overlayType = SmartStateTransitionType.scale,
Implementation
const SmartStateAnimationConfig({
this.duration = const Duration(milliseconds: 300),
this.curve = Curves.easeInOut,
this.type = SmartStateTransitionType.fade,
this.overlayDuration = const Duration(milliseconds: 250),
this.overlayCurve = Curves.easeOut,
this.overlayType = SmartStateTransitionType.scale,
});