SmartStateAnimationConfig constructor

const SmartStateAnimationConfig({
  1. Duration duration = const Duration(milliseconds: 300),
  2. Curve curve = Curves.easeInOut,
  3. SmartStateTransitionType type = SmartStateTransitionType.fade,
  4. Duration overlayDuration = const Duration(milliseconds: 250),
  5. Curve overlayCurve = Curves.easeOut,
  6. 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,
});