AgentSources constructor
const
AgentSources({
- Key? key,
- required List<
AgentSource> sources, - String labelBuilder(
- int count
- bool? expanded,
- bool defaultExpanded = false,
- ValueChanged<
bool> ? onExpandedChanged, - ValueChanged<
AgentSource> ? onSourcePressed, - AgentGlyphBuilder? glyphBuilder,
- DisclosureStyler disclosureStyle = const DisclosureStyler.create(),
- ButtonStyler sourceStyle = const ButtonStyler.create(),
- AgentSourcesStyler style = const AgentSourcesStyler.create(),
- AgentSourcesSpec? styleSpec,
Creates the sources line for sources.
Implementation
const AgentSources({
super.key,
required this.sources,
this.labelBuilder,
this.expanded,
this.defaultExpanded = false,
this.onExpandedChanged,
this.onSourcePressed,
this.glyphBuilder,
this.disclosureStyle = const DisclosureStyler.create(),
this.sourceStyle = const ButtonStyler.create(),
this.style = const AgentSourcesStyler.create(),
this.styleSpec,
});