Przeglądaj źródła

update readme example

Caijinglong 6 lat temu
rodzic
commit
e95f713e28
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      README.md

+ 2
- 2
README.md Wyświetl plik

@@ -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