TabAnimationModel constructor
const
TabAnimationModel({
- bool enabled = true,
- TabAnimationType animationType = TabAnimationType.scale,
- double? scaleFactor = 1.2,
- Duration? duration = const Duration(milliseconds: 250),
- Color? selectedColor,
- Color? unselectedColor,
- EdgeInsets? selectedPadding,
- EdgeInsets? unselectedPadding,
- Curve? curve = Curves.easeInOut,
- Curve? scaleCurve = Curves.easeInOut,
- Curve? opacityCurve = Curves.easeInOut,
- Curve? containerCurve = Curves.easeInOut,
- WrapperType? selectedWrapperType,
- WrapperModel? selectedWrapperModel,
- WrapperType? unselectedWrapperType,
- 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,
});