esotericsoftware_spine_flutter 4.2.6
esotericsoftware_spine_flutter: ^4.2.6 copied to clipboard
The official Spine Flutter Runtime to load, display and interact with Spine animations.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add esotericsoftware_spine_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
esotericsoftware_spine_flutter: ^4.2.6
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:esotericsoftware_spine_flutter/ffi_proxy.dart';
import 'package:esotericsoftware_spine_flutter/ffi_utf8.dart';
import 'package:esotericsoftware_spine_flutter/init.dart';
import 'package:esotericsoftware_spine_flutter/init_web.dart';
import 'package:esotericsoftware_spine_flutter/spine_flutter.dart';
import 'package:esotericsoftware_spine_flutter/spine_flutter_bindings_generated.dart';
import 'package:esotericsoftware_spine_flutter/spine_widget.dart';