DrivenSwitcherThemeData constructor
const
DrivenSwitcherThemeData({
- Duration? duration,
- Duration? reverseDuration,
- Curve? switchInCurve,
- Curve? switchOutCurve,
- AnimatedSwitcherTransitionBuilder? transitionBuilder,
- AnimatedSwitcherLayoutBuilder? layoutBuilder,
- 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,
});