flutter_local_ai library

Classes

AiResponse
Response from AI generation
FlutterLocalAi
Main class for interacting with local AI
FlutterLocalAiPlatform
GenerationConfig
Configuration for text generation
GenUiModuleSpec
A genUI module specification produced by the local AI from a user's goal.
LocalAiPlatformInfo
LocalAiTool
A Dart-defined tool that can be invoked by the native model on Apple platforms.
LocalAiUiGenerator
Turns a natural-language goal into a GenUiModuleSpec using the on-device model. Backends:
ModelDownloadStatus
ToolParameter
Parameter definition sent to the native tool runner.

Enums

LocalAiBackend
ModelDownloadStatusType
ModelFeatureStatus
ToolArgumentType
Supported parameter types for a tool definition.