mobile/flutter_gemma_mobile library
Classes
- DownloadProgress
- Progress information for model downloads
- DownloadTaskRegistry
- Registry to track background_downloader tasks by filename
- 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
- ModelPreferencesManager
- Unified SharedPreferences operations for model management
- ModelSpec
- Base specification for any model (inference or embedding)
- ResumeChecker
- Smart resume detection utility
- ResumeRecommendation
- Resume recommendation for a specific file
- UnifiedDownloadEngine
- Unified download engine for all model types
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