Skip to content
pubscout

spine_flutter

4.3.6, released 4 months ago by an unverified publisher

Official Spine runtime for Flutter to load, display, and interact with skeletal animations.

$ flutter pub add spine_flutter
Source repository

What it does

The spine-flutter runtime provides functionality to load, manipulate, and render Spine skeletal animation data. It supports desktop, mobile, and web targets based on the spine-c/spine-cpp runtime.

AI-written summary of version 4.3.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to render and interact with Spine skeletal animations in your Flutter application or game.
  • Your assets are exported from Spine 4.3.xx.

Skip it when

  • You require features not supported by spine-flutter, such as two-color tinting or screen blend mode.
  • You are using a different animation tool like Rive or Lottie.

Strengths

  • Official runtime supporting all major Flutter deployment targets (desktop, mobile, web).
  • Comprehensive API coverage of all Spine runtime types via auto-generated code.
  • Supports loading Spine data from custom sources like memory, encrypted storage, or databases.

Weaknesses

  • Users of your software must have their own Spine license unless you obtain specific licensing terms.
  • Does not support two-color tinting and screen blend mode.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
7

Must initialize Spine Flutter in main() using await initSpineFlutter(), and follow platform setup instructions if building from native sources.

void main() async {
    await initSpineFlutter(enableMemoryDebugging: false);
    runApp(const MyApp());
}

Works with

Packages commonly used together with spine_flutter: ones it builds on, ones built on it, and its own family.