mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-23 00:52:14 +00:00

* chore: remove redundant arguments * chore: remove unused constructor params * chore: reorganize constructors * chore: remove unnecessary awaits in returns * chore: remove unnecessary paranthesis * chore: add lints * chore: clean up after merge * chore: add sort constructors first * chore: organize constructors in blocs * chore: use sizedbox.shrink over empty container
12 lines
376 B
Dart
12 lines
376 B
Dart
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
|
|
|
|
class CustomImageCacheManager extends CacheManager with ImageCacheManager {
|
|
CustomImageCacheManager._() : super(Config(key));
|
|
|
|
factory CustomImageCacheManager() => _instance;
|
|
|
|
static final CustomImageCacheManager _instance = CustomImageCacheManager._();
|
|
|
|
static const key = 'appflowy_image_cache';
|
|
}
|