EasyStep constructor

const EasyStep({
  1. Icon? icon,
  2. Icon? finishIcon,
  3. Icon? activeIcon,
  4. String? title,
  5. String? lineText,
  6. Widget? customStep,
  7. Widget? customTitle,
  8. Widget? customLineWidget,
  9. bool topTitle = false,
  10. bool enabled = true,
})

Create a new Step with custom icon and optional title

Implementation

const EasyStep({
  this.icon,
  this.finishIcon,
  this.activeIcon,
  this.title,
  this.lineText,
  this.customStep,
  this.customTitle,
  this.customLineWidget,
  this.topTitle = false,
  this.enabled = true,
}) : assert(icon != null || customStep != null);