HubbleStep constructor

const HubbleStep({
  1. double lineWidth = 24,
  2. bool showLine = true,
  3. Color? lineColor,
  4. IndexedWidgetBuilder? iconBuilder,
  5. required Widget title,
  6. Widget? subtitle,
  7. Widget? content,
  8. StepState state = StepState.indexed,
  9. bool isActive = false,
  10. bool isExpanded = false,
})

Creates a step for a HubbleStepper.

The title, content, and state arguments must not be null.

Implementation

const HubbleStep({
  this.lineWidth = 24,
  this.showLine = true,
  this.lineColor,
  this.iconBuilder,
  required this.title,
  this.subtitle,
  this.content,
  this.state = StepState.indexed,
  this.isActive = false,
  this.isExpanded = false,
})  : assert(title != null),
      assert(state != null);