TimerToolTemplate class
{@image } A Tool template that gives the user a timer to finish a prompt.
- Inheritance
-
- Object
- ToolCardTemplate
- TimerToolTemplate
Constructors
- TimerToolTemplate({required Duration allotment, required VoidCallback onFinish, required dynamic templatePrompt, required dynamic badgeIcon})
Properties
- allotment → Duration
-
final
- badgeIcon → IconData
-
The badge associated with a tool input card
finalinherited
- dataMap ↔ List
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- onFinish → VoidCallback
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- templatePrompt → String
-
The string describing what to input into a tool
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onNextCard(
) → void -
inherited
-
onPreviousCard(
) → void -
inherited
-
returnActiveToolCard(
) → Widget -
override
-
returnTemplateSummary(
) → Widget -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited