CoolStepperConfig constructor
const
CoolStepperConfig({
- Widget? nextButton,
- Widget? backButton,
- Widget? finishButton,
- String backText = 'PREV',
- String nextText = 'NEXT',
- String stepText = 'STEP',
- String ofText = 'OF',
- TextStyle stepOfTextStyle = const TextStyle(fontWeight: FontWeight.bold),
- Color headerColor = const Color(0xffbdbdbd),
- Color stepColor = Colors.transparent,
- 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.nextButton,
this.backButton,
this.finishButton,
this.backText = 'PREV',
this.nextText = 'NEXT',
this.stepText = 'STEP',
this.ofText = 'OF',
this.stepOfTextStyle = const TextStyle(
fontWeight: FontWeight.bold,
),
this.headerColor = const Color(0xffbdbdbd),
this.stepColor = Colors.transparent,
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),
});