fix the OnImagePickCallback return value (#281)

pull/286/head
gtyhn 4 years ago committed by GitHub
parent e7ea5fe632
commit 5c7bede059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/src/widgets/toolbar.dart

@ -31,7 +31,7 @@ export 'toolbar/select_header_style_button.dart';
export 'toolbar/toggle_check_list_button.dart';
export 'toolbar/toggle_style_button.dart';
typedef OnImagePickCallback = Future<String> Function(File file);
typedef OnImagePickCallback = Future<String?> Function(File file);
typedef ImagePickImpl = Future<String?> Function(ImageSource source);
typedef FilePickImpl = Future<String?> Function(BuildContext context);
typedef WebImagePickImpl = Future<String?> Function(

Loading…
Cancel
Save