Once you have the bytes of the GIF, you can save it somewhere or convert it into a data URL. See example/example.dart for how to do that. You can run the example by running the following: pub run build_runner serve and then connecting to localhost in the browser on port 8081.

Testing

To test in the VM:

pub run test -p vm

To run browser tests in Chrome:

pub run build_runner test --release -- -p chrome

You can also access the tests from a browser by running pub run build_runner serve and then connecting to localhost in the browser on port 8080.