Baseflow / Baseflow/flutter_cache_manager

IOFileSystem - problem using the Customize example in the docs for 2.0.0

オープン
#238 コメント 8 件 リアクション 18 件 担当者 0 名 GitHub で見る
type: documentation
主要言語
Dart
スター
809
フォーク
510
平均マージ
6分
マージ済み PR(30日)
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(),
),
);
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with the 2.0.0 Customize documentation and inspect the example around IOFileSystem, CacheManager, and BaseCacheManager. Verify which referenced API is available in 2.0.0 and update the example so it resolves; confirm the documented snippet matches the release.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。