TabAnimationModel constructor

const TabAnimationModel({
  1. bool enabled = true,
  2. TabAnimationType animationType = TabAnimationType.scale,
  3. double? scaleFactor = 1.2,
  4. Duration? duration = const Duration(milliseconds: 250),
  5. Color? selectedColor,
  6. Color? unselectedColor,
  7. EdgeInsets? selectedPadding,
  8. EdgeInsets? unselectedPadding,
  9. Curve? curve = Curves.easeInOut,
  10. Curve? scaleCurve = Curves.easeInOut,
  11. Curve? opacityCurve = Curves.easeInOut,
  12. Curve? containerCurve = Curves.easeInOut,
  13. WrapperType? selectedWrapperType,
  14. WrapperModel? selectedWrapperModel,
  15. WrapperType? unselectedWrapperType,
  16. WrapperModel? unselectedWrapperModel,
})

Implementation

const TabAnimationModel({
  this.enabled = true,
  this.animationType = TabAnimationType.scale,
  this.scaleFactor = 1.2,
  this.duration = const Duration(milliseconds: 250),
  this.selectedColor,
  this.unselectedColor,
  this.selectedPadding,
  this.unselectedPadding,
  this.curve = Curves.easeInOut,
  this.scaleCurve = Curves.easeInOut,
  this.opacityCurve = Curves.easeInOut,
  this.containerCurve = Curves.easeInOut,
  this.selectedWrapperType,
  this.selectedWrapperModel,
  this.unselectedWrapperType,
  this.unselectedWrapperModel,
});