DrivenSwitcherThemeData constructor

const DrivenSwitcherThemeData({
  1. Duration? duration,
  2. Duration? reverseDuration,
  3. Curve? switchInCurve,
  4. Curve? switchOutCurve,
  5. AnimatedSwitcherTransitionBuilder? transitionBuilder,
  6. AnimatedSwitcherLayoutBuilder? layoutBuilder,
  7. bool maintainKey = true,
})

Creates a theme data that can be used for DrivenSwitcherTheme.

Implementation

const DrivenSwitcherThemeData({
  this.duration,
  this.reverseDuration,
  this.switchInCurve,
  this.switchOutCurve,
  this.transitionBuilder,
  this.layoutBuilder,
  this.maintainKey = true,
});