GlobalToggleProperties<T> constructor
const
GlobalToggleProperties<T> ({
- required double position,
- required T current,
- required int currentIndex,
- required T? previous,
- required List<
T> values, - required double previousPosition,
- required TextDirection textDirection,
- required ToggleMode mode,
- required double loadingAnimationValue,
- required bool active,
- required Animation<
double> indicatorAppearingAnimation,
Implementation
const GlobalToggleProperties({
required this.position,
required this.current,
required this.currentIndex,
required this.previous,
required this.values,
required this.previousPosition,
required this.textDirection,
required this.mode,
required this.loadingAnimationValue,
required this.active,
required Animation<double> indicatorAppearingAnimation,
}) : _indicatorAppearingAnimation = indicatorAppearingAnimation;