forked from Nexus/nexus
add support for sending media
Still needs camera support.
This commit is contained in:
parent
a8285548e8
commit
c4f63d18b5
13 changed files with 303 additions and 122 deletions
11
lib/controllers/image_picker.dart
Normal file
11
lib/controllers/image_picker.dart
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import "package:flutter_riverpod/flutter_riverpod.dart";
|
||||
import "package:image_picker/image_picker.dart";
|
||||
|
||||
class ImagePickerController extends Notifier<ImagePicker> {
|
||||
@override
|
||||
ImagePicker build() => .new();
|
||||
|
||||
static final provider = NotifierProvider<ImagePickerController, ImagePicker>(
|
||||
ImagePickerController.new,
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue