PromptTemplates class

Utility class for AI prompt templates

Constructors

PromptTemplates()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

batchTranslationTemplate({required List<String> texts, required String targetLanguage, required String context}) String
Template for batch translation prompts
keyGenerationTemplate({required String text, required String context, required String widgetType, required String namingConvention, required int maxLength}) String
Template for key generation prompts
translationTemplate({required String text, required String targetLanguage, required String context, required String uiElement}) String
Template for translation prompts