ToolCallBuilder class

Builder for AI tool/function call blocks

Renders tool calls with status indicators, tool name, parameters, and results in a distinctive container.

Inheritance

Constructors

ToolCallBuilder({void onToolCallTap(ToolCallNode toolCall)?, bool showParameters = true, bool showResult = true})
Creates a new tool call builder
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
onToolCallTap → void Function(ToolCallNode toolCall)?
Callback when tool call is tapped
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showParameters → bool
Whether to show parameters
final
showResult → bool
Whether to show result
final

Methods

build(MarkdownNode node, MarkdownStyleSheet styleSheet, MarkdownRenderContext context) → Widget
Builds a widget from a Markdown node
override
canBuild(MarkdownNode node) → bool
Checks if this builder can handle the given node type
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited