AgentCard constructor
const
AgentCard({
- Key? key,
- required AgentDisplayInfo agent,
- required bool isExpanded,
- required VoidCallback onToggle,
- VoidCallback? onCancel,
- bool compact = false,
Implementation
const AgentCard({
super.key,
required this.agent,
required this.isExpanded,
required this.onToggle,
this.onCancel,
this.compact = false,
});