sprite_image 1.0.1 copy "sprite_image: ^1.0.1" to clipboard
sprite_image: ^1.0.1 copied to clipboard

A widget that renders a subpart of an image.

sprite_image #

A widget that renders a subpart of an image.

Quickstart #

@override 
Widget build(BuildContext context) {
return SpriteImage.asset(
        'assets/sprite.png',
        source: Offset(24,24) & Size(64, 64), // The subpart of the image to render
        width: 64,
        height: 64,
    );
}
0
likes
140
points
24.1k
downloads

Documentation

API reference

Publisher

verified publisheraloisdeniel.com

Weekly Downloads

A widget that renders a subpart of an image.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on sprite_image