copyWith method
AgentStepsSpec
copyWith({
- StyleSpec<
BoxSpec> ? container, - StyleSpec<
FlexBoxSpec> ? trigger, - StyleSpec<
IconSpec> ? icon, - StyleSpec<
TextSpec> ? label, - StyleSpec<
IconSpec> ? indicator, - StyleSpec<
FlexBoxSpec> ? rail,
inherited
Creates a copy of this spec with the given fields replaced by the non-null parameter values.
Implementation
@override
AgentStepsSpec copyWith({
StyleSpec<BoxSpec>? container,
StyleSpec<FlexBoxSpec>? trigger,
StyleSpec<IconSpec>? icon,
StyleSpec<TextSpec>? label,
StyleSpec<IconSpec>? indicator,
StyleSpec<FlexBoxSpec>? rail,
}) {
return AgentStepsSpec(
container: container ?? this.container,
trigger: trigger ?? this.trigger,
icon: icon ?? this.icon,
label: label ?? this.label,
indicator: indicator ?? this.indicator,
rail: rail ?? this.rail,
);
}