ssplayer_flutter 7.0.0-beta.1
ssplayer_flutter: ^7.0.0-beta.1 copied to clipboard
SpriteStudio Player for Flutter: plays SpriteStudio animations (.ssab) as a Flutter widget, on the Rust runtime every official SpriteStudio Player shares.
Changelog #
All notable changes to ssplayer_flutter are documented here. The format is based on
Keep a Changelog, and the package adheres to
Semantic Versioning.
[Unreleased] #
7.0.0-beta.1 - 2026-11-18 #
Added #
- First release. The SpriteStudio player for Flutter:
.ssabloading, playback and part control, driving the SpriteStudio-SDK Rust runtime (libssruntime) throughssruntime_dart. - Rendering backends: a
Canvasbackend (Canvas.drawVertices) everywhere, and aflutter_gpubackend on Impeller, selected automatically (auto) with a manual override. - Rendering kinds: Normal, PartColor, Mask, Mesh, Effect, Instance, and Shape.
SpriteStudioAnimation, a widget that loads a pack from the asset bundle and plays it, andSpriteStudioView, aRenderBoxwidget for aSpriteStudioPlayeryou own.- Events: user data, signals and audio cues as callbacks (
onUserData/onSignal/onAudio). Audio is reported, not played. - Motion blending: layer animations on tracks and crossfade between them (
crossfade,setTrackAnimation). - Part following (
SpriteStudioPartAnchor): stick a widget to a part. - Part overrides: recolour, hide or swap the cell of a part at runtime.
- Texture replacement (
setCellmapTexture): swap a cellmap's atlas at runtime. - Web (developer preview): the runtime runs as wasm; call
loadSsRuntime()beforerunApp. - Live reload's receiving end (
SsDevChannel,SsLiveReload, theext.ssgen.reloadservice extension), active only in a debug build launched withSS_LIVE_RELOAD. - Flip & offset (
SpriteStudioPlayer.flipX/flipY/offset): mirror or shift what the player draws without touching the widget tree. Part anchors follow the mirrored pose, and can keep their own child upright (SpriteStudioAnchorMirror.cancel). - Label playback (
SpriteStudioPlayer.setAnimationSectionByLabel): set the playback section by a start and an end label of the current animation, each with an offset. - Part outlines (
SpriteStudioPlayer.partQuad/hitTestPart): the outline a part is drawn with, and the front-most part under a point. - Buttons & UI states (
package:ssplayer_flutter/ui.dart):SpriteStudioStateViewplays the section a button'sWidgetStatesControllercalls for, from labels named after the states, and holds still under reduced motion;SpriteStudioHitRegionlets the button take pointers on named parts only.