AgentCard constructor

const AgentCard({
  1. Key? key,
  2. required AgentDisplayInfo agent,
  3. required bool isExpanded,
  4. required VoidCallback onToggle,
  5. VoidCallback? onCancel,
  6. bool compact = false,
})

Implementation

const AgentCard({
  super.key,
  required this.agent,
  required this.isExpanded,
  required this.onToggle,
  this.onCancel,
  this.compact = false,
});