CoolStepperConfig constructor

const CoolStepperConfig({
  1. Widget? nextButton,
  2. Widget? backButton,
  3. Widget? finishButton,
  4. String backText = 'PREV',
  5. String nextText = 'NEXT',
  6. String stepText = 'STEP',
  7. String ofText = 'OF',
  8. TextStyle stepOfTextStyle = const TextStyle(fontWeight: FontWeight.bold),
  9. Color headerColor = const Color(0xffbdbdbd),
  10. Color stepColor = Colors.transparent,
  11. Icon icon = const Icon(Icons.help_outline, size: 18, color: Color(0x61000000)),
  12. TextStyle titleTextStyle = const TextStyle(fontSize: 16.0, fontWeight: FontWeight.bold, color: Color(0x61000000)),
  13. TextStyle subtitleTextStyle = const TextStyle(fontSize: 14.0, fontWeight: FontWeight.w600, color: Color(0xFF000000)),
  14. List<String>? backTextList,
  15. List<String>? nextTextList,
  16. String finalText = 'FINISH',
  17. TextStyle nextTextStyle = const TextStyle(color: Colors.green),
  18. 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),
});