spritewidget 0.9.10 spritewidget: ^0.9.10 copied to clipboard
SpriteWidget is an open source toolkit for building complex, high performance animations and 2D games with Flutter. You can use SpriteWidget to create anything from an animated icon to a full fledged game.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add spritewidget
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
spritewidget: ^0.9.10
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:spritewidget/spritewidget.dart';