AgentStepSpec constructor

const AgentStepSpec({
  1. StyleSpec<FlexBoxSpec>? container,
  2. StyleSpec<IconSpec>? icon,
  3. StyleSpec<TextSpec>? title,
  4. StyleSpec<TextSpec>? detail,
})

Creates a spec; every slot defaults to empty.

Implementation

const AgentStepSpec({
  StyleSpec<FlexBoxSpec>? container,
  StyleSpec<IconSpec>? icon,
  StyleSpec<TextSpec>? title,
  StyleSpec<TextSpec>? detail,
}) : container = container ?? const StyleSpec(spec: FlexBoxSpec()),
     icon = icon ?? const StyleSpec(spec: IconSpec()),
     title = title ?? const StyleSpec(spec: TextSpec()),
     detail = detail ?? const StyleSpec(spec: TextSpec());