Baseflow / Baseflow/flutter_cache_manager
IOFileSystem - problem using the Customize example in the docs for 2.0.0
- 主要语言
- Dart
- 星标
- 809
- 派生
- 510
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 1
描述
I'm upgrading from the previous version to 2.0.0 and trying to follow the new Customize instructions to use CacheManager instead of BaseCacheManager. The reference to IOFileSystem doesn't resolve. What am I doing wrong?
```dart
CacheManager(
Config(
key,
stalePeriod: const Duration(days: 7),
maxNrOfCacheObjects: 60,
repo: JsonCacheInfoRepository(databaseName: key),
fileSystem: IOFileSystem(key),
fileService: HttpFileService(),
),
);
```
贡献指南
调研方向
从 2.0.0 的 Customize 文档开始,检查围绕 IOFileSystem、CacheManager 和 BaseCacheManager 的示例。验证所引用的 API 中哪些可在 2.0.0 中使用,并更新示例使其能够解析;确认文档中的代码片段与该版本发布内容一致。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart, flutter
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100