FlutterMulti-ImagePicker icon indicating copy to clipboard operation
FlutterMulti-ImagePicker copied to clipboard

Sample project not working for me.

Open v2Nitesh opened this issue 6 years ago • 4 comments

Hi,

I have started learning flutter a week before. Please help me to solve this problem.

I have clone the Github-Repo of https://github.com/mtellect/FlutterMulti-ImagePicker, and tried to run the project but not able to build this it's only giving me the screen which has button named as "Pick-Up-Images", On clicking button it's not working.

I have tried to run the application on Simulator as well as iPhone-6. (Refer attachment )

multipleimages

Here are the error logs :

Syncing files to device iPhone X... [VERBOSE-2:shell.cc(186)] Dart Error: Unhandled exception: type 'String' is not a subtype of type 'List' #0 FlutterMultipleImagePicker.pickMultiImages (package:flutter_multiple_image_picker/flutter_multiple_image_picker.dart:14:16) #1 _MyAppState.initMultiPickUp (package:flutter_multiple_image_picker_example/main.dart:34:53) #2 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14) #3 _InkResponseState.build. (package:flutter/src/material/ink_well.dart:562:30) #4 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24) #5 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9) #6 TapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:175:7) #7 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:315:9) #8 PointerRouter._dispatch (package:flu<…>

v2Nitesh avatar Feb 19 '19 12:02 v2Nitesh

The library is only implemented in Android side, In iOS it is returning the iOS version no. in string ... thats why you are getting this error

crimsonsuv avatar Feb 21 '19 17:02 crimsonsuv

The library is only implemented in Android side, In iOS it is returning the iOS version no. in string ... thats why you are getting this error

@crimsonsuv : Thank you for your reply...Do you know any other library which has same behaviour in both Android and iOS...

I have tried https://github.com/Sh1d0w/multi_image_picker but it not providing any customisation...

Thank you in advance.

v2Nitesh avatar Feb 21 '19 17:02 v2Nitesh

Hello Nitesh sorry for late reply, I have a library locally set, it works for both ios and android. let me know if you still need it.

crimsonsuv avatar Jun 17 '19 15:06 crimsonsuv

Hi @crimsonsuv - Can you please share the step to setup this? Or It's a same process as previous...Have you changed anything in the library ??

Thanks. Nitesh

v2Nitesh avatar Jun 17 '19 17:06 v2Nitesh