Xavier H.

Results 165 comments of Xavier H.

I think you can write an `isEmoji` extension like this: ```dart extension on String { static final _isEmojiRegex = RegExp(r'\p{Extended_Pictographic}', unicode: true); bool get isEmoji { return _isEmojiRegex.hasMatch(this); } }...

Maybe with the regex like that: ```dart static final _isEmojiRegex = RegExp( r'[\p{Extended_Pictographic}\p{Emoji_Presentation}]', unicode: true); ```

Hello, can you provide a reproducible example?

@tauqeerkhattak I tried your example with Flutter 3.3.10 but I don't see any problem. Is there any error in the Chrome Devtools console?

@tauqeerkhattak can you clarify what is wrong with this screenshot?

I don't think it is an issue with this library. I guess all animation are paused when you use the [`sleep` function](https://api.dart.dev/stable/2.19.4/dart-io/sleep.html). I recommend re-working your code and using something...

Hello @spegoraro, I think a good starting point would be to provide an animation with the feature you want. Then we will try to understand why it works on Lottie-android...

Can you share the json file of the animation?

Can you expand a bit on what the goal of the PR is? Would we achieve the same result with a boolean like `cacheImages: false` that would prevent caching the...

Currently this is not really supported and you have to workaround by re-encodind your string into a list of byte: ```dart var rawJsonString = '{"v":"5.1.16","fr":60...}'; var bytes = utf8.encode(rawJsonString); LottieComposition.fromBytes(Uint8List.fromList(bytes));...