AgentSteps constructor

const AgentSteps({
  1. Key? key,
  2. required List<AgentStep> steps,
  3. AgentRunStatus status = AgentRunStatus.working,
  4. Duration? duration,
  5. AgentRunClock? clock,
  6. AgentDisclosurePolicy policy = const AgentDisclosurePolicy(),
  7. bool? expanded,
  8. bool? defaultExpanded,
  9. ValueChanged<bool>? onExpandedChanged,
  10. AgentStepsLabelBuilder? labelBuilder,
  11. String stepStatusLabelBuilder(
    1. AgentStepStatus status
    )?,
  12. AgentShimmerBuilder? shimmer,
  13. AgentGlyphBuilder? glyphBuilder,
  14. DisclosureStyler disclosureStyle = const DisclosureStyler.create(),
  15. AgentStepStyler stepStyle = const AgentStepStyler.create(),
  16. AgentStepsStyler style = const AgentStepsStyler.create(),
  17. AgentStepsSpec? styleSpec,
})

Creates the steps of a run.

Implementation

const AgentSteps({
  super.key,
  required this.steps,
  this.status = AgentRunStatus.working,
  this.duration,
  this.clock,
  this.policy = const AgentDisclosurePolicy(),
  this.expanded,
  this.defaultExpanded,
  this.onExpandedChanged,
  this.labelBuilder,
  this.stepStatusLabelBuilder,
  this.shimmer,
  this.glyphBuilder,
  this.disclosureStyle = const DisclosureStyler.create(),
  this.stepStyle = const AgentStepStyler.create(),
  this.style = const AgentStepsStyler.create(),
  this.styleSpec,
});