12345678910111213141516 |
- import 'package:file_picker/file_picker.dart';
- class FilePickerResult {
- const FilePickerResult(this.files);
- /// Picked files.
- final List<PlatformFile> files;
- }
- /// Abstract file picker as a service to implement dependency injection.
- abstract class FilePickerService {
- Future<String?> getDirectoryPath({
- String? title,
- }) async =>
- throw UnimplementedError('getDirectoryPath() has not been implemented.');
- }
|