Ver código fonte

update readme example

Caijinglong 6 anos atrás
pai
commit
e95f713e28
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      README.md

+ 2
- 2
README.md Ver arquivo

@@ -23,8 +23,8 @@ import 'package:photo_manager/photo_manager.dart';
23 23
 
24 24
 ## use
25 25
 ```dart
26
-void _pickImage() async{
27
-  void _pickImage() async {
26
+
27
+  void _pickImage(BuildContext context) async {
28 28
     List<ImageEntity> imgList = await PhotoPicker.pickImage(
29 29
       context: context, // BuildContext requied
30 30