DDSStepper constructor
const
DDSStepper({
- Key? key,
- double connectorThickness = 2.0,
- int currentStep = 0,
- required List<
StepperData> steps, - Axis type = Axis.horizontal,
- EdgeInsetsGeometry? padding,
- Color inActiveBarColor = const Color(0xFFB1B1B1),
- Color activeBarColor = const Color(0xFFF15A29),
- double iconSize = 40.0,
- Widget? activeIcon,
- Widget? inactiveIcon,
- Widget? completedIcon,
- TextStyle? activeTitleStyle,
- TextStyle? inactiveTitleStyle,
- TextStyle? activeSubtitleStyle,
- TextStyle? inactiveSubtitleStyle,
- double titleFontSize = 8.0,
- double subtitleFontSize = 8.0,
- String fontFamily = 'Inter',
- FontWeight titleFontWeight = FontWeight.w600,
- FontWeight subtitleFontWeight = FontWeight.w600,
- Color activeTitleColor = const Color(0xFF222222),
- Color inactiveTitleColor = const Color(0xFFB1B1B1),
- Color activeSubtitleColor = const Color(0xFF222222),
- Color inactiveSubtitleColor = const Color(0xFFB1B1B1),
- bool invertTextPosition = false,
- 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);