Comments (8)
After updating to new version, now I'm getting the same error in another class, gif.dart:
type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast
from giphy_get.
After the update, still the same error
[VERBOSE-2:ui_dart_state.cc(186)] Unhandled Exception: type 'Null' is not a subtype of type 'String' #0 new GiphyPreviewImage.fromJson package:giphy_get/…/models/image.dart:328 #1 new GiphyImages.fromJson package:giphy_get/…/models/images.dart:100 #2 new GiphyGif.fromJson package:giphy_get/…/models/gif.dart:66 #3 new GiphyCollection.fromJson.<anonymous closure> package:giphy_get/…/models/collection.dart:13 #4 MappedListIterable.elementAt (dart:_internal/iterable.dart:411:31) #5 ListIterator.moveNext (dart:_internal/iterable.dart:340:26) #6 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:188:27) #7 new _GrowableList.of (dart:core-patch/growable_array.dart:150:28) #8 new List.of (dart:core-patch/array_patch.dart:50:28) #9 ListIterable.toList (dart:_internal/iterable.dart:211:44) #10 new GiphyCollection.fromJson package:giphy_get/…/models/collection.dart:13 #11 GiphyClient._fetchCollection package:giphy_get/…/client/client.dart:117 <asynchronous suspension> #12 _GiphyTabDetailState._loadMore package:giphy_get/…/tab/giphy_tab_detail.dart:232 <asynchronous suspension> Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
from giphy_get.
Fixed in 2.0.1 thanks @TramPamPam
from giphy_get.
So... is anyone still working on this package?
from giphy_get.
Hi, still the same error, now after opening, some gif appears, but on scroll, I get the same error and It does not fetch new gif:
[VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: type 'Null' is not a subtype of type 'String'
#0 new GiphyFullImage.fromJson
package:giphy_get/…/models/image.dart:27
#1 new GiphyImages.fromJson
package:giphy_get/…/models/images.dart:60
#2 new GiphyGif.fromJson
package:giphy_get/…/models/gif.dart:66
#3 new GiphyCollection.fromJson.<anonymous closure>
package:giphy_get/…/models/collection.dart:13
#4 MappedListIterable.elementAt (dart:_internal/iterable.dart:412:31)
#5 ListIterator.moveNext (dart:_internal/iterable.dart:341:26)
#6 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:188:27)
#7 new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
#8 new List.of (dart:core-patch/array_patch.dart:50:28)
#9 ListIterable.toList (dart:_internal/iterable.dart:212:44)
#10 new GiphyCollection.fromJson
package:giphy_get/…/models/collection.dart:13
#11 GiphyClient._fetchCollection
package:giphy_get/…/client/client.dart:117
<asynchronous suspension>
#12 _GiphyTabDetailState._loadMore
package:giphy_get/…/tab/giphy_tab_detail.dart:232
<asynchronous suspension>
from giphy_get.
I can't replicate error, do you have more information ore some pull request?
from giphy_get.
Just open the modal using
final GiphyGif? gif = await GiphyGet.getGif(
context: context,
apiKey: ApiKey.giphy,
lang: context.locale.languageCode,
searchText: 'Search GIPHY',
tabColor: Theme.of(context).accentColor,
);
and keep scrolling until it appears and stop loading more gif
from giphy_get.
in image.dart, is receiveing null for mp4 in the json, but the param is not nullable
factory GiphyFullImage.fromJson(Map<String, dynamic> json) => GiphyFullImage( url: json['url'], width: json['width'], height: json['height'], size: json['size'], mp4: json['mp4'], mp4Size: json['mp4_size'], webp: json['webp'], webpSize: json['webp_size']);
from giphy_get.
Related Issues (20)
- RangeError When Loading Initial GIFs
- Deign guidelines HOT 5
- Dimming on scroll HOT 3
- Upgrade the extended_image
- Storing the GIFs HOT 2
- Width calculation only is correct when the view takes up the whole width of the screen. HOT 3
- v3.0.0 Emojis Crash HOT 3
- Gif and sticker is fine but emoji is not working for me HOT 4
- writing integration tests with giphy get HOT 5
- null-aware operation Warnings HOT 10
- flutter 3.0 Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. HOT 3
- Is there a way to use it with SafeArea? HOT 2
- How I can know the width and height of every element in Giphy Grid View ? HOT 2
- I'd like to set whether the gif long press function is active or not. HOT 3
- GIPHY GET (NULL CHECK OPERATOR USED ON A NULL VALUE) HOT 1
- Empty Emojis in web project
- Add Pull Request #36 to Add Debounce to Searches HOT 2
- Feature: get only GIFs
- Trending Endpoint HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from giphy_get.