Add the ability to open attachments in their own view
This commit is contained in:
parent
e5390cda15
commit
dd724b04b1
5 changed files with 63 additions and 5 deletions
14
lib/controllers/cross_cache_controller.dart
Normal file
14
lib/controllers/cross_cache_controller.dart
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import "package:cross_cache/cross_cache.dart";
|
||||
import "package:flutter_riverpod/flutter_riverpod.dart";
|
||||
|
||||
class CrossCacheController extends Notifier<CrossCache> {
|
||||
static const String spaceKey = "space";
|
||||
static const String roomKey = "room";
|
||||
|
||||
@override
|
||||
CrossCache build() => CrossCache();
|
||||
|
||||
static final provider = NotifierProvider<CrossCacheController, CrossCache>(
|
||||
CrossCacheController.new,
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue