INNER CODE UNIT · Dart
ScreenTransitionAnimationSettings
BilalShahid13/PersistentBottomNavBar · lib/models/nav_bar_animation.model.dart:15
class ScreenTransitionAnimationSettings {
const ScreenTransitionAnimationSettings({
this.animateTabTransition = false,
this.duration = const Duration(milliseconds: 300),
this.curve = Curves.ease,
this.screenTransitionAnimationType = ScreenTransitionAnimationType.fadeIn,
});
final bool animateTabTransition;
final Duration duration;
final Curve curve;
final ScreenTransitionAnimationType screenTransitionAnimationType;
}
class ItemAnimationSettings {
const ItemAnimationSettings(
{this.duration = const Duration(milliseconds: 400),
this.curve = Curves.ease});
final Duration duration;