AgentSteps constructor
const
AgentSteps({
- Key? key,
- required List<
AgentStep> steps, - AgentRunStatus status = AgentRunStatus.working,
- Duration? duration,
- AgentRunClock? clock,
- AgentDisclosurePolicy policy = const AgentDisclosurePolicy(),
- bool? expanded,
- bool? defaultExpanded,
- ValueChanged<
bool> ? onExpandedChanged, - AgentStepsLabelBuilder? labelBuilder,
- String stepStatusLabelBuilder(
- AgentStepStatus status
- AgentShimmerBuilder? shimmer,
- AgentGlyphBuilder? glyphBuilder,
- DisclosureStyler disclosureStyle = const DisclosureStyler.create(),
- AgentStepStyler stepStyle = const AgentStepStyler.create(),
- AgentStepsStyler style = const AgentStepsStyler.create(),
- 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,
});