mirror of
https://github.com/Iconica-Development/flutter_media_picker.git
synced 2025-05-19 08:53:45 +02:00
10 lines
254 B
Dart
10 lines
254 B
Dart
|
import 'dart:typed_data';
|
||
|
|
||
|
abstract class MediaPickerService {
|
||
|
/// Returns [Uint8List] based on given [ImageSource].
|
||
|
Future<Uint8List?> pickImageFile();
|
||
|
|
||
|
/// Returns [Uint8List] based on given [VideoSource].
|
||
|
Future<Uint8List?> pickVideoFile();
|
||
|
}
|