OpenFlutter / flutter_share_me

Flutter Plugin for sharing contents to social media. You can use it share to Facebook , WhatsApp , Twitter And System Share UI. Support Url and Text.
https://github.com/lizhuoyuan
Apache License 2.0
151 stars 145 forks source link

Map<String, dynamic>() as Map<String, Object>; Runing error #38

Closed sis-tangyuan closed 3 years ago

sis-tangyuan commented 3 years ago

E/flutter (27281): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, Object>' in type cast E/flutter (27281): #0 FlutterShareMe.shareToFacebook (package:flutter_share_me/flutter_share_me.dart:8:66)

armandojimenez commented 3 years ago

Same error I have in #36, still no solution