Fintasys / emoji_picker_flutter

A Flutter package that provides an Emoji picker widget with 1500+ emojis in 8 categories.
MIT License
155 stars 115 forks source link

There is a bug in the new version 1.1.0 #48

Closed cnkygmr closed 2 years ago

cnkygmr commented 2 years ago

I/flutter (21183): type 'Null' is not a subtype of type 'bool' in type cast I/flutter (21183): #0 Emoji.fromJson (package:emoji_picker_flutter/src/emoji.dart:30:40) I/flutter (21183): #1 RecentEmoji.fromJson (package:emoji_picker_flutter/src/recent_emoji.dart:20:13) I/flutter (21183): #2 MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31) I/flutter (21183): #3 ListIterator.moveNext (dart:_internal/iterable.dart:342:26) I/flutter (21183): #4 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:188:27) I/flutter (21183): #5 new _GrowableList.of (dart:core-patch/growable_array.dart:150:28) I/flutter (21183): #6 new List.of (dart:core-patch/array_patch.dart:51:28) I/flutter (21183): #7 ListIterable.toList (dart:_internal/iterable.dart:213:44) I/flutter (21183): #8 EmojiPickerInternalUtils.getRecentEmojis (package:emoji_picker_flutter/src/emoji_picker_internal_utils.dart:136:56) I/flutter (21183): <asynchronous suspension> I/flutter (21183): #9 EmojiPickerState._updateEmojis (package:emoji_picker_flutter/src/emoji_picker.dart:214:22) I/flutter (21183): <asynchronous suspension> I/flutter (21183): ----------------------------------------------------

Fintasys commented 2 years ago

@cnkygmr Thank you for reporting. I will investigate!

Fintasys commented 2 years ago

Can you let me know if my changes above fixes your issues?

  emoji_picker_flutter:
    git:
      url: https://github.com/Fintasys/emoji_picker_flutter.git
      ref: master
cnkygmr commented 2 years ago

@Fintasys I tried like this, no problem, it worked

Can you let me know if my changes above fixes your issues?

  emoji_picker_flutter:
    git:
      url: https://github.com/Fintasys/emoji_picker_flutter.git
      ref: master
Fintasys commented 2 years ago

Thank you for checking, will release it as 1.1.1 👍