SketchToolTemplate class
{@image } A Tool template that allows the user to sketch a drawing in response to a prompt. Credit to KodeCo for creating an amazing and in-depth tutorial that allowed this to be made: https://www.kodeco.com/25237210-building-a-drawing-app-in-flutter
- Inheritance
-
- Object
- ToolCardTemplate
- SketchToolTemplate
Constructors
- SketchToolTemplate({required dynamic templatePrompt, required dynamic badgeIcon})
Properties
- 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
- 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