mobile/flutter_gemma_mobile library

Classes

DownloadProgress
Progress information for model downloads
EmbeddingModelFile
Model file for embedding models (.bin files)
EmbeddingModelSpec
Specification for embedding models (model.bin + tokenizer.json)
EmbeddingTokenizerFile
Tokenizer file for embedding models (.json files)
FlutterGemma
InferenceModelFile
Model file for inference models (.bin, .task files)
InferenceModelSpec
Specification for inference models (main model + optional LoRA)
LoraModelFile
Model file for LoRA weights
MobileEmbeddingModel
MobileInferenceModel
MobileInferenceModelSession
MobileModelManager
Main unified model manager that orchestrates all model operations
ModelFile
Represents a single file that belongs to a model
ModelFileSystemManager
Unified file system operations for model management (Mobile only)
ModelSpec
Base specification for any model (inference or embedding)
OrphanedFileInfo
Information about a potentially orphaned file
ResumeChecker
Smart resume detection utility
ResumeRecommendation
Resume recommendation for a specific file
StorageStats
Storage statistics

Enums

ModelManagementType
Base enumeration for different model management types
ResumeAction
Recommended action based on resume status
ResumeStatus
Status of resume possibility for a file

Constants

eventChannel → const EventChannel

Exceptions / Errors

ModelDownloadException
Exception thrown when model download fails
ModelException
Base exception for model management operations
ModelStorageException
Exception thrown when model storage operations fail
ModelValidationException
Exception thrown when model file validation fails