📖 API Reference¶
The class-level API reference is generated from the Dart doc comments by
dart doc. pub.dev publishes it for each package: open
API reference on the package's page, e.g. ssplayer_flutter.
Generate locally¶
# in packages/ssplayer_flutter/ (or any package)
dart doc --output build/api
# output: build/api/index.html
Key entry points¶
SpriteStudioAnimation— the widget that owns its player, from an asset key. See Quick Start.SpriteStudioPlayer— transport / events. See Playback & Events.SpriteStudioView— theRenderBoxwidget over a player you own. See Playback & Events.SpriteStudioComponent/SpriteStudioButtonComponent(ssplayer_flame) — Flame adapter, and a button made of one. See Flame Integration.SpriteStudioPartAnchor/SpriteStudioAnchorHidden/SpriteStudioAnchorMirror— stick a widget to a part. See Part Following.SsPartQuad— a part's outline as drawn (SpriteStudioPlayer.partQuad/hitTestPart). See Part Following.SsRootTransform— the player-level flip / offset / scale (flipX/flipY/offset/scale). See Playback & Events.SpriteStudioStateView/SpriteStudioHitRegion/SsUiState(package:ssplayer_flutter/ui.dart) — an animation inside a button. See Buttons & UI States.SsBlendOp/SsOverridePriority/PartNameTable— part overrides. See Part Overrides.- Texture replacement —
SpriteStudioPlayer.setCellmapTexture/cellmapTextureOverride/replaceableTextureNames, backed by the low-levelTextureRegistry. See Texture Replacement. SsAnimeInfo— enumerate animation / cellmap / cell / external-texture names from.ssabbytes.SsConverter/ssconvert(ssconverter_dart) — see Preparing Assets.