DualColumnInputToolTemplate class
{@image } A tool template for providing 2 different columns for input. We use this for pro/cons flows, and to help users compare and contrast things.
- Inheritance
-
- Object
- ToolCardTemplate
- DualColumnInputToolTemplate
Constructors
- DualColumnInputToolTemplate({required String prompt1, required String prompt2, required dynamic templatePrompt, required dynamic badgeIcon})
Properties
- answer1 ↔ String?
-
getter/setter pair
- answer2 ↔ String?
-
getter/setter pair
- badgeIcon → IconData
-
The badge associated with a tool input card
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- prompt1 → String
-
final
- prompt2 → String
-
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