CoolStepperConfig constructor

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