CoolStepperConfig constructor
const
CoolStepperConfig({
- String backText = 'PREV',
- String nextText = 'NEXT',
- String stepText = 'STEP',
- String ofText = 'OF',
- Color headerColor = const Color(0xffbdbdbd),
- Color? iconColor,
- Icon icon = const Icon(Icons.help_outline, size: 18, color: Color(0x61000000)),
- TextStyle titleTextStyle = const TextStyle(fontSize: 16.0, fontWeight: FontWeight.bold, color: Color(0x61000000)),
- TextStyle subtitleTextStyle = const TextStyle(fontSize: 14.0, fontWeight: FontWeight.w600, color: Color(0xFF000000)),
- List<
String> ? backTextList, - List<
String> ? nextTextList, - String finalText = 'FINISH',
- TextStyle nextTextStyle = const TextStyle(color: Colors.green),
- TextStyle backTextStyle = const TextStyle(color: Colors.grey),
Implementation
const CoolStepperConfig({
this.backText = 'PREV',
this.nextText = 'NEXT',
this.stepText = 'STEP',
this.ofText = 'OF',
this.headerColor = const Color(0xffbdbdbd),
this.iconColor,
this.icon = const Icon(
Icons.help_outline,
size: 18,
color: Color(0x61000000),
),
this.titleTextStyle = const TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold,
color: Color(0x61000000),
),
this.subtitleTextStyle = const TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xFF000000),
),
this.backTextList,
this.nextTextList,
this.finalText = 'FINISH',
this.nextTextStyle = const TextStyle(color: Colors.green),
this.backTextStyle = const TextStyle(color: Colors.grey),
});