AgentToolIconBuilder typedef

AgentToolIconBuilder = Widget? Function(BuildContext context, String name, IconSpec spec)

Draws a tool's leading icon from its name and resolved spec. Returning null falls back to AgentGlyph.tool.

Implementation

typedef AgentToolIconBuilder =
    Widget? Function(BuildContext context, String name, IconSpec spec);