discontinuedPackage flutter_ai_operator has been discontinued and replaced by flutter_app_copilot.
flutter_ai_operator
library
Classes
-
AiActionHandler
-
Runs the functions an AI model asks the app to call.
-
AIConfiguration
-
Runtime configuration for an AI session: instructions and available tools.
-
AiExecutableAction<Input, Output, Failure extends Error>
-
One app capability an AI model can call, such as a use case.
-
AIService
-
One AI provider (Gemini, OpenAI, or Claude) behind a single contract.
-
AIServiceFactory
-
Creates a provider-specific AIService from runtime configuration.
-
ChatMessage
-
A message sent to or from the AI model.
-
Either<L, R>
-
Represents a value of one of two possible types.
Instances of Either are either an instance of Left or Right.
-
FunctionCallResponse
-
A function call response from the model.
-
FunctionDefinition
-
Describes an app function that a supported AI provider may call.
-
FunctionParameter
-
Named function argument: parameter key plus its FunctionParameterValue.
-
FunctionParameterValue
-
Schema metadata for one function argument (type, description, allowed values).
-
Left<L, R>
-
Used for "failure"
-
Right<L, R>
-
Used for "success"