svga / SVGAPlayer-Flutter

The SVGAPlayer implementation of Flutter using CustomPainter.
Other
245 stars 102 forks source link

I cannot play the animation in the Flutter Web #24

Closed jslantern closed 4 years ago

jslantern commented 4 years ago

errors.dart:147 Uncaught (in promise) Error: Unsupported operation: newZLibInflateFilter at Object.throw [as throw] (errors.dart:196) at Function._makeZLibInflateFilter (io_patch.dart:612) at new io._ZLibDecoderSink.__ (data_transformer.dart:586) at io.ZLibDecoder.new.startChunkedConversion (data_transformer.dart:481) at io.ZLibDecoder.new.convert (data_transformer.dart:466) at io.ZLibCodec.new.decode (codec.dart:28) at parser.SVGAParser.new.decodeFromBuffer (parser.dart:22) at decodeFromBuffer.next () at runBody (async_patch.dart:86) at Object._async [as async] (async_patch.dart:125) at parser.SVGAParser.new.decodeFromBuffer (parser.dart:21) at parser.SVGAParser.new.decodeFromAssets (parser.dart:18) at decodeFromAssets.next () at onValue (async_patch.dart:47) at _RootZone.runUnary (zone.dart:1381) at _FutureListener.thenAwait.handleValue (future_impl.dart:139) at handleValueCallback (future_impl.dart:680) at Function._propagateToListeners (future_impl.dart:709) at _Future.new.[_completeWithValue] (future_impl.dart:524) at async._AsyncCallbackEntry.new.callback (future_impl.dart:554) at Object._microtaskLoop (schedule_microtask.dart:43) at _startMicrotaskLoop (schedule_microtask.dart:52) at async_patch.dart:168

PonyCui commented 4 years ago

Not support flutter web now.

PonyCui commented 4 years ago

We are trying to support flutter web, please subscribe https://github.com/yyued/SVGAPlayer-Flutter/issues/25 .