DDSStepper constructor

const DDSStepper({
  1. Key? key,
  2. double connectorThickness = 2.0,
  3. int currentStep = 0,
  4. required List<StepperData> steps,
  5. Axis type = Axis.horizontal,
  6. EdgeInsetsGeometry? padding,
  7. Color inActiveBarColor = const Color(0xFFB1B1B1),
  8. Color activeBarColor = const Color(0xFFF15A29),
  9. double iconSize = 40.0,
  10. Widget? activeIcon,
  11. Widget? inactiveIcon,
  12. Widget? completedIcon,
  13. TextStyle? activeTitleStyle,
  14. TextStyle? inactiveTitleStyle,
  15. TextStyle? activeSubtitleStyle,
  16. TextStyle? inactiveSubtitleStyle,
  17. double titleFontSize = 8.0,
  18. double subtitleFontSize = 8.0,
  19. String fontFamily = 'Inter',
  20. FontWeight titleFontWeight = FontWeight.w600,
  21. FontWeight subtitleFontWeight = FontWeight.w600,
  22. Color activeTitleColor = const Color(0xFF222222),
  23. Color inactiveTitleColor = const Color(0xFFB1B1B1),
  24. Color activeSubtitleColor = const Color(0xFF222222),
  25. Color inactiveSubtitleColor = const Color(0xFFB1B1B1),
  26. bool invertTextPosition = false,
  27. double iconPadding = 0.5,
})

Implementation

const DDSStepper({
  Key? key,
  this.connectorThickness = 2.0,
  this.currentStep = 0,
  required this.steps,
  this.type = Axis.horizontal,
  this.padding,
  this.inActiveBarColor = const Color(0xFFB1B1B1),
  this.activeBarColor = const Color(0xFFF15A29),
  this.iconSize = 40.0,
  this.activeIcon,
  this.inactiveIcon,
  this.completedIcon,
  this.activeTitleStyle,
  this.inactiveTitleStyle,
  this.activeSubtitleStyle,
  this.inactiveSubtitleStyle,
  this.titleFontSize = 8.0,
  this.subtitleFontSize = 8.0,
  this.fontFamily = 'Inter',
  this.titleFontWeight = FontWeight.w600,
  this.subtitleFontWeight = FontWeight.w600,
  this.activeTitleColor = const Color(0xFF222222),
  this.inactiveTitleColor = const Color(0xFFB1B1B1),
  this.activeSubtitleColor = const Color(0xFF222222),
  this.inactiveSubtitleColor = const Color(0xFFB1B1B1),
  this.invertTextPosition = false,
  this.iconPadding = 0.5,
}) : super(key: key);