GlobalToggleProperties<T> constructor

const GlobalToggleProperties<T>({
  1. required double position,
  2. required T current,
  3. required int currentIndex,
  4. required T? previous,
  5. required List<T> values,
  6. required double previousPosition,
  7. required TextDirection textDirection,
  8. required ToggleMode mode,
  9. required double loadingAnimationValue,
  10. required bool active,
  11. 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;