From 81b445302a42564f21520722e7a01178a67abd2a Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Wed, 16 Jul 2025 03:20:14 +0200 Subject: [PATCH] [formatters] Dart formatting pass --- spine-flutter/example/lib/animated_login.dart | 38 +- .../example/lib/animation_state_events.dart | 54 +- .../example/lib/debug_rendering.dart | 56 +- spine-flutter/example/lib/dress_up.dart | 49 +- spine-flutter/example/lib/flame_example.dart | 38 +- spine-flutter/example/lib/ik_following.dart | 52 +- spine-flutter/example/lib/main.dart | 214 +- .../example/lib/pause_play_animation.dart | 8 +- spine-flutter/example/lib/physics.dart | 54 +- .../example/lib/simple_animation.dart | 23 +- spine-flutter/lib/init_web.dart | 5 +- spine-flutter/lib/raw_image_provider.dart | 14 +- spine-flutter/lib/spine_flutter.dart | 221 +- .../lib/spine_flutter_bindings_generated.dart | 10679 ++++++---------- spine-flutter/lib/spine_widget.dart | 146 +- 15 files changed, 4391 insertions(+), 7260 deletions(-) diff --git a/spine-flutter/example/lib/animated_login.dart b/spine-flutter/example/lib/animated_login.dart index c7f2d3674..686e837cc 100644 --- a/spine-flutter/example/lib/animated_login.dart +++ b/spine-flutter/example/lib/animated_login.dart @@ -36,24 +36,28 @@ class AnimatedLogin extends StatelessWidget { @override Widget build(BuildContext context) { reportLeaks(); - final controller = SpineWidgetController(onInitialized: (controller) { - controller.skeleton.setSkinByName("nate"); - controller.skeleton.setToSetupPose(); - controller.animationState.setAnimationByName(0, "login/look-left-down", true); - }); + final controller = SpineWidgetController( + onInitialized: (controller) { + controller.skeleton.setSkinByName("nate"); + controller.skeleton.setToSetupPose(); + controller.animationState.setAnimationByName(0, "login/look-left-down", true); + }, + ); return Scaffold( - appBar: AppBar(title: const Text('Animated login')), - body: Container( - margin: const EdgeInsets.all(15.0), - padding: const EdgeInsets.all(3.0), - decoration: BoxDecoration(border: Border.all(color: Colors.blueAccent)), - child: SpineWidget.fromAsset( - "assets/chibi/chibi-stickers.atlas", - "assets/chibi/chibi-stickers.skel", - controller, - boundsProvider: SkinAndAnimationBounds(skins: ["nate"], animation: "login/look-left-down"), - sizedByBounds: true, - ))); + appBar: AppBar(title: const Text('Animated login')), + body: Container( + margin: const EdgeInsets.all(15.0), + padding: const EdgeInsets.all(3.0), + decoration: BoxDecoration(border: Border.all(color: Colors.blueAccent)), + child: SpineWidget.fromAsset( + "assets/chibi/chibi-stickers.atlas", + "assets/chibi/chibi-stickers.skel", + controller, + boundsProvider: SkinAndAnimationBounds(skins: ["nate"], animation: "login/look-left-down"), + sizedByBounds: true, + ), + ), + ); } } diff --git a/spine-flutter/example/lib/animation_state_events.dart b/spine-flutter/example/lib/animation_state_events.dart index 86641452b..b9e25e627 100644 --- a/spine-flutter/example/lib/animation_state_events.dart +++ b/spine-flutter/example/lib/animation_state_events.dart @@ -8,32 +8,38 @@ class AnimationStateEvents extends StatelessWidget { @override Widget build(BuildContext context) { reportLeaks(); - final controller = SpineWidgetController(onInitialized: (controller) { - controller.skeleton.setScaleX(0.5); - controller.skeleton.setScaleY(0.5); - controller.skeleton.findSlot("gun")?.setColor(Color(1, 0, 0, 1)); - controller.animationStateData.setDefaultMix(0.2); - controller.animationState.setAnimationByName(0, "walk", true).setListener((type, trackEntry, event) { - print("Walk animation event $type"); - }); - controller.animationState.addAnimationByName(0, "jump", false, 2); - controller.animationState.addAnimationByName(0, "run", true, 0).setListener((type, trackEntry, event) { - print("Run animation event $type"); - }); - controller.animationState.setListener((type, trackEntry, event) { - if (type == EventType.event) { - print( - "User event: { name: ${event?.getData().getName()}, intValue: ${event?.getIntValue()}, floatValue: ${event?.getFloatValue()}, stringValue: ${event?.getStringValue()} }"); - } - }); - print("Current: ${controller.animationState.getCurrent(0)?.getAnimation().getName()}"); - }); + final controller = SpineWidgetController( + onInitialized: (controller) { + controller.skeleton.setScaleX(0.5); + controller.skeleton.setScaleY(0.5); + controller.skeleton.findSlot("gun")?.setColor(Color(1, 0, 0, 1)); + controller.animationStateData.setDefaultMix(0.2); + controller.animationState.setAnimationByName(0, "walk", true).setListener((type, trackEntry, event) { + print("Walk animation event $type"); + }); + controller.animationState.addAnimationByName(0, "jump", false, 2); + controller.animationState.addAnimationByName(0, "run", true, 0).setListener((type, trackEntry, event) { + print("Run animation event $type"); + }); + controller.animationState.setListener((type, trackEntry, event) { + if (type == EventType.event) { + print( + "User event: { name: ${event?.getData().getName()}, intValue: ${event?.getIntValue()}, floatValue: ${event?.getFloatValue()}, stringValue: ${event?.getStringValue()} }", + ); + } + }); + print("Current: ${controller.animationState.getCurrent(0)?.getAnimation().getName()}"); + }, + ); return Scaffold( - appBar: AppBar(title: const Text('Animation State Listener')), - body: Column(children: [ + appBar: AppBar(title: const Text('Animation State Listener')), + body: Column( + children: [ const Text("See output in console!"), - Expanded(child: SpineWidget.fromAsset("assets/spineboy.atlas", "assets/spineboy-pro.skel", controller)) - ])); + Expanded(child: SpineWidget.fromAsset("assets/spineboy.atlas", "assets/spineboy-pro.skel", controller)), + ], + ), + ); } } diff --git a/spine-flutter/example/lib/debug_rendering.dart b/spine-flutter/example/lib/debug_rendering.dart index a18606d50..5799fd90c 100644 --- a/spine-flutter/example/lib/debug_rendering.dart +++ b/spine-flutter/example/lib/debug_rendering.dart @@ -38,36 +38,40 @@ class DebugRendering extends StatelessWidget { reportLeaks(); const debugRenderer = DebugRenderer(); - final controller = SpineWidgetController(onInitialized: (controller) { - controller.animationState.setAnimationByName(0, "walk", true); - }, onBeforePaint: (controller, canvas) { - // Save the current transform and other canvas state - canvas.save(); + final controller = SpineWidgetController( + onInitialized: (controller) { + controller.animationState.setAnimationByName(0, "walk", true); + }, + onBeforePaint: (controller, canvas) { + // Save the current transform and other canvas state + canvas.save(); - // Get the current canvas transform an invert it, so we can work in the - // canvas coordinate system. - final currentMatrix = canvas.getTransform(); - final invertedMatrix = Matrix4.tryInvert(Matrix4.fromFloat64List(currentMatrix)); - if (invertedMatrix != null) { - canvas.transform(invertedMatrix.storage); - } + // Get the current canvas transform an invert it, so we can work in the + // canvas coordinate system. + final currentMatrix = canvas.getTransform(); + final invertedMatrix = Matrix4.tryInvert(Matrix4.fromFloat64List(currentMatrix)); + if (invertedMatrix != null) { + canvas.transform(invertedMatrix.storage); + } - // Draw something. - final Paint paint = Paint() - ..color = Colors.black - ..strokeWidth = 2.0; + // Draw something. + final Paint paint = Paint() + ..color = Colors.black + ..strokeWidth = 2.0; - canvas.drawLine( - Offset(0, 0), - Offset(canvas.getLocalClipBounds().width, canvas.getLocalClipBounds().height), - paint, - ); + canvas.drawLine( + Offset(0, 0), + Offset(canvas.getLocalClipBounds().width, canvas.getLocalClipBounds().height), + paint, + ); - // Restore the old transform and canvas state - canvas.restore(); - }, onAfterPaint: (controller, canvas, commands) { - debugRenderer.render(controller.drawable, canvas, commands); - }); + // Restore the old transform and canvas state + canvas.restore(); + }, + onAfterPaint: (controller, canvas, commands) { + debugRenderer.render(controller.drawable, canvas, commands); + }, + ); return Scaffold( appBar: AppBar(title: const Text('Debug Renderer')), diff --git a/spine-flutter/example/lib/dress_up.dart b/spine-flutter/example/lib/dress_up.dart index af5a39c55..15155792e 100644 --- a/spine-flutter/example/lib/dress_up.dart +++ b/spine-flutter/example/lib/dress_up.dart @@ -84,23 +84,26 @@ class DressUpState extends State { @override Widget build(BuildContext context) { - final controller = SpineWidgetController(onInitialized: (controller) { - controller.animationState.setAnimationByName(0, "dance", true); - }); + final controller = SpineWidgetController( + onInitialized: (controller) { + controller.animationState.setAnimationByName(0, "dance", true); + }, + ); return Scaffold( - appBar: AppBar(title: const Text('Dress Up')), - body: _skinImages.isEmpty - ? const SizedBox() - : Row(children: [ + appBar: AppBar(title: const Text('Dress Up')), + body: _skinImages.isEmpty + ? const SizedBox() + : Row( + children: [ SizedBox( width: thumbnailSize, child: ListView( - children: _skinImages.keys.map((skinName) { - var rawImageData = _skinImages[skinName]!; - var image = Image(image: RawImageProvider(rawImageData)); - var box = SizedBox(width: 200, height: 200, child: image); - return GestureDetector( + children: _skinImages.keys.map((skinName) { + var rawImageData = _skinImages[skinName]!; + var image = Image(image: RawImageProvider(rawImageData)); + var box = SizedBox(width: 200, height: 200, child: image); + return GestureDetector( onTap: () { _toggleSkin(skinName); setState(() {}); @@ -114,16 +117,22 @@ class DressUpState extends State { color: Colors.grey, backgroundBlendMode: painting.BlendMode.saturation, ), - child: box)); - }).toList()), + child: box, + ), + ); + }).toList(), + ), ), Expanded( - child: SpineWidget.fromDrawable( - _drawable, - controller, - boundsProvider: SkinAndAnimationBounds(skins: ["full-skins/girl"]), - )) - ])); + child: SpineWidget.fromDrawable( + _drawable, + controller, + boundsProvider: SkinAndAnimationBounds(skins: ["full-skins/girl"]), + ), + ), + ], + ), + ); } @override diff --git a/spine-flutter/example/lib/flame_example.dart b/spine-flutter/example/lib/flame_example.dart index 770da82e1..3dff06c0f 100644 --- a/spine-flutter/example/lib/flame_example.dart +++ b/spine-flutter/example/lib/flame_example.dart @@ -50,8 +50,8 @@ class SpineComponent extends PositionComponent { Anchor super.anchor = Anchor.topLeft, super.children, super.priority, - }) : _ownsDrawable = ownsDrawable, - _boundsProvider = boundsProvider { + }) : _ownsDrawable = ownsDrawable, + _boundsProvider = boundsProvider { _drawable.update(0); _bounds = _boundsProvider.computeBounds(_drawable); size = Vector2(_bounds.width, _bounds.height); @@ -69,15 +69,17 @@ class SpineComponent extends PositionComponent { Iterable? children, int? priority, }) async { - return SpineComponent(await SkeletonDrawable.fromAsset(atlasFile, skeletonFile, bundle: bundle), - ownsDrawable: true, - boundsProvider: boundsProvider, - position: position, - scale: scale, - angle: angle, - anchor: anchor, - children: children, - priority: priority); + return SpineComponent( + await SkeletonDrawable.fromAsset(atlasFile, skeletonFile, bundle: bundle), + ownsDrawable: true, + boundsProvider: boundsProvider, + position: position, + scale: scale, + angle: angle, + anchor: anchor, + children: children, + priority: priority, + ); } void dispose() { @@ -114,8 +116,13 @@ class SimpleFlameExample extends FlameGame { // Load the Spineboy atlas and skeleton data from asset files // and create a SpineComponent from them, scaled down and // centered on the screen - spineboy = await SpineComponent.fromAssets("assets/spineboy.atlas", "assets/spineboy-pro.json", - scale: Vector2(0.4, 0.4), anchor: Anchor.center, position: Vector2(size.x / 2, size.y / 2)); + spineboy = await SpineComponent.fromAssets( + "assets/spineboy.atlas", + "assets/spineboy-pro.json", + scale: Vector2(0.4, 0.4), + anchor: Anchor.center, + position: Vector2(size.x / 2, size.y / 2), + ); // Set the "walk" animation on track 0 in looping mode spineboy.animationState.setAnimationByName(0, "walk", true); @@ -205,6 +212,9 @@ class SpineFlameGameWidget extends StatelessWidget { @override Widget build(BuildContext context) { - return Scaffold(appBar: AppBar(title: const Text('Flame Integration')), body: GameWidget(game: game)); + return Scaffold( + appBar: AppBar(title: const Text('Flame Integration')), + body: GameWidget(game: game), + ); } } diff --git a/spine-flutter/example/lib/ik_following.dart b/spine-flutter/example/lib/ik_following.dart index f36b8e1c6..4f6fc22c1 100644 --- a/spine-flutter/example/lib/ik_following.dart +++ b/spine-flutter/example/lib/ik_following.dart @@ -45,19 +45,22 @@ class IkFollowingState extends State { void initState() { super.initState(); - controller = SpineWidgetController(onInitialized: (controller) { - // Set the walk animation on track 0, let it loop - controller.animationState.setAnimationByName(0, "walk", true); - controller.animationState.setAnimationByName(1, "aim", true); - }, onAfterUpdateWorldTransforms: (controller) { - final worldPosition = crossHairPosition; - if (worldPosition == null) return; - final bone = controller.skeleton.findBone("crosshair")!; - final parent = bone.getParent()!; - final position = parent.worldToLocal(worldPosition.dx, worldPosition.dy); - bone.setX(position.x); - bone.setY(position.y); - }); + controller = SpineWidgetController( + onInitialized: (controller) { + // Set the walk animation on track 0, let it loop + controller.animationState.setAnimationByName(0, "walk", true); + controller.animationState.setAnimationByName(1, "aim", true); + }, + onAfterUpdateWorldTransforms: (controller) { + final worldPosition = crossHairPosition; + if (worldPosition == null) return; + final bone = controller.skeleton.findBone("crosshair")!; + final parent = bone.getParent()!; + final position = parent.worldToLocal(worldPosition.dx, worldPosition.dy); + bone.setX(position.x); + bone.setY(position.y); + }, + ); } void _updateBonePosition(Offset position) { @@ -69,16 +72,17 @@ class IkFollowingState extends State { reportLeaks(); return Scaffold( - appBar: AppBar(title: const Text('IK Following')), - body: GestureDetector( - onPanDown: (drag) => _updateBonePosition(drag.localPosition), - onPanUpdate: (drag) => _updateBonePosition(drag.localPosition), - child: SpineWidget.fromAsset( - "assets/spineboy.atlas", - "assets/spineboy-pro.skel", - controller, - alignment: Alignment.centerLeft, - ), - )); + appBar: AppBar(title: const Text('IK Following')), + body: GestureDetector( + onPanDown: (drag) => _updateBonePosition(drag.localPosition), + onPanUpdate: (drag) => _updateBonePosition(drag.localPosition), + child: SpineWidget.fromAsset( + "assets/spineboy.atlas", + "assets/spineboy-pro.skel", + controller, + alignment: Alignment.centerLeft, + ), + ), + ); } } diff --git a/spine-flutter/example/lib/main.dart b/spine-flutter/example/lib/main.dart index 3c8278ea5..ddc899934 100644 --- a/spine-flutter/example/lib/main.dart +++ b/spine-flutter/example/lib/main.dart @@ -46,130 +46,96 @@ class ExampleSelector extends StatelessWidget { Widget build(BuildContext context) { const spacer = SizedBox(height: 10); return Scaffold( - appBar: AppBar(title: const Text('Spine Examples')), - body: Center( - child: Column(mainAxisSize: MainAxisSize.min, children: [ - ElevatedButton( - child: const Text('Simple Animation'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => const SimpleAnimation(), - ), - ); - }, - ), - spacer, - ElevatedButton( - child: const Text('Pause/Play animation'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => const PlayPauseAnimation(), - ), - ); - }, - ), - spacer, - ElevatedButton( - child: const Text('Animation State Listener'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => const AnimationStateEvents(), - ), - ); - }, - ), - spacer, - ElevatedButton( - child: const Text('Debug Rendering'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => const DebugRendering(), - ), - ); - }, - ), - spacer, - ElevatedButton( - child: const Text('Dress Up'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => const DressUp(), - ), - ); - }, - ), - spacer, - ElevatedButton( - child: const Text('IK Following'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => const IkFollowing(), - ), - ); - }, - ), - spacer, - ElevatedButton( - child: const Text('Physics'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => const PhysicsTest(), - ), - ); - }, - ), - spacer, - ElevatedButton( - child: const Text('Flame: Simple Example'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => SpineFlameGameWidget(SimpleFlameExample()), - ), - ); - }, - ), - spacer, - ElevatedButton( - child: const Text('Flame: Pre-load and share Spine data'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => SpineFlameGameWidget(PreloadAndShareSpineDataExample()), - ), - ); - }, - ), - spacer, - ElevatedButton( - child: const Text('Flame: Dragon Example'), - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => SpineFlameGameWidget(DragonExample()), - ), - ); - }, - ), - spacer, - ]))); + appBar: AppBar(title: const Text('Spine Examples')), + body: Center( + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + ElevatedButton( + child: const Text('Simple Animation'), + onPressed: () { + Navigator.push(context, MaterialPageRoute(builder: (context) => const SimpleAnimation())); + }, + ), + spacer, + ElevatedButton( + child: const Text('Pause/Play animation'), + onPressed: () { + Navigator.push(context, MaterialPageRoute(builder: (context) => const PlayPauseAnimation())); + }, + ), + spacer, + ElevatedButton( + child: const Text('Animation State Listener'), + onPressed: () { + Navigator.push(context, MaterialPageRoute(builder: (context) => const AnimationStateEvents())); + }, + ), + spacer, + ElevatedButton( + child: const Text('Debug Rendering'), + onPressed: () { + Navigator.push(context, MaterialPageRoute(builder: (context) => const DebugRendering())); + }, + ), + spacer, + ElevatedButton( + child: const Text('Dress Up'), + onPressed: () { + Navigator.push(context, MaterialPageRoute(builder: (context) => const DressUp())); + }, + ), + spacer, + ElevatedButton( + child: const Text('IK Following'), + onPressed: () { + Navigator.push(context, MaterialPageRoute(builder: (context) => const IkFollowing())); + }, + ), + spacer, + ElevatedButton( + child: const Text('Physics'), + onPressed: () { + Navigator.push(context, MaterialPageRoute(builder: (context) => const PhysicsTest())); + }, + ), + spacer, + ElevatedButton( + child: const Text('Flame: Simple Example'), + onPressed: () { + Navigator.push( + context, + MaterialPageRoute(builder: (context) => SpineFlameGameWidget(SimpleFlameExample())), + ); + }, + ), + spacer, + ElevatedButton( + child: const Text('Flame: Pre-load and share Spine data'), + onPressed: () { + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => SpineFlameGameWidget(PreloadAndShareSpineDataExample()), + ), + ); + }, + ), + spacer, + ElevatedButton( + child: const Text('Flame: Dragon Example'), + onPressed: () { + Navigator.push( + context, + MaterialPageRoute(builder: (context) => SpineFlameGameWidget(DragonExample())), + ); + }, + ), + spacer, + ], + ), + ), + ); } } diff --git a/spine-flutter/example/lib/pause_play_animation.dart b/spine-flutter/example/lib/pause_play_animation.dart index 4ca894c9b..89df8b749 100644 --- a/spine-flutter/example/lib/pause_play_animation.dart +++ b/spine-flutter/example/lib/pause_play_animation.dart @@ -43,9 +43,11 @@ class PlayPauseAnimationState extends State { @override void initState() { super.initState(); - controller = SpineWidgetController(onInitialized: (controller) { - controller.animationState.setAnimationByName(0, "flying", true); - }); + controller = SpineWidgetController( + onInitialized: (controller) { + controller.animationState.setAnimationByName(0, "flying", true); + }, + ); } void _togglePlay() { diff --git a/spine-flutter/example/lib/physics.dart b/spine-flutter/example/lib/physics.dart index a77f13e50..27ebdd24f 100644 --- a/spine-flutter/example/lib/physics.dart +++ b/spine-flutter/example/lib/physics.dart @@ -46,26 +46,29 @@ class PhysicsState extends State { void initState() { super.initState(); - controller = SpineWidgetController(onInitialized: (controller) { - controller.animationState.setAnimationByName(0, "eyeblink-long", true); - controller.animationState.setAnimationByName(1, "wings-and-feet", true); - }, onAfterUpdateWorldTransforms: (controller) { - if (lastMousePosition == null) { - lastMousePosition = mousePosition; - return; - } - if (mousePosition == null) { - return; - } + controller = SpineWidgetController( + onInitialized: (controller) { + controller.animationState.setAnimationByName(0, "eyeblink-long", true); + controller.animationState.setAnimationByName(1, "wings-and-feet", true); + }, + onAfterUpdateWorldTransforms: (controller) { + if (lastMousePosition == null) { + lastMousePosition = mousePosition; + return; + } + if (mousePosition == null) { + return; + } - final dx = mousePosition!.dx - lastMousePosition!.dx; - final dy = mousePosition!.dy - lastMousePosition!.dy; - final position = controller.skeleton.getPosition(); - position.x += dx; - position.y += dy; - controller.skeleton.setPosition(position.x, position.y); - lastMousePosition = mousePosition; - }); + final dx = mousePosition!.dx - lastMousePosition!.dx; + final dy = mousePosition!.dy - lastMousePosition!.dy; + final position = controller.skeleton.getPosition(); + position.x += dx; + position.y += dy; + controller.skeleton.setPosition(position.x, position.y); + lastMousePosition = mousePosition; + }, + ); } void _updateBonePosition(Offset position) { @@ -77,11 +80,12 @@ class PhysicsState extends State { reportLeaks(); return Scaffold( - appBar: AppBar(title: const Text('Physics (drag anywhere)')), - body: GestureDetector( - onPanDown: (drag) => _updateBonePosition(drag.localPosition), - onPanUpdate: (drag) => _updateBonePosition(drag.localPosition), - child: SpineWidget.fromAsset("assets/celestial-circus.atlas", "assets/celestial-circus-pro.skel", controller), - )); + appBar: AppBar(title: const Text('Physics (drag anywhere)')), + body: GestureDetector( + onPanDown: (drag) => _updateBonePosition(drag.localPosition), + onPanUpdate: (drag) => _updateBonePosition(drag.localPosition), + child: SpineWidget.fromAsset("assets/celestial-circus.atlas", "assets/celestial-circus-pro.skel", controller), + ), + ); } } diff --git a/spine-flutter/example/lib/simple_animation.dart b/spine-flutter/example/lib/simple_animation.dart index 925008046..a7f44b7cd 100644 --- a/spine-flutter/example/lib/simple_animation.dart +++ b/spine-flutter/example/lib/simple_animation.dart @@ -36,17 +36,20 @@ class SimpleAnimation extends StatelessWidget { @override Widget build(BuildContext context) { reportLeaks(); - final controller = SpineWidgetController(onInitialized: (controller) { - // Set the default mixing time between animations - controller.animationState.getData().setDefaultMix(0.2); - // Set the portal animation on track 0 - controller.animationState.setAnimationByName(0, "portal", true); - // Queue the run animation after the portal animation - controller.animationState.addAnimationByName(0, "run", true, 0); - }); + final controller = SpineWidgetController( + onInitialized: (controller) { + // Set the default mixing time between animations + controller.animationState.getData().setDefaultMix(0.2); + // Set the portal animation on track 0 + controller.animationState.setAnimationByName(0, "portal", true); + // Queue the run animation after the portal animation + controller.animationState.addAnimationByName(0, "run", true, 0); + }, + ); return Scaffold( - appBar: AppBar(title: const Text('Simple Animation')), - body: SpineWidget.fromAsset("assets/spineboy.atlas", "assets/spineboy-pro.skel", controller)); + appBar: AppBar(title: const Text('Simple Animation')), + body: SpineWidget.fromAsset("assets/spineboy.atlas", "assets/spineboy-pro.skel", controller), + ); } } diff --git a/spine-flutter/lib/init_web.dart b/spine-flutter/lib/init_web.dart index 02e07d597..9a609e09d 100644 --- a/spine-flutter/lib/init_web.dart +++ b/spine-flutter/lib/init_web.dart @@ -91,8 +91,9 @@ Future initSpineFlutterFFI(bool useStaticLinkage) async { registerOpaqueType(); await js.importLibrary('assets/packages/spine_flutter/lib/assets/libspine_flutter.js'); - Uint8List wasmBinaries = - (await rootBundle.load('packages/spine_flutter/lib/assets/libspine_flutter.wasm')).buffer.asUint8List(); + Uint8List wasmBinaries = (await rootBundle.load( + 'packages/spine_flutter/lib/assets/libspine_flutter.wasm', + )).buffer.asUint8List(); _module = await EmscriptenModule.compile(wasmBinaries, 'libspine_flutter'); } Module? m = _module; diff --git a/spine-flutter/lib/raw_image_provider.dart b/spine-flutter/lib/raw_image_provider.dart index 115d5e84f..911a4b3bc 100644 --- a/spine-flutter/lib/raw_image_provider.dart +++ b/spine-flutter/lib/raw_image_provider.dart @@ -32,12 +32,7 @@ class RawImageProvider extends ImageProvider<_RawImageKey> { final double? scale; final int? targetWidth; final int? targetHeight; - RawImageProvider( - this.image, { - this.scale = 1.0, - this.targetWidth, - this.targetHeight, - }); + RawImageProvider(this.image, {this.scale = 1.0, this.targetWidth, this.targetHeight}); @override ImageStreamCompleter loadImage(_RawImageKey key, ImageDecoderCallback decode) { @@ -104,12 +99,7 @@ class RawImageData { final int height; final ui.PixelFormat pixelFormat; - RawImageData( - this.pixels, - this.width, - this.height, { - this.pixelFormat = ui.PixelFormat.rgba8888, - }); + RawImageData(this.pixels, this.width, this.height, {this.pixelFormat = ui.PixelFormat.rgba8888}); _RawImageKey? _key; _RawImageKey _obtainKey() { diff --git a/spine-flutter/lib/spine_flutter.dart b/spine-flutter/lib/spine_flutter.dart index 257a628c3..d32175bd5 100644 --- a/spine-flutter/lib/spine_flutter.dart +++ b/spine-flutter/lib/spine_flutter.dart @@ -136,8 +136,13 @@ class Atlas { Map paints = {}; for (final blendMode in BlendMode.values) { paints[blendMode] = Paint() - ..shader = ImageShader(image, TileMode.clamp, TileMode.clamp, Matrix4.identity().storage, - filterQuality: Atlas.filterQuality) + ..shader = ImageShader( + image, + TileMode.clamp, + TileMode.clamp, + Matrix4.identity().storage, + filterQuality: Atlas.filterQuality, + ) ..isAntiAlias = true ..blendMode = blendMode.canvasBlendMode; } @@ -745,8 +750,12 @@ class BoneData { /// rendered at runtime. Color getColor() { final color = _bindings.spine_bone_data_get_color(_data); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setColor(double r, double g, double b, double a) { @@ -796,7 +805,14 @@ class Bone { /// See [World transform](http://esotericsoftware.com/spine-runtime-skeletons#World-transforms) in the Spine /// Runtimes Guide. void updateWorldTransformWith( - double x, double y, double rotation, double scaleX, double scaleY, double shearX, double shearY) { + double x, + double y, + double rotation, + double scaleX, + double scaleY, + double shearX, + double shearY, + ) { _bindings.spine_bone_update_world_transform_with(_bone, x, y, rotation, scaleX, scaleY, shearX, shearY); } @@ -1122,8 +1138,12 @@ class SlotData { /// color tinting. Color getColor() { final color = _bindings.spine_slot_data_get_color(_data); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setColor(double r, double g, double b, double a) { @@ -1134,8 +1154,12 @@ class SlotData { /// color's alpha is not used. Color getDarkColor() { final color = _bindings.spine_slot_data_get_dark_color(_data); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setDarkColor(double r, double g, double b, double a) { @@ -1210,8 +1234,12 @@ class Slot { /// color tinting. Color getColor() { final color = _bindings.spine_slot_get_color(_slot); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setColor(Color color) { @@ -1222,8 +1250,12 @@ class Slot { /// color's alpha is not used. Color getDarkColor() { final color = _bindings.spine_slot_get_dark_color(_slot); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setDarkColor(Color color) { @@ -1573,8 +1605,12 @@ class RegionAttachment extends Attachment { Color getColor() { final color = _bindings.spine_region_attachment_get_color(_attachment); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setColor(double r, double g, double b, double a) { @@ -1661,7 +1697,9 @@ class VertexAttachment extends Attachment { void setTimelineAttachment(Attachment? attachment) { _bindings.spine_vertex_attachment_set_timeline_attachment( - _attachment.cast(), attachment == null ? nullptr : attachment._attachment.cast()); + _attachment.cast(), + attachment == null ? nullptr : attachment._attachment.cast(), + ); } } @@ -1712,8 +1750,12 @@ class MeshAttachment extends VertexAttachment { Color getColor() { final color = _bindings.spine_mesh_attachment_get_color(_attachment); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setColor(double r, double g, double b, double a) { @@ -1797,8 +1839,12 @@ class ClippingAttachment extends VertexAttachment { /// attachments are not usually rendered at runtime. Color getColor() { final color = _bindings.spine_clipping_attachment_get_color(_attachment); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setColor(double r, double g, double b, double a) { @@ -1818,8 +1864,12 @@ class BoundingBoxAttachment extends VertexAttachment { /// rendered at runtime. Color getColor() { final color = _bindings.spine_path_attachment_get_color(_attachment); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setColor(double r, double g, double b, double a) { @@ -1918,8 +1972,12 @@ class PointAttachment extends Attachment { /// attachments are not usually rendered at runtime. Color getColor() { final color = _bindings.spine_point_attachment_get_color(_attachment); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setColor(double r, double g, double b, double a) { @@ -1968,7 +2026,11 @@ class Skin { void setAttachment(int slotIndex, String name, Attachment? attachment) { final nativeName = name.toNativeUtf8(allocator: _allocator); _bindings.spine_skin_set_attachment( - _skin, slotIndex, nativeName.cast(), attachment == null ? nullptr : attachment._attachment.cast()); + _skin, + slotIndex, + nativeName.cast(), + attachment == null ? nullptr : attachment._attachment.cast(), + ); _allocator.free(nativeName); } @@ -2007,12 +2069,15 @@ class Skin { for (int i = 0; i < numEntries; i++) { final entry = _bindings.spine_skin_entries_get_entry(entries, i); Pointer name = _bindings.spine_skin_entry_get_name(entry).cast(); - result.add(SkinEntry( + result.add( + SkinEntry( _bindings.spine_skin_entry_get_slot_index(entry), name.toDartString(), _bindings.spine_skin_entry_get_attachment(entry).address == nullptr.address ? null - : Attachment._toSubclass(_bindings.spine_skin_entry_get_attachment(entry)))); + : Attachment._toSubclass(_bindings.spine_skin_entry_get_attachment(entry)), + ), + ); } return result; } @@ -2836,8 +2901,11 @@ class Skeleton { Attachment? getAttachmentByName(String slotName, String attachmentName) { final slotNameNative = slotName.toNativeUtf8(allocator: _allocator); final attachmentNameNative = attachmentName.toNativeUtf8(allocator: _allocator); - final attachment = - _bindings.spine_skeleton_get_attachment_by_name(_skeleton, slotNameNative.cast(), attachmentNameNative.cast()); + final attachment = _bindings.spine_skeleton_get_attachment_by_name( + _skeleton, + slotNameNative.cast(), + attachmentNameNative.cast(), + ); _allocator.free(slotNameNative); _allocator.free(attachmentNameNative); if (attachment.address == nullptr.address) return null; @@ -2899,8 +2967,12 @@ class Skeleton { /// Returns the axis aligned bounding box (AABB) of the region and mesh attachments for the current pose. Bounds getBounds() { final nativeBounds = _bindings.spine_skeleton_get_bounds(_skeleton); - final bounds = Bounds(_bindings.spine_bounds_get_x(nativeBounds), _bindings.spine_bounds_get_y(nativeBounds), - _bindings.spine_bounds_get_width(nativeBounds), _bindings.spine_bounds_get_height(nativeBounds)); + final bounds = Bounds( + _bindings.spine_bounds_get_x(nativeBounds), + _bindings.spine_bounds_get_y(nativeBounds), + _bindings.spine_bounds_get_width(nativeBounds), + _bindings.spine_bounds_get_height(nativeBounds), + ); return bounds; } @@ -2994,8 +3066,12 @@ class Skeleton { /// The color to tint all the skeleton's attachments. Color getColor() { final color = _bindings.spine_skeleton_get_color(_skeleton); - return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), - _bindings.spine_color_get_b(color), _bindings.spine_color_get_a(color)); + return Color( + _bindings.spine_color_get_r(color), + _bindings.spine_color_get_g(color), + _bindings.spine_color_get_b(color), + _bindings.spine_color_get_a(color), + ); } void setColor(Color color) { @@ -3509,7 +3585,7 @@ enum EventType { /// /// Because this event is triggered at the end of [AnimationState.apply], any animations set in response to /// the event won't be applied until the next time the [AnimationState] is applied. - event + event, } /// Stores the setup pose values for an [Event]. @@ -3802,8 +3878,12 @@ class AnimationState { /// See [setAnimation]. TrackEntry setAnimationByName(int trackIndex, String animationName, bool loop) { final animation = animationName.toNativeUtf8(allocator: _allocator); - final entry = - _bindings.spine_animation_state_set_animation_by_name(_state, trackIndex, animation.cast(), loop ? -1 : 0); + final entry = _bindings.spine_animation_state_set_animation_by_name( + _state, + trackIndex, + animation.cast(), + loop ? -1 : 0, + ); _allocator.free(animation); if (entry.address == nullptr.address) throw Exception("Couldn't set animation $animationName"); return TrackEntry._(entry, this); @@ -3818,8 +3898,12 @@ class AnimationState { /// Returns a track entry to allow further customization of animation playback. References to the track entry must not be kept /// after the [EventType.dispose] event occurs. TrackEntry setAnimation(int trackIndex, Animation animation, bool loop) { - final entry = - _bindings.spine_animation_state_set_animation(_state, trackIndex, animation._animation, loop ? -1 : 0); + final entry = _bindings.spine_animation_state_set_animation( + _state, + trackIndex, + animation._animation, + loop ? -1 : 0, + ); if (entry.address == nullptr.address) throw Exception("Couldn't set animation ${animation.getName()}"); return TrackEntry._(entry, this); } @@ -3830,7 +3914,12 @@ class AnimationState { TrackEntry addAnimationByName(int trackIndex, String animationName, bool loop, double delay) { final animation = animationName.toNativeUtf8(allocator: _allocator); final entry = _bindings.spine_animation_state_add_animation_by_name( - _state, trackIndex, animation.cast(), loop ? -1 : 0, delay); + _state, + trackIndex, + animation.cast(), + loop ? -1 : 0, + delay, + ); _allocator.free(animation); if (entry.address == nullptr.address) throw Exception("Couldn't add animation $animationName"); return TrackEntry._(entry, this); @@ -3847,8 +3936,13 @@ class AnimationState { /// Returns a track entry to allow further customization of animation playback. References to the track entry must not be kept /// after the [EventType.dispose] event occurs. TrackEntry addAnimation(int trackIndex, Animation animation, bool loop, double delay) { - final entry = - _bindings.spine_animation_state_add_animation(_state, trackIndex, animation._animation, loop ? -1 : 0, delay); + final entry = _bindings.spine_animation_state_add_animation( + _state, + trackIndex, + animation._animation, + loop ? -1 : 0, + delay, + ); if (entry.address == nullptr.address) throw Exception("Couldn't add animation ${animation.getName()}"); return TrackEntry._(entry, this); } @@ -3971,8 +4065,10 @@ class SkeletonDrawable { _drawable = _bindings.spine_skeleton_drawable_create(skeletonData._data); skeleton = Skeleton._(_bindings.spine_skeleton_drawable_get_skeleton(_drawable)); animationStateData = AnimationStateData._(_bindings.spine_skeleton_drawable_get_animation_state_data(_drawable)); - animationState = AnimationState._(_bindings.spine_skeleton_drawable_get_animation_state(_drawable), - _bindings.spine_skeleton_drawable_get_animation_state_events(_drawable)); + animationState = AnimationState._( + _bindings.spine_skeleton_drawable_get_animation_state(_drawable), + _bindings.spine_skeleton_drawable_get_animation_state_events(_drawable), + ); skeleton.updateWorldTransform(Physics.none); } @@ -4036,7 +4132,10 @@ class SkeletonDrawable { var commands = render(); for (final cmd in commands) { canvas.drawVertices( - cmd.vertices, rendering.BlendMode.modulate, atlas.atlasPagePaints[cmd.atlasPageIndex][cmd.blendMode]!); + cmd.vertices, + rendering.BlendMode.modulate, + atlas.atlasPagePaints[cmd.atlasPageIndex][cmd.blendMode]!, + ); } return commands; } @@ -4076,10 +4175,10 @@ class SkeletonDrawable { /// Scales and centers the skeleton to fit the within the bounds of [width] and [height]. Future renderToRawImageData(double width, double height, int bgColor) async { final recorder = renderToPictureRecorder(width, height, bgColor); - var rawImageData = (await (await recorder.endRecording().toImage(width.toInt(), height.toInt())) - .toByteData(format: ImageByteFormat.rawRgba))! - .buffer - .asUint8List(); + var rawImageData = (await (await recorder.endRecording().toImage( + width.toInt(), + height.toInt(), + )).toByteData(format: ImageByteFormat.rawRgba))!.buffer.asUint8List(); return RawImageData(rawImageData, width.toInt(), height.toInt()); } @@ -4141,8 +4240,13 @@ class RenderCommand { if (colors.isNotEmpty && colors[0] == -1) { vertices = Vertices.raw(VertexMode.triangles, positions, textureCoordinates: uvs, indices: indices); } else { - vertices = - Vertices.raw(VertexMode.triangles, positions, textureCoordinates: uvs, colors: colors, indices: indices); + vertices = Vertices.raw( + VertexMode.triangles, + positions, + textureCoordinates: uvs, + colors: colors, + indices: indices, + ); } } else { // On the web, rendering is done through CanvasKit, which requires copies of the native data. @@ -4150,8 +4254,13 @@ class RenderCommand { final uvsCopy = Float32List.fromList(uvs); final colorsCopy = Int32List.fromList(colors); final indicesCopy = Uint16List.fromList(indices); - vertices = Vertices.raw(VertexMode.triangles, positionsCopy, - textureCoordinates: uvsCopy, colors: colorsCopy, indices: indicesCopy); + vertices = Vertices.raw( + VertexMode.triangles, + positionsCopy, + textureCoordinates: uvsCopy, + colors: colorsCopy, + indices: indicesCopy, + ); } } } @@ -4167,7 +4276,9 @@ class DebugRenderer { ..style = PaintingStyle.fill; for (final bone in drawable.skeleton.getBones()) { canvas.drawRect( - Rect.fromCenter(center: Offset(bone.getWorldX(), bone.getWorldY()), width: 5, height: 5), bonePaint); + Rect.fromCenter(center: Offset(bone.getWorldX(), bone.getWorldY()), width: 5, height: 5), + bonePaint, + ); } } } diff --git a/spine-flutter/lib/spine_flutter_bindings_generated.dart b/spine-flutter/lib/spine_flutter_bindings_generated.dart index d966e8446..679d09ead 100644 --- a/spine-flutter/lib/spine_flutter_bindings_generated.dart +++ b/spine-flutter/lib/spine_flutter_bindings_generated.dart @@ -21,7 +21,7 @@ class SpineFlutterBindings { /// The symbols are looked up with [lookup]. SpineFlutterBindings.fromLookup(ffi.Pointer Function(String symbolName) lookup) - : _lookup = lookup; + : _lookup = lookup; int spine_major_version() { return _spine_major_version(); @@ -37,16 +37,13 @@ class SpineFlutterBindings { late final _spine_minor_versionPtr = _lookup>('spine_minor_version'); late final _spine_minor_version = _spine_minor_versionPtr.asFunction(); - void spine_enable_debug_extension( - int enable, - ) { - return _spine_enable_debug_extension( - enable, - ); + void spine_enable_debug_extension(int enable) { + return _spine_enable_debug_extension(enable); } - late final _spine_enable_debug_extensionPtr = - _lookup>('spine_enable_debug_extension'); + late final _spine_enable_debug_extensionPtr = _lookup>( + 'spine_enable_debug_extension', + ); late final _spine_enable_debug_extension = _spine_enable_debug_extensionPtr.asFunction(); void spine_report_leaks() { @@ -56,199 +53,142 @@ class SpineFlutterBindings { late final _spine_report_leaksPtr = _lookup>('spine_report_leaks'); late final _spine_report_leaks = _spine_report_leaksPtr.asFunction(); - double spine_color_get_r( - spine_color color, - ) { - return _spine_color_get_r( - color, - ); + double spine_color_get_r(spine_color color) { + return _spine_color_get_r(color); } late final _spine_color_get_rPtr = _lookup>('spine_color_get_r'); late final _spine_color_get_r = _spine_color_get_rPtr.asFunction(); - double spine_color_get_g( - spine_color color, - ) { - return _spine_color_get_g( - color, - ); + double spine_color_get_g(spine_color color) { + return _spine_color_get_g(color); } late final _spine_color_get_gPtr = _lookup>('spine_color_get_g'); late final _spine_color_get_g = _spine_color_get_gPtr.asFunction(); - double spine_color_get_b( - spine_color color, - ) { - return _spine_color_get_b( - color, - ); + double spine_color_get_b(spine_color color) { + return _spine_color_get_b(color); } late final _spine_color_get_bPtr = _lookup>('spine_color_get_b'); late final _spine_color_get_b = _spine_color_get_bPtr.asFunction(); - double spine_color_get_a( - spine_color color, - ) { - return _spine_color_get_a( - color, - ); + double spine_color_get_a(spine_color color) { + return _spine_color_get_a(color); } late final _spine_color_get_aPtr = _lookup>('spine_color_get_a'); late final _spine_color_get_a = _spine_color_get_aPtr.asFunction(); - double spine_bounds_get_x( - spine_bounds bounds, - ) { - return _spine_bounds_get_x( - bounds, - ); + double spine_bounds_get_x(spine_bounds bounds) { + return _spine_bounds_get_x(bounds); } - late final _spine_bounds_get_xPtr = - _lookup>('spine_bounds_get_x'); + late final _spine_bounds_get_xPtr = _lookup>( + 'spine_bounds_get_x', + ); late final _spine_bounds_get_x = _spine_bounds_get_xPtr.asFunction(); - double spine_bounds_get_y( - spine_bounds bounds, - ) { - return _spine_bounds_get_y( - bounds, - ); + double spine_bounds_get_y(spine_bounds bounds) { + return _spine_bounds_get_y(bounds); } - late final _spine_bounds_get_yPtr = - _lookup>('spine_bounds_get_y'); + late final _spine_bounds_get_yPtr = _lookup>( + 'spine_bounds_get_y', + ); late final _spine_bounds_get_y = _spine_bounds_get_yPtr.asFunction(); - double spine_bounds_get_width( - spine_bounds bounds, - ) { - return _spine_bounds_get_width( - bounds, - ); + double spine_bounds_get_width(spine_bounds bounds) { + return _spine_bounds_get_width(bounds); } - late final _spine_bounds_get_widthPtr = - _lookup>('spine_bounds_get_width'); + late final _spine_bounds_get_widthPtr = _lookup>( + 'spine_bounds_get_width', + ); late final _spine_bounds_get_width = _spine_bounds_get_widthPtr.asFunction(); - double spine_bounds_get_height( - spine_bounds bounds, - ) { - return _spine_bounds_get_height( - bounds, - ); + double spine_bounds_get_height(spine_bounds bounds) { + return _spine_bounds_get_height(bounds); } - late final _spine_bounds_get_heightPtr = - _lookup>('spine_bounds_get_height'); + late final _spine_bounds_get_heightPtr = _lookup>( + 'spine_bounds_get_height', + ); late final _spine_bounds_get_height = _spine_bounds_get_heightPtr.asFunction(); - double spine_vector_get_x( - spine_vector vector, - ) { - return _spine_vector_get_x( - vector, - ); + double spine_vector_get_x(spine_vector vector) { + return _spine_vector_get_x(vector); } - late final _spine_vector_get_xPtr = - _lookup>('spine_vector_get_x'); + late final _spine_vector_get_xPtr = _lookup>( + 'spine_vector_get_x', + ); late final _spine_vector_get_x = _spine_vector_get_xPtr.asFunction(); - double spine_vector_get_y( - spine_vector vector, - ) { - return _spine_vector_get_y( - vector, - ); + double spine_vector_get_y(spine_vector vector) { + return _spine_vector_get_y(vector); } - late final _spine_vector_get_yPtr = - _lookup>('spine_vector_get_y'); + late final _spine_vector_get_yPtr = _lookup>( + 'spine_vector_get_y', + ); late final _spine_vector_get_y = _spine_vector_get_yPtr.asFunction(); - spine_atlas spine_atlas_load( - ffi.Pointer atlasData, - ) { - return _spine_atlas_load( - atlasData, - ); + spine_atlas spine_atlas_load(ffi.Pointer atlasData) { + return _spine_atlas_load(atlasData); } - late final _spine_atlas_loadPtr = - _lookup)>>('spine_atlas_load'); + late final _spine_atlas_loadPtr = _lookup)>>( + 'spine_atlas_load', + ); late final _spine_atlas_load = _spine_atlas_loadPtr.asFunction)>(); - int spine_atlas_get_num_image_paths( - spine_atlas atlas, - ) { - return _spine_atlas_get_num_image_paths( - atlas, - ); + int spine_atlas_get_num_image_paths(spine_atlas atlas) { + return _spine_atlas_get_num_image_paths(atlas); } - late final _spine_atlas_get_num_image_pathsPtr = - _lookup>('spine_atlas_get_num_image_paths'); - late final _spine_atlas_get_num_image_paths = - _spine_atlas_get_num_image_pathsPtr.asFunction(); + late final _spine_atlas_get_num_image_pathsPtr = _lookup>( + 'spine_atlas_get_num_image_paths', + ); + late final _spine_atlas_get_num_image_paths = _spine_atlas_get_num_image_pathsPtr + .asFunction(); - ffi.Pointer spine_atlas_get_image_path( - spine_atlas atlas, - int index, - ) { - return _spine_atlas_get_image_path( - atlas, - index, - ); + ffi.Pointer spine_atlas_get_image_path(spine_atlas atlas, int index) { + return _spine_atlas_get_image_path(atlas, index); } late final _spine_atlas_get_image_pathPtr = _lookup Function(spine_atlas, ffi.Int32)>>('spine_atlas_get_image_path'); - late final _spine_atlas_get_image_path = - _spine_atlas_get_image_pathPtr.asFunction Function(spine_atlas, int)>(); + late final _spine_atlas_get_image_path = _spine_atlas_get_image_pathPtr + .asFunction Function(spine_atlas, int)>(); - ffi.Pointer spine_atlas_get_error( - spine_atlas atlas, - ) { - return _spine_atlas_get_error( - atlas, - ); + ffi.Pointer spine_atlas_get_error(spine_atlas atlas) { + return _spine_atlas_get_error(atlas); } - late final _spine_atlas_get_errorPtr = - _lookup Function(spine_atlas)>>('spine_atlas_get_error'); + late final _spine_atlas_get_errorPtr = _lookup Function(spine_atlas)>>( + 'spine_atlas_get_error', + ); late final _spine_atlas_get_error = _spine_atlas_get_errorPtr.asFunction Function(spine_atlas)>(); - void spine_atlas_dispose( - spine_atlas atlas, - ) { - return _spine_atlas_dispose( - atlas, - ); + void spine_atlas_dispose(spine_atlas atlas) { + return _spine_atlas_dispose(atlas); } - late final _spine_atlas_disposePtr = - _lookup>('spine_atlas_dispose'); + late final _spine_atlas_disposePtr = _lookup>( + 'spine_atlas_dispose', + ); late final _spine_atlas_dispose = _spine_atlas_disposePtr.asFunction(); - spine_skeleton_data_result spine_skeleton_data_load_json( - spine_atlas atlas, - ffi.Pointer skeletonData, - ) { - return _spine_skeleton_data_load_json( - atlas, - skeletonData, - ); + spine_skeleton_data_result spine_skeleton_data_load_json(spine_atlas atlas, ffi.Pointer skeletonData) { + return _spine_skeleton_data_load_json(atlas, skeletonData); } late final _spine_skeleton_data_load_jsonPtr = _lookup)>>( - 'spine_skeleton_data_load_json'); + 'spine_skeleton_data_load_json', + ); late final _spine_skeleton_data_load_json = _spine_skeleton_data_load_jsonPtr .asFunction)>(); @@ -257,153 +197,110 @@ class SpineFlutterBindings { ffi.Pointer skeletonData, int length, ) { - return _spine_skeleton_data_load_binary( - atlas, - skeletonData, - length, - ); + return _spine_skeleton_data_load_binary(atlas, skeletonData, length); } late final _spine_skeleton_data_load_binaryPtr = _lookup, ffi.Int32)>>( - 'spine_skeleton_data_load_binary'); + 'spine_skeleton_data_load_binary', + ); late final _spine_skeleton_data_load_binary = _spine_skeleton_data_load_binaryPtr .asFunction, int)>(); - ffi.Pointer spine_skeleton_data_result_get_error( - spine_skeleton_data_result result, - ) { - return _spine_skeleton_data_result_get_error( - result, - ); + ffi.Pointer spine_skeleton_data_result_get_error(spine_skeleton_data_result result) { + return _spine_skeleton_data_result_get_error(result); } late final _spine_skeleton_data_result_get_errorPtr = _lookup Function(spine_skeleton_data_result)>>( - 'spine_skeleton_data_result_get_error'); - late final _spine_skeleton_data_result_get_error = - _spine_skeleton_data_result_get_errorPtr.asFunction Function(spine_skeleton_data_result)>(); + 'spine_skeleton_data_result_get_error', + ); + late final _spine_skeleton_data_result_get_error = _spine_skeleton_data_result_get_errorPtr + .asFunction Function(spine_skeleton_data_result)>(); - spine_skeleton_data spine_skeleton_data_result_get_data( - spine_skeleton_data_result result, - ) { - return _spine_skeleton_data_result_get_data( - result, - ); + spine_skeleton_data spine_skeleton_data_result_get_data(spine_skeleton_data_result result) { + return _spine_skeleton_data_result_get_data(result); } late final _spine_skeleton_data_result_get_dataPtr = _lookup>( - 'spine_skeleton_data_result_get_data'); - late final _spine_skeleton_data_result_get_data = - _spine_skeleton_data_result_get_dataPtr.asFunction(); + 'spine_skeleton_data_result_get_data', + ); + late final _spine_skeleton_data_result_get_data = _spine_skeleton_data_result_get_dataPtr + .asFunction(); - void spine_skeleton_data_result_dispose( - spine_skeleton_data_result result, - ) { - return _spine_skeleton_data_result_dispose( - result, - ); + void spine_skeleton_data_result_dispose(spine_skeleton_data_result result) { + return _spine_skeleton_data_result_dispose(result); } late final _spine_skeleton_data_result_disposePtr = _lookup>('spine_skeleton_data_result_dispose'); - late final _spine_skeleton_data_result_dispose = - _spine_skeleton_data_result_disposePtr.asFunction(); + late final _spine_skeleton_data_result_dispose = _spine_skeleton_data_result_disposePtr + .asFunction(); - spine_bone_data spine_skeleton_data_find_bone( - spine_skeleton_data data, - ffi.Pointer name, - ) { - return _spine_skeleton_data_find_bone( - data, - name, - ); + spine_bone_data spine_skeleton_data_find_bone(spine_skeleton_data data, ffi.Pointer name) { + return _spine_skeleton_data_find_bone(data, name); } late final _spine_skeleton_data_find_bonePtr = _lookup)>>( - 'spine_skeleton_data_find_bone'); - late final _spine_skeleton_data_find_bone = - _spine_skeleton_data_find_bonePtr.asFunction)>(); + 'spine_skeleton_data_find_bone', + ); + late final _spine_skeleton_data_find_bone = _spine_skeleton_data_find_bonePtr + .asFunction)>(); - spine_slot_data spine_skeleton_data_find_slot( - spine_skeleton_data data, - ffi.Pointer name, - ) { - return _spine_skeleton_data_find_slot( - data, - name, - ); + spine_slot_data spine_skeleton_data_find_slot(spine_skeleton_data data, ffi.Pointer name) { + return _spine_skeleton_data_find_slot(data, name); } late final _spine_skeleton_data_find_slotPtr = _lookup)>>( - 'spine_skeleton_data_find_slot'); - late final _spine_skeleton_data_find_slot = - _spine_skeleton_data_find_slotPtr.asFunction)>(); + 'spine_skeleton_data_find_slot', + ); + late final _spine_skeleton_data_find_slot = _spine_skeleton_data_find_slotPtr + .asFunction)>(); - spine_skin spine_skeleton_data_find_skin( - spine_skeleton_data data, - ffi.Pointer name, - ) { - return _spine_skeleton_data_find_skin( - data, - name, - ); + spine_skin spine_skeleton_data_find_skin(spine_skeleton_data data, ffi.Pointer name) { + return _spine_skeleton_data_find_skin(data, name); } late final _spine_skeleton_data_find_skinPtr = _lookup)>>( - 'spine_skeleton_data_find_skin'); - late final _spine_skeleton_data_find_skin = - _spine_skeleton_data_find_skinPtr.asFunction)>(); + 'spine_skeleton_data_find_skin', + ); + late final _spine_skeleton_data_find_skin = _spine_skeleton_data_find_skinPtr + .asFunction)>(); - spine_event_data spine_skeleton_data_find_event( - spine_skeleton_data data, - ffi.Pointer name, - ) { - return _spine_skeleton_data_find_event( - data, - name, - ); + spine_event_data spine_skeleton_data_find_event(spine_skeleton_data data, ffi.Pointer name) { + return _spine_skeleton_data_find_event(data, name); } late final _spine_skeleton_data_find_eventPtr = _lookup)>>( - 'spine_skeleton_data_find_event'); + 'spine_skeleton_data_find_event', + ); late final _spine_skeleton_data_find_event = _spine_skeleton_data_find_eventPtr .asFunction)>(); - spine_animation spine_skeleton_data_find_animation( - spine_skeleton_data data, - ffi.Pointer name, - ) { - return _spine_skeleton_data_find_animation( - data, - name, - ); + spine_animation spine_skeleton_data_find_animation(spine_skeleton_data data, ffi.Pointer name) { + return _spine_skeleton_data_find_animation(data, name); } late final _spine_skeleton_data_find_animationPtr = _lookup)>>( - 'spine_skeleton_data_find_animation'); + 'spine_skeleton_data_find_animation', + ); late final _spine_skeleton_data_find_animation = _spine_skeleton_data_find_animationPtr .asFunction)>(); - spine_ik_constraint_data spine_skeleton_data_find_ik_constraint( - spine_skeleton_data data, - ffi.Pointer name, - ) { - return _spine_skeleton_data_find_ik_constraint( - data, - name, - ); + spine_ik_constraint_data spine_skeleton_data_find_ik_constraint(spine_skeleton_data data, ffi.Pointer name) { + return _spine_skeleton_data_find_ik_constraint(data, name); } late final _spine_skeleton_data_find_ik_constraintPtr = _lookup)>>( - 'spine_skeleton_data_find_ik_constraint'); + 'spine_skeleton_data_find_ik_constraint', + ); late final _spine_skeleton_data_find_ik_constraint = _spine_skeleton_data_find_ik_constraintPtr .asFunction)>(); @@ -411,15 +308,13 @@ class SpineFlutterBindings { spine_skeleton_data data, ffi.Pointer name, ) { - return _spine_skeleton_data_find_transform_constraint( - data, - name, - ); + return _spine_skeleton_data_find_transform_constraint(data, name); } late final _spine_skeleton_data_find_transform_constraintPtr = _lookup)>>( - 'spine_skeleton_data_find_transform_constraint'); + 'spine_skeleton_data_find_transform_constraint', + ); late final _spine_skeleton_data_find_transform_constraint = _spine_skeleton_data_find_transform_constraintPtr .asFunction)>(); @@ -427,15 +322,13 @@ class SpineFlutterBindings { spine_skeleton_data data, ffi.Pointer name, ) { - return _spine_skeleton_data_find_path_constraint( - data, - name, - ); + return _spine_skeleton_data_find_path_constraint(data, name); } late final _spine_skeleton_data_find_path_constraintPtr = _lookup)>>( - 'spine_skeleton_data_find_path_constraint'); + 'spine_skeleton_data_find_path_constraint', + ); late final _spine_skeleton_data_find_path_constraint = _spine_skeleton_data_find_path_constraintPtr .asFunction)>(); @@ -443,809 +336,604 @@ class SpineFlutterBindings { spine_skeleton_data data, ffi.Pointer name, ) { - return _spine_skeleton_data_find_physics_constraint( - data, - name, - ); + return _spine_skeleton_data_find_physics_constraint(data, name); } late final _spine_skeleton_data_find_physics_constraintPtr = _lookup)>>( - 'spine_skeleton_data_find_physics_constraint'); + 'spine_skeleton_data_find_physics_constraint', + ); late final _spine_skeleton_data_find_physics_constraint = _spine_skeleton_data_find_physics_constraintPtr .asFunction)>(); - ffi.Pointer spine_skeleton_data_get_name( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_name( - data, - ); + ffi.Pointer spine_skeleton_data_get_name(spine_skeleton_data data) { + return _spine_skeleton_data_get_name(data); } late final _spine_skeleton_data_get_namePtr = _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_name'); - late final _spine_skeleton_data_get_name = - _spine_skeleton_data_get_namePtr.asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_data_get_name = _spine_skeleton_data_get_namePtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setName() - int spine_skeleton_data_get_num_bones( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_num_bones( - data, - ); + int spine_skeleton_data_get_num_bones(spine_skeleton_data data) { + return _spine_skeleton_data_get_num_bones(data); } late final _spine_skeleton_data_get_num_bonesPtr = _lookup>('spine_skeleton_data_get_num_bones'); - late final _spine_skeleton_data_get_num_bones = - _spine_skeleton_data_get_num_bonesPtr.asFunction(); + late final _spine_skeleton_data_get_num_bones = _spine_skeleton_data_get_num_bonesPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_bones( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_bones( - data, - ); + ffi.Pointer spine_skeleton_data_get_bones(spine_skeleton_data data) { + return _spine_skeleton_data_get_bones(data); } late final _spine_skeleton_data_get_bonesPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_bones'); - late final _spine_skeleton_data_get_bones = - _spine_skeleton_data_get_bonesPtr.asFunction Function(spine_skeleton_data)>(); + 'spine_skeleton_data_get_bones', + ); + late final _spine_skeleton_data_get_bones = _spine_skeleton_data_get_bonesPtr + .asFunction Function(spine_skeleton_data)>(); - int spine_skeleton_data_get_num_slots( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_num_slots( - data, - ); + int spine_skeleton_data_get_num_slots(spine_skeleton_data data) { + return _spine_skeleton_data_get_num_slots(data); } late final _spine_skeleton_data_get_num_slotsPtr = _lookup>('spine_skeleton_data_get_num_slots'); - late final _spine_skeleton_data_get_num_slots = - _spine_skeleton_data_get_num_slotsPtr.asFunction(); + late final _spine_skeleton_data_get_num_slots = _spine_skeleton_data_get_num_slotsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_slots( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_slots( - data, - ); + ffi.Pointer spine_skeleton_data_get_slots(spine_skeleton_data data) { + return _spine_skeleton_data_get_slots(data); } late final _spine_skeleton_data_get_slotsPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_slots'); - late final _spine_skeleton_data_get_slots = - _spine_skeleton_data_get_slotsPtr.asFunction Function(spine_skeleton_data)>(); + 'spine_skeleton_data_get_slots', + ); + late final _spine_skeleton_data_get_slots = _spine_skeleton_data_get_slotsPtr + .asFunction Function(spine_skeleton_data)>(); - int spine_skeleton_data_get_num_skins( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_num_skins( - data, - ); + int spine_skeleton_data_get_num_skins(spine_skeleton_data data) { + return _spine_skeleton_data_get_num_skins(data); } late final _spine_skeleton_data_get_num_skinsPtr = _lookup>('spine_skeleton_data_get_num_skins'); - late final _spine_skeleton_data_get_num_skins = - _spine_skeleton_data_get_num_skinsPtr.asFunction(); + late final _spine_skeleton_data_get_num_skins = _spine_skeleton_data_get_num_skinsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_skins( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_skins( - data, - ); + ffi.Pointer spine_skeleton_data_get_skins(spine_skeleton_data data) { + return _spine_skeleton_data_get_skins(data); } late final _spine_skeleton_data_get_skinsPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_skins'); - late final _spine_skeleton_data_get_skins = - _spine_skeleton_data_get_skinsPtr.asFunction Function(spine_skeleton_data)>(); + 'spine_skeleton_data_get_skins', + ); + late final _spine_skeleton_data_get_skins = _spine_skeleton_data_get_skinsPtr + .asFunction Function(spine_skeleton_data)>(); - spine_skin spine_skeleton_data_get_default_skin( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_default_skin( - data, - ); + spine_skin spine_skeleton_data_get_default_skin(spine_skeleton_data data) { + return _spine_skeleton_data_get_default_skin(data); } late final _spine_skeleton_data_get_default_skinPtr = _lookup>('spine_skeleton_data_get_default_skin'); - late final _spine_skeleton_data_get_default_skin = - _spine_skeleton_data_get_default_skinPtr.asFunction(); + late final _spine_skeleton_data_get_default_skin = _spine_skeleton_data_get_default_skinPtr + .asFunction(); - void spine_skeleton_data_set_default_skin( - spine_skeleton_data data, - spine_skin skin, - ) { - return _spine_skeleton_data_set_default_skin( - data, - skin, - ); + void spine_skeleton_data_set_default_skin(spine_skeleton_data data, spine_skin skin) { + return _spine_skeleton_data_set_default_skin(data, skin); } late final _spine_skeleton_data_set_default_skinPtr = _lookup>( - 'spine_skeleton_data_set_default_skin'); - late final _spine_skeleton_data_set_default_skin = - _spine_skeleton_data_set_default_skinPtr.asFunction(); + 'spine_skeleton_data_set_default_skin', + ); + late final _spine_skeleton_data_set_default_skin = _spine_skeleton_data_set_default_skinPtr + .asFunction(); - int spine_skeleton_data_get_num_events( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_num_events( - data, - ); + int spine_skeleton_data_get_num_events(spine_skeleton_data data) { + return _spine_skeleton_data_get_num_events(data); } late final _spine_skeleton_data_get_num_eventsPtr = _lookup>('spine_skeleton_data_get_num_events'); - late final _spine_skeleton_data_get_num_events = - _spine_skeleton_data_get_num_eventsPtr.asFunction(); + late final _spine_skeleton_data_get_num_events = _spine_skeleton_data_get_num_eventsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_events( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_events( - data, - ); + ffi.Pointer spine_skeleton_data_get_events(spine_skeleton_data data) { + return _spine_skeleton_data_get_events(data); } late final _spine_skeleton_data_get_eventsPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_events'); - late final _spine_skeleton_data_get_events = - _spine_skeleton_data_get_eventsPtr.asFunction Function(spine_skeleton_data)>(); + 'spine_skeleton_data_get_events', + ); + late final _spine_skeleton_data_get_events = _spine_skeleton_data_get_eventsPtr + .asFunction Function(spine_skeleton_data)>(); - int spine_skeleton_data_get_num_animations( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_num_animations( - data, - ); + int spine_skeleton_data_get_num_animations(spine_skeleton_data data) { + return _spine_skeleton_data_get_num_animations(data); } late final _spine_skeleton_data_get_num_animationsPtr = _lookup>('spine_skeleton_data_get_num_animations'); - late final _spine_skeleton_data_get_num_animations = - _spine_skeleton_data_get_num_animationsPtr.asFunction(); + late final _spine_skeleton_data_get_num_animations = _spine_skeleton_data_get_num_animationsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_animations( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_animations( - data, - ); + ffi.Pointer spine_skeleton_data_get_animations(spine_skeleton_data data) { + return _spine_skeleton_data_get_animations(data); } late final _spine_skeleton_data_get_animationsPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_animations'); - late final _spine_skeleton_data_get_animations = - _spine_skeleton_data_get_animationsPtr.asFunction Function(spine_skeleton_data)>(); + 'spine_skeleton_data_get_animations', + ); + late final _spine_skeleton_data_get_animations = _spine_skeleton_data_get_animationsPtr + .asFunction Function(spine_skeleton_data)>(); - int spine_skeleton_data_get_num_ik_constraints( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_num_ik_constraints( - data, - ); + int spine_skeleton_data_get_num_ik_constraints(spine_skeleton_data data) { + return _spine_skeleton_data_get_num_ik_constraints(data); } late final _spine_skeleton_data_get_num_ik_constraintsPtr = _lookup>( - 'spine_skeleton_data_get_num_ik_constraints'); - late final _spine_skeleton_data_get_num_ik_constraints = - _spine_skeleton_data_get_num_ik_constraintsPtr.asFunction(); + 'spine_skeleton_data_get_num_ik_constraints', + ); + late final _spine_skeleton_data_get_num_ik_constraints = _spine_skeleton_data_get_num_ik_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_ik_constraints( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_ik_constraints( - data, - ); + ffi.Pointer spine_skeleton_data_get_ik_constraints(spine_skeleton_data data) { + return _spine_skeleton_data_get_ik_constraints(data); } late final _spine_skeleton_data_get_ik_constraintsPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_ik_constraints'); + 'spine_skeleton_data_get_ik_constraints', + ); late final _spine_skeleton_data_get_ik_constraints = _spine_skeleton_data_get_ik_constraintsPtr .asFunction Function(spine_skeleton_data)>(); - int spine_skeleton_data_get_num_transform_constraints( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_num_transform_constraints( - data, - ); + int spine_skeleton_data_get_num_transform_constraints(spine_skeleton_data data) { + return _spine_skeleton_data_get_num_transform_constraints(data); } late final _spine_skeleton_data_get_num_transform_constraintsPtr = _lookup>( - 'spine_skeleton_data_get_num_transform_constraints'); - late final _spine_skeleton_data_get_num_transform_constraints = - _spine_skeleton_data_get_num_transform_constraintsPtr.asFunction(); + 'spine_skeleton_data_get_num_transform_constraints', + ); + late final _spine_skeleton_data_get_num_transform_constraints = _spine_skeleton_data_get_num_transform_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_transform_constraints( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_transform_constraints( - data, - ); + ffi.Pointer spine_skeleton_data_get_transform_constraints(spine_skeleton_data data) { + return _spine_skeleton_data_get_transform_constraints(data); } late final _spine_skeleton_data_get_transform_constraintsPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_transform_constraints'); + 'spine_skeleton_data_get_transform_constraints', + ); late final _spine_skeleton_data_get_transform_constraints = _spine_skeleton_data_get_transform_constraintsPtr .asFunction Function(spine_skeleton_data)>(); - int spine_skeleton_data_get_num_path_constraints( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_num_path_constraints( - data, - ); + int spine_skeleton_data_get_num_path_constraints(spine_skeleton_data data) { + return _spine_skeleton_data_get_num_path_constraints(data); } late final _spine_skeleton_data_get_num_path_constraintsPtr = _lookup>( - 'spine_skeleton_data_get_num_path_constraints'); - late final _spine_skeleton_data_get_num_path_constraints = - _spine_skeleton_data_get_num_path_constraintsPtr.asFunction(); + 'spine_skeleton_data_get_num_path_constraints', + ); + late final _spine_skeleton_data_get_num_path_constraints = _spine_skeleton_data_get_num_path_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_path_constraints( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_path_constraints( - data, - ); + ffi.Pointer spine_skeleton_data_get_path_constraints(spine_skeleton_data data) { + return _spine_skeleton_data_get_path_constraints(data); } late final _spine_skeleton_data_get_path_constraintsPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_path_constraints'); + 'spine_skeleton_data_get_path_constraints', + ); late final _spine_skeleton_data_get_path_constraints = _spine_skeleton_data_get_path_constraintsPtr .asFunction Function(spine_skeleton_data)>(); - int spine_skeleton_data_get_num_physics_constraints( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_num_physics_constraints( - data, - ); + int spine_skeleton_data_get_num_physics_constraints(spine_skeleton_data data) { + return _spine_skeleton_data_get_num_physics_constraints(data); } late final _spine_skeleton_data_get_num_physics_constraintsPtr = _lookup>( - 'spine_skeleton_data_get_num_physics_constraints'); - late final _spine_skeleton_data_get_num_physics_constraints = - _spine_skeleton_data_get_num_physics_constraintsPtr.asFunction(); + 'spine_skeleton_data_get_num_physics_constraints', + ); + late final _spine_skeleton_data_get_num_physics_constraints = _spine_skeleton_data_get_num_physics_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_physics_constraints( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_physics_constraints( - data, - ); + ffi.Pointer spine_skeleton_data_get_physics_constraints(spine_skeleton_data data) { + return _spine_skeleton_data_get_physics_constraints(data); } late final _spine_skeleton_data_get_physics_constraintsPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_physics_constraints'); + 'spine_skeleton_data_get_physics_constraints', + ); late final _spine_skeleton_data_get_physics_constraints = _spine_skeleton_data_get_physics_constraintsPtr .asFunction Function(spine_skeleton_data)>(); - double spine_skeleton_data_get_x( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_x( - data, - ); + double spine_skeleton_data_get_x(spine_skeleton_data data) { + return _spine_skeleton_data_get_x(data); } - late final _spine_skeleton_data_get_xPtr = - _lookup>('spine_skeleton_data_get_x'); - late final _spine_skeleton_data_get_x = - _spine_skeleton_data_get_xPtr.asFunction(); + late final _spine_skeleton_data_get_xPtr = _lookup>( + 'spine_skeleton_data_get_x', + ); + late final _spine_skeleton_data_get_x = _spine_skeleton_data_get_xPtr + .asFunction(); - void spine_skeleton_data_set_x( - spine_skeleton_data data, - double x, - ) { - return _spine_skeleton_data_set_x( - data, - x, - ); + void spine_skeleton_data_set_x(spine_skeleton_data data, double x) { + return _spine_skeleton_data_set_x(data, x); } late final _spine_skeleton_data_set_xPtr = _lookup>('spine_skeleton_data_set_x'); - late final _spine_skeleton_data_set_x = - _spine_skeleton_data_set_xPtr.asFunction(); + late final _spine_skeleton_data_set_x = _spine_skeleton_data_set_xPtr + .asFunction(); - double spine_skeleton_data_get_y( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_y( - data, - ); + double spine_skeleton_data_get_y(spine_skeleton_data data) { + return _spine_skeleton_data_get_y(data); } - late final _spine_skeleton_data_get_yPtr = - _lookup>('spine_skeleton_data_get_y'); - late final _spine_skeleton_data_get_y = - _spine_skeleton_data_get_yPtr.asFunction(); + late final _spine_skeleton_data_get_yPtr = _lookup>( + 'spine_skeleton_data_get_y', + ); + late final _spine_skeleton_data_get_y = _spine_skeleton_data_get_yPtr + .asFunction(); - void spine_skeleton_data_set_y( - spine_skeleton_data data, - double y, - ) { - return _spine_skeleton_data_set_y( - data, - y, - ); + void spine_skeleton_data_set_y(spine_skeleton_data data, double y) { + return _spine_skeleton_data_set_y(data, y); } late final _spine_skeleton_data_set_yPtr = _lookup>('spine_skeleton_data_set_y'); - late final _spine_skeleton_data_set_y = - _spine_skeleton_data_set_yPtr.asFunction(); + late final _spine_skeleton_data_set_y = _spine_skeleton_data_set_yPtr + .asFunction(); - double spine_skeleton_data_get_width( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_width( - data, - ); + double spine_skeleton_data_get_width(spine_skeleton_data data) { + return _spine_skeleton_data_get_width(data); } - late final _spine_skeleton_data_get_widthPtr = - _lookup>('spine_skeleton_data_get_width'); - late final _spine_skeleton_data_get_width = - _spine_skeleton_data_get_widthPtr.asFunction(); + late final _spine_skeleton_data_get_widthPtr = _lookup>( + 'spine_skeleton_data_get_width', + ); + late final _spine_skeleton_data_get_width = _spine_skeleton_data_get_widthPtr + .asFunction(); - void spine_skeleton_data_set_width( - spine_skeleton_data data, - double width, - ) { - return _spine_skeleton_data_set_width( - data, - width, - ); + void spine_skeleton_data_set_width(spine_skeleton_data data, double width) { + return _spine_skeleton_data_set_width(data, width); } late final _spine_skeleton_data_set_widthPtr = _lookup>('spine_skeleton_data_set_width'); - late final _spine_skeleton_data_set_width = - _spine_skeleton_data_set_widthPtr.asFunction(); + late final _spine_skeleton_data_set_width = _spine_skeleton_data_set_widthPtr + .asFunction(); - double spine_skeleton_data_get_height( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_height( - data, - ); + double spine_skeleton_data_get_height(spine_skeleton_data data) { + return _spine_skeleton_data_get_height(data); } - late final _spine_skeleton_data_get_heightPtr = - _lookup>('spine_skeleton_data_get_height'); - late final _spine_skeleton_data_get_height = - _spine_skeleton_data_get_heightPtr.asFunction(); + late final _spine_skeleton_data_get_heightPtr = _lookup>( + 'spine_skeleton_data_get_height', + ); + late final _spine_skeleton_data_get_height = _spine_skeleton_data_get_heightPtr + .asFunction(); - void spine_skeleton_data_set_height( - spine_skeleton_data data, - double height, - ) { - return _spine_skeleton_data_set_height( - data, - height, - ); + void spine_skeleton_data_set_height(spine_skeleton_data data, double height) { + return _spine_skeleton_data_set_height(data, height); } late final _spine_skeleton_data_set_heightPtr = _lookup>('spine_skeleton_data_set_height'); - late final _spine_skeleton_data_set_height = - _spine_skeleton_data_set_heightPtr.asFunction(); + late final _spine_skeleton_data_set_height = _spine_skeleton_data_set_heightPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_version( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_version( - data, - ); + ffi.Pointer spine_skeleton_data_get_version(spine_skeleton_data data) { + return _spine_skeleton_data_get_version(data); } late final _spine_skeleton_data_get_versionPtr = _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_version'); - late final _spine_skeleton_data_get_version = - _spine_skeleton_data_get_versionPtr.asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_data_get_version = _spine_skeleton_data_get_versionPtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setVersion() - ffi.Pointer spine_skeleton_data_get_hash( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_hash( - data, - ); + ffi.Pointer spine_skeleton_data_get_hash(spine_skeleton_data data) { + return _spine_skeleton_data_get_hash(data); } late final _spine_skeleton_data_get_hashPtr = _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_hash'); - late final _spine_skeleton_data_get_hash = - _spine_skeleton_data_get_hashPtr.asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_data_get_hash = _spine_skeleton_data_get_hashPtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setHash() - ffi.Pointer spine_skeleton_data_get_images_path( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_images_path( - data, - ); + ffi.Pointer spine_skeleton_data_get_images_path(spine_skeleton_data data) { + return _spine_skeleton_data_get_images_path(data); } late final _spine_skeleton_data_get_images_pathPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_images_path'); - late final _spine_skeleton_data_get_images_path = - _spine_skeleton_data_get_images_pathPtr.asFunction Function(spine_skeleton_data)>(); + 'spine_skeleton_data_get_images_path', + ); + late final _spine_skeleton_data_get_images_path = _spine_skeleton_data_get_images_pathPtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setImagesPath() - ffi.Pointer spine_skeleton_data_get_audio_path( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_audio_path( - data, - ); + ffi.Pointer spine_skeleton_data_get_audio_path(spine_skeleton_data data) { + return _spine_skeleton_data_get_audio_path(data); } late final _spine_skeleton_data_get_audio_pathPtr = _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_audio_path'); - late final _spine_skeleton_data_get_audio_path = - _spine_skeleton_data_get_audio_pathPtr.asFunction Function(spine_skeleton_data)>(); + 'spine_skeleton_data_get_audio_path', + ); + late final _spine_skeleton_data_get_audio_path = _spine_skeleton_data_get_audio_pathPtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setAudioPath() - double spine_skeleton_data_get_fps( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_fps( - data, - ); + double spine_skeleton_data_get_fps(spine_skeleton_data data) { + return _spine_skeleton_data_get_fps(data); } - late final _spine_skeleton_data_get_fpsPtr = - _lookup>('spine_skeleton_data_get_fps'); - late final _spine_skeleton_data_get_fps = - _spine_skeleton_data_get_fpsPtr.asFunction(); + late final _spine_skeleton_data_get_fpsPtr = _lookup>( + 'spine_skeleton_data_get_fps', + ); + late final _spine_skeleton_data_get_fps = _spine_skeleton_data_get_fpsPtr + .asFunction(); /// OMITTED setFps() - double spine_skeleton_data_get_reference_scale( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_get_reference_scale( - data, - ); + double spine_skeleton_data_get_reference_scale(spine_skeleton_data data) { + return _spine_skeleton_data_get_reference_scale(data); } late final _spine_skeleton_data_get_reference_scalePtr = _lookup>('spine_skeleton_data_get_reference_scale'); - late final _spine_skeleton_data_get_reference_scale = - _spine_skeleton_data_get_reference_scalePtr.asFunction(); + late final _spine_skeleton_data_get_reference_scale = _spine_skeleton_data_get_reference_scalePtr + .asFunction(); - void spine_skeleton_data_dispose( - spine_skeleton_data data, - ) { - return _spine_skeleton_data_dispose( - data, - ); + void spine_skeleton_data_dispose(spine_skeleton_data data) { + return _spine_skeleton_data_dispose(data); } - late final _spine_skeleton_data_disposePtr = - _lookup>('spine_skeleton_data_dispose'); - late final _spine_skeleton_data_dispose = - _spine_skeleton_data_disposePtr.asFunction(); + late final _spine_skeleton_data_disposePtr = _lookup>( + 'spine_skeleton_data_dispose', + ); + late final _spine_skeleton_data_dispose = _spine_skeleton_data_disposePtr + .asFunction(); - spine_skeleton_drawable spine_skeleton_drawable_create( - spine_skeleton_data skeletonData, - ) { - return _spine_skeleton_drawable_create( - skeletonData, - ); + spine_skeleton_drawable spine_skeleton_drawable_create(spine_skeleton_data skeletonData) { + return _spine_skeleton_drawable_create(skeletonData); } late final _spine_skeleton_drawable_createPtr = _lookup>( - 'spine_skeleton_drawable_create'); - late final _spine_skeleton_drawable_create = - _spine_skeleton_drawable_createPtr.asFunction(); + 'spine_skeleton_drawable_create', + ); + late final _spine_skeleton_drawable_create = _spine_skeleton_drawable_createPtr + .asFunction(); - spine_render_command spine_skeleton_drawable_render( - spine_skeleton_drawable drawable, - ) { - return _spine_skeleton_drawable_render( - drawable, - ); + spine_render_command spine_skeleton_drawable_render(spine_skeleton_drawable drawable) { + return _spine_skeleton_drawable_render(drawable); } late final _spine_skeleton_drawable_renderPtr = _lookup>( - 'spine_skeleton_drawable_render'); - late final _spine_skeleton_drawable_render = - _spine_skeleton_drawable_renderPtr.asFunction(); + 'spine_skeleton_drawable_render', + ); + late final _spine_skeleton_drawable_render = _spine_skeleton_drawable_renderPtr + .asFunction(); - void spine_skeleton_drawable_dispose( - spine_skeleton_drawable drawable, - ) { - return _spine_skeleton_drawable_dispose( - drawable, - ); + void spine_skeleton_drawable_dispose(spine_skeleton_drawable drawable) { + return _spine_skeleton_drawable_dispose(drawable); } late final _spine_skeleton_drawable_disposePtr = _lookup>('spine_skeleton_drawable_dispose'); - late final _spine_skeleton_drawable_dispose = - _spine_skeleton_drawable_disposePtr.asFunction(); + late final _spine_skeleton_drawable_dispose = _spine_skeleton_drawable_disposePtr + .asFunction(); - spine_skeleton spine_skeleton_drawable_get_skeleton( - spine_skeleton_drawable drawable, - ) { - return _spine_skeleton_drawable_get_skeleton( - drawable, - ); + spine_skeleton spine_skeleton_drawable_get_skeleton(spine_skeleton_drawable drawable) { + return _spine_skeleton_drawable_get_skeleton(drawable); } late final _spine_skeleton_drawable_get_skeletonPtr = _lookup>( - 'spine_skeleton_drawable_get_skeleton'); - late final _spine_skeleton_drawable_get_skeleton = - _spine_skeleton_drawable_get_skeletonPtr.asFunction(); + 'spine_skeleton_drawable_get_skeleton', + ); + late final _spine_skeleton_drawable_get_skeleton = _spine_skeleton_drawable_get_skeletonPtr + .asFunction(); - spine_animation_state spine_skeleton_drawable_get_animation_state( - spine_skeleton_drawable drawable, - ) { - return _spine_skeleton_drawable_get_animation_state( - drawable, - ); + spine_animation_state spine_skeleton_drawable_get_animation_state(spine_skeleton_drawable drawable) { + return _spine_skeleton_drawable_get_animation_state(drawable); } late final _spine_skeleton_drawable_get_animation_statePtr = _lookup>( - 'spine_skeleton_drawable_get_animation_state'); + 'spine_skeleton_drawable_get_animation_state', + ); late final _spine_skeleton_drawable_get_animation_state = _spine_skeleton_drawable_get_animation_statePtr .asFunction(); - spine_animation_state_data spine_skeleton_drawable_get_animation_state_data( - spine_skeleton_drawable drawable, - ) { - return _spine_skeleton_drawable_get_animation_state_data( - drawable, - ); + spine_animation_state_data spine_skeleton_drawable_get_animation_state_data(spine_skeleton_drawable drawable) { + return _spine_skeleton_drawable_get_animation_state_data(drawable); } late final _spine_skeleton_drawable_get_animation_state_dataPtr = _lookup>( - 'spine_skeleton_drawable_get_animation_state_data'); + 'spine_skeleton_drawable_get_animation_state_data', + ); late final _spine_skeleton_drawable_get_animation_state_data = _spine_skeleton_drawable_get_animation_state_dataPtr .asFunction(); - spine_animation_state_events spine_skeleton_drawable_get_animation_state_events( - spine_skeleton_drawable drawable, - ) { - return _spine_skeleton_drawable_get_animation_state_events( - drawable, - ); + spine_animation_state_events spine_skeleton_drawable_get_animation_state_events(spine_skeleton_drawable drawable) { + return _spine_skeleton_drawable_get_animation_state_events(drawable); } late final _spine_skeleton_drawable_get_animation_state_eventsPtr = _lookup>( - 'spine_skeleton_drawable_get_animation_state_events'); + 'spine_skeleton_drawable_get_animation_state_events', + ); late final _spine_skeleton_drawable_get_animation_state_events = _spine_skeleton_drawable_get_animation_state_eventsPtr .asFunction(); - ffi.Pointer spine_render_command_get_positions( - spine_render_command command, - ) { - return _spine_render_command_get_positions( - command, - ); + ffi.Pointer spine_render_command_get_positions(spine_render_command command) { + return _spine_render_command_get_positions(command); } late final _spine_render_command_get_positionsPtr = _lookup Function(spine_render_command)>>( - 'spine_render_command_get_positions'); - late final _spine_render_command_get_positions = - _spine_render_command_get_positionsPtr.asFunction Function(spine_render_command)>(); + 'spine_render_command_get_positions', + ); + late final _spine_render_command_get_positions = _spine_render_command_get_positionsPtr + .asFunction Function(spine_render_command)>(); - ffi.Pointer spine_render_command_get_uvs( - spine_render_command command, - ) { - return _spine_render_command_get_uvs( - command, - ); + ffi.Pointer spine_render_command_get_uvs(spine_render_command command) { + return _spine_render_command_get_uvs(command); } late final _spine_render_command_get_uvsPtr = _lookup Function(spine_render_command)>>( - 'spine_render_command_get_uvs'); - late final _spine_render_command_get_uvs = - _spine_render_command_get_uvsPtr.asFunction Function(spine_render_command)>(); + 'spine_render_command_get_uvs', + ); + late final _spine_render_command_get_uvs = _spine_render_command_get_uvsPtr + .asFunction Function(spine_render_command)>(); - ffi.Pointer spine_render_command_get_colors( - spine_render_command command, - ) { - return _spine_render_command_get_colors( - command, - ); + ffi.Pointer spine_render_command_get_colors(spine_render_command command) { + return _spine_render_command_get_colors(command); } late final _spine_render_command_get_colorsPtr = _lookup Function(spine_render_command)>>( - 'spine_render_command_get_colors'); - late final _spine_render_command_get_colors = - _spine_render_command_get_colorsPtr.asFunction Function(spine_render_command)>(); + 'spine_render_command_get_colors', + ); + late final _spine_render_command_get_colors = _spine_render_command_get_colorsPtr + .asFunction Function(spine_render_command)>(); - int spine_render_command_get_num_vertices( - spine_render_command command, - ) { - return _spine_render_command_get_num_vertices( - command, - ); + int spine_render_command_get_num_vertices(spine_render_command command) { + return _spine_render_command_get_num_vertices(command); } late final _spine_render_command_get_num_verticesPtr = _lookup>('spine_render_command_get_num_vertices'); - late final _spine_render_command_get_num_vertices = - _spine_render_command_get_num_verticesPtr.asFunction(); + late final _spine_render_command_get_num_vertices = _spine_render_command_get_num_verticesPtr + .asFunction(); - ffi.Pointer spine_render_command_get_indices( - spine_render_command command, - ) { - return _spine_render_command_get_indices( - command, - ); + ffi.Pointer spine_render_command_get_indices(spine_render_command command) { + return _spine_render_command_get_indices(command); } late final _spine_render_command_get_indicesPtr = _lookup Function(spine_render_command)>>( - 'spine_render_command_get_indices'); - late final _spine_render_command_get_indices = - _spine_render_command_get_indicesPtr.asFunction Function(spine_render_command)>(); + 'spine_render_command_get_indices', + ); + late final _spine_render_command_get_indices = _spine_render_command_get_indicesPtr + .asFunction Function(spine_render_command)>(); - int spine_render_command_get_num_indices( - spine_render_command command, - ) { - return _spine_render_command_get_num_indices( - command, - ); + int spine_render_command_get_num_indices(spine_render_command command) { + return _spine_render_command_get_num_indices(command); } late final _spine_render_command_get_num_indicesPtr = _lookup>('spine_render_command_get_num_indices'); - late final _spine_render_command_get_num_indices = - _spine_render_command_get_num_indicesPtr.asFunction(); + late final _spine_render_command_get_num_indices = _spine_render_command_get_num_indicesPtr + .asFunction(); - int spine_render_command_get_atlas_page( - spine_render_command command, - ) { - return _spine_render_command_get_atlas_page( - command, - ); + int spine_render_command_get_atlas_page(spine_render_command command) { + return _spine_render_command_get_atlas_page(command); } late final _spine_render_command_get_atlas_pagePtr = _lookup>('spine_render_command_get_atlas_page'); - late final _spine_render_command_get_atlas_page = - _spine_render_command_get_atlas_pagePtr.asFunction(); + late final _spine_render_command_get_atlas_page = _spine_render_command_get_atlas_pagePtr + .asFunction(); - int spine_render_command_get_blend_mode( - spine_render_command command, - ) { - return _spine_render_command_get_blend_mode( - command, - ); + int spine_render_command_get_blend_mode(spine_render_command command) { + return _spine_render_command_get_blend_mode(command); } late final _spine_render_command_get_blend_modePtr = _lookup>('spine_render_command_get_blend_mode'); - late final _spine_render_command_get_blend_mode = - _spine_render_command_get_blend_modePtr.asFunction(); + late final _spine_render_command_get_blend_mode = _spine_render_command_get_blend_modePtr + .asFunction(); - spine_render_command spine_render_command_get_next( - spine_render_command command, - ) { - return _spine_render_command_get_next( - command, - ); + spine_render_command spine_render_command_get_next(spine_render_command command) { + return _spine_render_command_get_next(command); } late final _spine_render_command_get_nextPtr = _lookup>('spine_render_command_get_next'); - late final _spine_render_command_get_next = - _spine_render_command_get_nextPtr.asFunction(); + late final _spine_render_command_get_next = _spine_render_command_get_nextPtr + .asFunction(); - ffi.Pointer spine_animation_get_name( - spine_animation animation, - ) { - return _spine_animation_get_name( - animation, - ); + ffi.Pointer spine_animation_get_name(spine_animation animation) { + return _spine_animation_get_name(animation); } - late final _spine_animation_get_namePtr = - _lookup Function(spine_animation)>>('spine_animation_get_name'); - late final _spine_animation_get_name = - _spine_animation_get_namePtr.asFunction Function(spine_animation)>(); + late final _spine_animation_get_namePtr = _lookup Function(spine_animation)>>( + 'spine_animation_get_name', + ); + late final _spine_animation_get_name = _spine_animation_get_namePtr + .asFunction Function(spine_animation)>(); /// OMITTED getTimelines() /// OMITTED hasTimeline() - double spine_animation_get_duration( - spine_animation animation, - ) { - return _spine_animation_get_duration( - animation, - ); + double spine_animation_get_duration(spine_animation animation) { + return _spine_animation_get_duration(animation); } - late final _spine_animation_get_durationPtr = - _lookup>('spine_animation_get_duration'); - late final _spine_animation_get_duration = - _spine_animation_get_durationPtr.asFunction(); + late final _spine_animation_get_durationPtr = _lookup>( + 'spine_animation_get_duration', + ); + late final _spine_animation_get_duration = _spine_animation_get_durationPtr + .asFunction(); /// OMITTED setDuration() - spine_skeleton_data spine_animation_state_data_get_skeleton_data( - spine_animation_state_data stateData, - ) { - return _spine_animation_state_data_get_skeleton_data( - stateData, - ); + spine_skeleton_data spine_animation_state_data_get_skeleton_data(spine_animation_state_data stateData) { + return _spine_animation_state_data_get_skeleton_data(stateData); } late final _spine_animation_state_data_get_skeleton_dataPtr = _lookup>( - 'spine_animation_state_data_get_skeleton_data'); + 'spine_animation_state_data_get_skeleton_data', + ); late final _spine_animation_state_data_get_skeleton_data = _spine_animation_state_data_get_skeleton_dataPtr .asFunction(); - double spine_animation_state_data_get_default_mix( - spine_animation_state_data stateData, - ) { - return _spine_animation_state_data_get_default_mix( - stateData, - ); + double spine_animation_state_data_get_default_mix(spine_animation_state_data stateData) { + return _spine_animation_state_data_get_default_mix(stateData); } late final _spine_animation_state_data_get_default_mixPtr = _lookup>( - 'spine_animation_state_data_get_default_mix'); - late final _spine_animation_state_data_get_default_mix = - _spine_animation_state_data_get_default_mixPtr.asFunction(); + 'spine_animation_state_data_get_default_mix', + ); + late final _spine_animation_state_data_get_default_mix = _spine_animation_state_data_get_default_mixPtr + .asFunction(); - void spine_animation_state_data_set_default_mix( - spine_animation_state_data stateData, - double defaultMix, - ) { - return _spine_animation_state_data_set_default_mix( - stateData, - defaultMix, - ); + void spine_animation_state_data_set_default_mix(spine_animation_state_data stateData, double defaultMix) { + return _spine_animation_state_data_set_default_mix(stateData, defaultMix); } late final _spine_animation_state_data_set_default_mixPtr = _lookup>( - 'spine_animation_state_data_set_default_mix'); - late final _spine_animation_state_data_set_default_mix = - _spine_animation_state_data_set_default_mixPtr.asFunction(); + 'spine_animation_state_data_set_default_mix', + ); + late final _spine_animation_state_data_set_default_mix = _spine_animation_state_data_set_default_mixPtr + .asFunction(); void spine_animation_state_data_set_mix( spine_animation_state_data stateData, @@ -1253,18 +941,13 @@ class SpineFlutterBindings { spine_animation to, double duration, ) { - return _spine_animation_state_data_set_mix( - stateData, - from, - to, - duration, - ); + return _spine_animation_state_data_set_mix(stateData, from, to, duration); } - late final _spine_animation_state_data_set_mixPtr = _lookup< - ffi - .NativeFunction>( - 'spine_animation_state_data_set_mix'); + late final _spine_animation_state_data_set_mixPtr = + _lookup< + ffi.NativeFunction + >('spine_animation_state_data_set_mix'); late final _spine_animation_state_data_set_mix = _spine_animation_state_data_set_mixPtr .asFunction(); @@ -1273,16 +956,13 @@ class SpineFlutterBindings { spine_animation from, spine_animation to, ) { - return _spine_animation_state_data_get_mix( - stateData, - from, - to, - ); + return _spine_animation_state_data_get_mix(stateData, from, to); } late final _spine_animation_state_data_get_mixPtr = _lookup>( - 'spine_animation_state_data_get_mix'); + 'spine_animation_state_data_get_mix', + ); late final _spine_animation_state_data_get_mix = _spine_animation_state_data_get_mixPtr .asFunction(); @@ -1292,18 +972,15 @@ class SpineFlutterBindings { ffi.Pointer toName, double duration, ) { - return _spine_animation_state_data_set_mix_by_name( - stateData, - fromName, - toName, - duration, - ); + return _spine_animation_state_data_set_mix_by_name(stateData, fromName, toName, duration); } - late final _spine_animation_state_data_set_mix_by_namePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_animation_state_data, ffi.Pointer, ffi.Pointer, - ffi.Float)>>('spine_animation_state_data_set_mix_by_name'); + late final _spine_animation_state_data_set_mix_by_namePtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_animation_state_data, ffi.Pointer, ffi.Pointer, ffi.Float) + > + >('spine_animation_state_data_set_mix_by_name'); late final _spine_animation_state_data_set_mix_by_name = _spine_animation_state_data_set_mix_by_namePtr .asFunction, ffi.Pointer, double)>(); @@ -1312,104 +989,73 @@ class SpineFlutterBindings { ffi.Pointer fromName, ffi.Pointer toName, ) { - return _spine_animation_state_data_get_mix_by_name( - stateData, - fromName, - toName, - ); + return _spine_animation_state_data_get_mix_by_name(stateData, fromName, toName); } late final _spine_animation_state_data_get_mix_by_namePtr = _lookup, ffi.Pointer)>>( - 'spine_animation_state_data_get_mix_by_name'); + 'spine_animation_state_data_get_mix_by_name', + ); late final _spine_animation_state_data_get_mix_by_name = _spine_animation_state_data_get_mix_by_namePtr .asFunction, ffi.Pointer)>(); - void spine_animation_state_data_clear( - spine_animation_state_data stateData, - ) { - return _spine_animation_state_data_clear( - stateData, - ); + void spine_animation_state_data_clear(spine_animation_state_data stateData) { + return _spine_animation_state_data_clear(stateData); } late final _spine_animation_state_data_clearPtr = _lookup>('spine_animation_state_data_clear'); - late final _spine_animation_state_data_clear = - _spine_animation_state_data_clearPtr.asFunction(); + late final _spine_animation_state_data_clear = _spine_animation_state_data_clearPtr + .asFunction(); - void spine_animation_state_update( - spine_animation_state state, - double delta, - ) { - return _spine_animation_state_update( - state, - delta, - ); + void spine_animation_state_update(spine_animation_state state, double delta) { + return _spine_animation_state_update(state, delta); } late final _spine_animation_state_updatePtr = _lookup>('spine_animation_state_update'); - late final _spine_animation_state_update = - _spine_animation_state_updatePtr.asFunction(); + late final _spine_animation_state_update = _spine_animation_state_updatePtr + .asFunction(); - void spine_animation_state_apply( - spine_animation_state state, - spine_skeleton skeleton, - ) { - return _spine_animation_state_apply( - state, - skeleton, - ); + void spine_animation_state_apply(spine_animation_state state, spine_skeleton skeleton) { + return _spine_animation_state_apply(state, skeleton); } late final _spine_animation_state_applyPtr = _lookup>( - 'spine_animation_state_apply'); - late final _spine_animation_state_apply = - _spine_animation_state_applyPtr.asFunction(); + 'spine_animation_state_apply', + ); + late final _spine_animation_state_apply = _spine_animation_state_applyPtr + .asFunction(); - void spine_animation_state_clear_tracks( - spine_animation_state state, - ) { - return _spine_animation_state_clear_tracks( - state, - ); + void spine_animation_state_clear_tracks(spine_animation_state state) { + return _spine_animation_state_clear_tracks(state); } late final _spine_animation_state_clear_tracksPtr = _lookup>('spine_animation_state_clear_tracks'); - late final _spine_animation_state_clear_tracks = - _spine_animation_state_clear_tracksPtr.asFunction(); + late final _spine_animation_state_clear_tracks = _spine_animation_state_clear_tracksPtr + .asFunction(); - void spine_animation_state_clear_track( - spine_animation_state state, - int trackIndex, - ) { - return _spine_animation_state_clear_track( - state, - trackIndex, - ); + void spine_animation_state_clear_track(spine_animation_state state, int trackIndex) { + return _spine_animation_state_clear_track(state, trackIndex); } late final _spine_animation_state_clear_trackPtr = _lookup>( - 'spine_animation_state_clear_track'); - late final _spine_animation_state_clear_track = - _spine_animation_state_clear_trackPtr.asFunction(); + 'spine_animation_state_clear_track', + ); + late final _spine_animation_state_clear_track = _spine_animation_state_clear_trackPtr + .asFunction(); - int spine_animation_state_get_num_tracks( - spine_animation_state state, - ) { - return _spine_animation_state_get_num_tracks( - state, - ); + int spine_animation_state_get_num_tracks(spine_animation_state state) { + return _spine_animation_state_get_num_tracks(state); } late final _spine_animation_state_get_num_tracksPtr = _lookup>('spine_animation_state_get_num_tracks'); - late final _spine_animation_state_get_num_tracks = - _spine_animation_state_get_num_tracksPtr.asFunction(); + late final _spine_animation_state_get_num_tracks = _spine_animation_state_get_num_tracksPtr + .asFunction(); spine_track_entry spine_animation_state_set_animation_by_name( spine_animation_state state, @@ -1417,18 +1063,13 @@ class SpineFlutterBindings { ffi.Pointer animationName, int loop, ) { - return _spine_animation_state_set_animation_by_name( - state, - trackIndex, - animationName, - loop, - ); + return _spine_animation_state_set_animation_by_name(state, trackIndex, animationName, loop); } - late final _spine_animation_state_set_animation_by_namePtr = _lookup< - ffi - .NativeFunction, spine_bool)>>( - 'spine_animation_state_set_animation_by_name'); + late final _spine_animation_state_set_animation_by_namePtr = + _lookup< + ffi.NativeFunction, spine_bool)> + >('spine_animation_state_set_animation_by_name'); late final _spine_animation_state_set_animation_by_name = _spine_animation_state_set_animation_by_namePtr .asFunction, int)>(); @@ -1438,18 +1079,13 @@ class SpineFlutterBindings { spine_animation animation, int loop, ) { - return _spine_animation_state_set_animation( - state, - trackIndex, - animation, - loop, - ); + return _spine_animation_state_set_animation(state, trackIndex, animation, loop); } - late final _spine_animation_state_set_animationPtr = _lookup< - ffi - .NativeFunction>( - 'spine_animation_state_set_animation'); + late final _spine_animation_state_set_animationPtr = + _lookup< + ffi.NativeFunction + >('spine_animation_state_set_animation'); late final _spine_animation_state_set_animation = _spine_animation_state_set_animationPtr .asFunction(); @@ -1460,19 +1096,15 @@ class SpineFlutterBindings { int loop, double delay, ) { - return _spine_animation_state_add_animation_by_name( - state, - trackIndex, - animationName, - loop, - delay, - ); + return _spine_animation_state_add_animation_by_name(state, trackIndex, animationName, loop, delay); } - late final _spine_animation_state_add_animation_by_namePtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function(spine_animation_state, ffi.Int32, ffi.Pointer, spine_bool, - ffi.Float)>>('spine_animation_state_add_animation_by_name'); + late final _spine_animation_state_add_animation_by_namePtr = + _lookup< + ffi.NativeFunction< + spine_track_entry Function(spine_animation_state, ffi.Int32, ffi.Pointer, spine_bool, ffi.Float) + > + >('spine_animation_state_add_animation_by_name'); late final _spine_animation_state_add_animation_by_name = _spine_animation_state_add_animation_by_namePtr .asFunction, int, double)>(); @@ -1483,19 +1115,15 @@ class SpineFlutterBindings { int loop, double delay, ) { - return _spine_animation_state_add_animation( - state, - trackIndex, - animation, - loop, - delay, - ); + return _spine_animation_state_add_animation(state, trackIndex, animation, loop, delay); } - late final _spine_animation_state_add_animationPtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function(spine_animation_state, ffi.Int32, spine_animation, spine_bool, - ffi.Float)>>('spine_animation_state_add_animation'); + late final _spine_animation_state_add_animationPtr = + _lookup< + ffi.NativeFunction< + spine_track_entry Function(spine_animation_state, ffi.Int32, spine_animation, spine_bool, ffi.Float) + > + >('spine_animation_state_add_animation'); late final _spine_animation_state_add_animation = _spine_animation_state_add_animationPtr .asFunction(); @@ -1504,16 +1132,13 @@ class SpineFlutterBindings { int trackIndex, double mixDuration, ) { - return _spine_animation_state_set_empty_animation( - state, - trackIndex, - mixDuration, - ); + return _spine_animation_state_set_empty_animation(state, trackIndex, mixDuration); } late final _spine_animation_state_set_empty_animationPtr = _lookup>( - 'spine_animation_state_set_empty_animation'); + 'spine_animation_state_set_empty_animation', + ); late final _spine_animation_state_set_empty_animation = _spine_animation_state_set_empty_animationPtr .asFunction(); @@ -1523,94 +1148,68 @@ class SpineFlutterBindings { double mixDuration, double delay, ) { - return _spine_animation_state_add_empty_animation( - state, - trackIndex, - mixDuration, - delay, - ); + return _spine_animation_state_add_empty_animation(state, trackIndex, mixDuration, delay); } late final _spine_animation_state_add_empty_animationPtr = _lookup>( - 'spine_animation_state_add_empty_animation'); + 'spine_animation_state_add_empty_animation', + ); late final _spine_animation_state_add_empty_animation = _spine_animation_state_add_empty_animationPtr .asFunction(); - void spine_animation_state_set_empty_animations( - spine_animation_state state, - double mixDuration, - ) { - return _spine_animation_state_set_empty_animations( - state, - mixDuration, - ); + void spine_animation_state_set_empty_animations(spine_animation_state state, double mixDuration) { + return _spine_animation_state_set_empty_animations(state, mixDuration); } late final _spine_animation_state_set_empty_animationsPtr = _lookup>( - 'spine_animation_state_set_empty_animations'); - late final _spine_animation_state_set_empty_animations = - _spine_animation_state_set_empty_animationsPtr.asFunction(); + 'spine_animation_state_set_empty_animations', + ); + late final _spine_animation_state_set_empty_animations = _spine_animation_state_set_empty_animationsPtr + .asFunction(); - spine_track_entry spine_animation_state_get_current( - spine_animation_state state, - int trackIndex, - ) { - return _spine_animation_state_get_current( - state, - trackIndex, - ); + spine_track_entry spine_animation_state_get_current(spine_animation_state state, int trackIndex) { + return _spine_animation_state_get_current(state, trackIndex); } late final _spine_animation_state_get_currentPtr = _lookup>( - 'spine_animation_state_get_current'); - late final _spine_animation_state_get_current = - _spine_animation_state_get_currentPtr.asFunction(); + 'spine_animation_state_get_current', + ); + late final _spine_animation_state_get_current = _spine_animation_state_get_currentPtr + .asFunction(); - spine_animation_state_data spine_animation_state_get_data( - spine_animation_state state, - ) { - return _spine_animation_state_get_data( - state, - ); + spine_animation_state_data spine_animation_state_get_data(spine_animation_state state) { + return _spine_animation_state_get_data(state); } late final _spine_animation_state_get_dataPtr = _lookup>( - 'spine_animation_state_get_data'); - late final _spine_animation_state_get_data = - _spine_animation_state_get_dataPtr.asFunction(); + 'spine_animation_state_get_data', + ); + late final _spine_animation_state_get_data = _spine_animation_state_get_dataPtr + .asFunction(); - double spine_animation_state_get_time_scale( - spine_animation_state state, - ) { - return _spine_animation_state_get_time_scale( - state, - ); + double spine_animation_state_get_time_scale(spine_animation_state state) { + return _spine_animation_state_get_time_scale(state); } late final _spine_animation_state_get_time_scalePtr = _lookup>('spine_animation_state_get_time_scale'); - late final _spine_animation_state_get_time_scale = - _spine_animation_state_get_time_scalePtr.asFunction(); + late final _spine_animation_state_get_time_scale = _spine_animation_state_get_time_scalePtr + .asFunction(); - void spine_animation_state_set_time_scale( - spine_animation_state state, - double timeScale, - ) { - return _spine_animation_state_set_time_scale( - state, - timeScale, - ); + void spine_animation_state_set_time_scale(spine_animation_state state, double timeScale) { + return _spine_animation_state_set_time_scale(state, timeScale); } late final _spine_animation_state_set_time_scalePtr = _lookup>( - 'spine_animation_state_set_time_scale'); - late final _spine_animation_state_set_time_scale = - _spine_animation_state_set_time_scalePtr.asFunction(); + 'spine_animation_state_set_time_scale', + ); + late final _spine_animation_state_set_time_scale = _spine_animation_state_set_time_scalePtr + .asFunction(); /// OMITTED setListener() /// OMITTED setListener() @@ -1618,962 +1217,673 @@ class SpineFlutterBindings { /// OMITTED enableQueue() /// OMITTED setManualTrackEntryDisposal() /// OMITTED getManualTrackEntryDisposal() - void spine_animation_state_dispose_track_entry( - spine_animation_state state, - spine_track_entry entry, - ) { - return _spine_animation_state_dispose_track_entry( - state, - entry, - ); + void spine_animation_state_dispose_track_entry(spine_animation_state state, spine_track_entry entry) { + return _spine_animation_state_dispose_track_entry(state, entry); } late final _spine_animation_state_dispose_track_entryPtr = _lookup>( - 'spine_animation_state_dispose_track_entry'); + 'spine_animation_state_dispose_track_entry', + ); late final _spine_animation_state_dispose_track_entry = _spine_animation_state_dispose_track_entryPtr .asFunction(); - int spine_animation_state_events_get_num_events( - spine_animation_state_events events, - ) { - return _spine_animation_state_events_get_num_events( - events, - ); + int spine_animation_state_events_get_num_events(spine_animation_state_events events) { + return _spine_animation_state_events_get_num_events(events); } late final _spine_animation_state_events_get_num_eventsPtr = _lookup>( - 'spine_animation_state_events_get_num_events'); - late final _spine_animation_state_events_get_num_events = - _spine_animation_state_events_get_num_eventsPtr.asFunction(); + 'spine_animation_state_events_get_num_events', + ); + late final _spine_animation_state_events_get_num_events = _spine_animation_state_events_get_num_eventsPtr + .asFunction(); - int spine_animation_state_events_get_event_type( - spine_animation_state_events events, - int index, - ) { - return _spine_animation_state_events_get_event_type( - events, - index, - ); + int spine_animation_state_events_get_event_type(spine_animation_state_events events, int index) { + return _spine_animation_state_events_get_event_type(events, index); } late final _spine_animation_state_events_get_event_typePtr = _lookup>( - 'spine_animation_state_events_get_event_type'); - late final _spine_animation_state_events_get_event_type = - _spine_animation_state_events_get_event_typePtr.asFunction(); + 'spine_animation_state_events_get_event_type', + ); + late final _spine_animation_state_events_get_event_type = _spine_animation_state_events_get_event_typePtr + .asFunction(); - spine_track_entry spine_animation_state_events_get_track_entry( - spine_animation_state_events events, - int index, - ) { - return _spine_animation_state_events_get_track_entry( - events, - index, - ); + spine_track_entry spine_animation_state_events_get_track_entry(spine_animation_state_events events, int index) { + return _spine_animation_state_events_get_track_entry(events, index); } late final _spine_animation_state_events_get_track_entryPtr = _lookup>( - 'spine_animation_state_events_get_track_entry'); + 'spine_animation_state_events_get_track_entry', + ); late final _spine_animation_state_events_get_track_entry = _spine_animation_state_events_get_track_entryPtr .asFunction(); - spine_event spine_animation_state_events_get_event( - spine_animation_state_events events, - int index, - ) { - return _spine_animation_state_events_get_event( - events, - index, - ); + spine_event spine_animation_state_events_get_event(spine_animation_state_events events, int index) { + return _spine_animation_state_events_get_event(events, index); } late final _spine_animation_state_events_get_eventPtr = _lookup>( - 'spine_animation_state_events_get_event'); - late final _spine_animation_state_events_get_event = - _spine_animation_state_events_get_eventPtr.asFunction(); + 'spine_animation_state_events_get_event', + ); + late final _spine_animation_state_events_get_event = _spine_animation_state_events_get_eventPtr + .asFunction(); - void spine_animation_state_events_reset( - spine_animation_state_events events, - ) { - return _spine_animation_state_events_reset( - events, - ); + void spine_animation_state_events_reset(spine_animation_state_events events) { + return _spine_animation_state_events_reset(events); } late final _spine_animation_state_events_resetPtr = _lookup>( - 'spine_animation_state_events_reset'); - late final _spine_animation_state_events_reset = - _spine_animation_state_events_resetPtr.asFunction(); + 'spine_animation_state_events_reset', + ); + late final _spine_animation_state_events_reset = _spine_animation_state_events_resetPtr + .asFunction(); - int spine_track_entry_get_track_index( - spine_track_entry entry, - ) { - return _spine_track_entry_get_track_index( - entry, - ); + int spine_track_entry_get_track_index(spine_track_entry entry) { + return _spine_track_entry_get_track_index(entry); } - late final _spine_track_entry_get_track_indexPtr = - _lookup>('spine_track_entry_get_track_index'); - late final _spine_track_entry_get_track_index = - _spine_track_entry_get_track_indexPtr.asFunction(); + late final _spine_track_entry_get_track_indexPtr = _lookup>( + 'spine_track_entry_get_track_index', + ); + late final _spine_track_entry_get_track_index = _spine_track_entry_get_track_indexPtr + .asFunction(); - spine_animation spine_track_entry_get_animation( - spine_track_entry entry, - ) { - return _spine_track_entry_get_animation( - entry, - ); + spine_animation spine_track_entry_get_animation(spine_track_entry entry) { + return _spine_track_entry_get_animation(entry); } late final _spine_track_entry_get_animationPtr = _lookup>('spine_track_entry_get_animation'); - late final _spine_track_entry_get_animation = - _spine_track_entry_get_animationPtr.asFunction(); + late final _spine_track_entry_get_animation = _spine_track_entry_get_animationPtr + .asFunction(); - spine_track_entry spine_track_entry_get_previous( - spine_track_entry entry, - ) { - return _spine_track_entry_get_previous( - entry, - ); + spine_track_entry spine_track_entry_get_previous(spine_track_entry entry) { + return _spine_track_entry_get_previous(entry); } late final _spine_track_entry_get_previousPtr = _lookup>('spine_track_entry_get_previous'); - late final _spine_track_entry_get_previous = - _spine_track_entry_get_previousPtr.asFunction(); + late final _spine_track_entry_get_previous = _spine_track_entry_get_previousPtr + .asFunction(); - int spine_track_entry_get_loop( - spine_track_entry entry, - ) { - return _spine_track_entry_get_loop( - entry, - ); + int spine_track_entry_get_loop(spine_track_entry entry) { + return _spine_track_entry_get_loop(entry); } - late final _spine_track_entry_get_loopPtr = - _lookup>('spine_track_entry_get_loop'); + late final _spine_track_entry_get_loopPtr = _lookup>( + 'spine_track_entry_get_loop', + ); late final _spine_track_entry_get_loop = _spine_track_entry_get_loopPtr.asFunction(); - void spine_track_entry_set_loop( - spine_track_entry entry, - int loop, - ) { - return _spine_track_entry_set_loop( - entry, - loop, - ); + void spine_track_entry_set_loop(spine_track_entry entry, int loop) { + return _spine_track_entry_set_loop(entry, loop); } late final _spine_track_entry_set_loopPtr = _lookup>('spine_track_entry_set_loop'); - late final _spine_track_entry_set_loop = - _spine_track_entry_set_loopPtr.asFunction(); + late final _spine_track_entry_set_loop = _spine_track_entry_set_loopPtr + .asFunction(); - int spine_track_entry_get_hold_previous( - spine_track_entry entry, - ) { - return _spine_track_entry_get_hold_previous( - entry, - ); + int spine_track_entry_get_hold_previous(spine_track_entry entry) { + return _spine_track_entry_get_hold_previous(entry); } late final _spine_track_entry_get_hold_previousPtr = _lookup>('spine_track_entry_get_hold_previous'); - late final _spine_track_entry_get_hold_previous = - _spine_track_entry_get_hold_previousPtr.asFunction(); + late final _spine_track_entry_get_hold_previous = _spine_track_entry_get_hold_previousPtr + .asFunction(); - void spine_track_entry_set_hold_previous( - spine_track_entry entry, - int holdPrevious, - ) { - return _spine_track_entry_set_hold_previous( - entry, - holdPrevious, - ); + void spine_track_entry_set_hold_previous(spine_track_entry entry, int holdPrevious) { + return _spine_track_entry_set_hold_previous(entry, holdPrevious); } late final _spine_track_entry_set_hold_previousPtr = _lookup>( - 'spine_track_entry_set_hold_previous'); - late final _spine_track_entry_set_hold_previous = - _spine_track_entry_set_hold_previousPtr.asFunction(); + 'spine_track_entry_set_hold_previous', + ); + late final _spine_track_entry_set_hold_previous = _spine_track_entry_set_hold_previousPtr + .asFunction(); - int spine_track_entry_get_reverse( - spine_track_entry entry, - ) { - return _spine_track_entry_get_reverse( - entry, - ); + int spine_track_entry_get_reverse(spine_track_entry entry) { + return _spine_track_entry_get_reverse(entry); } - late final _spine_track_entry_get_reversePtr = - _lookup>('spine_track_entry_get_reverse'); - late final _spine_track_entry_get_reverse = - _spine_track_entry_get_reversePtr.asFunction(); + late final _spine_track_entry_get_reversePtr = _lookup>( + 'spine_track_entry_get_reverse', + ); + late final _spine_track_entry_get_reverse = _spine_track_entry_get_reversePtr + .asFunction(); - void spine_track_entry_set_reverse( - spine_track_entry entry, - int reverse, - ) { - return _spine_track_entry_set_reverse( - entry, - reverse, - ); + void spine_track_entry_set_reverse(spine_track_entry entry, int reverse) { + return _spine_track_entry_set_reverse(entry, reverse); } late final _spine_track_entry_set_reversePtr = _lookup>('spine_track_entry_set_reverse'); - late final _spine_track_entry_set_reverse = - _spine_track_entry_set_reversePtr.asFunction(); + late final _spine_track_entry_set_reverse = _spine_track_entry_set_reversePtr + .asFunction(); - int spine_track_entry_get_shortest_rotation( - spine_track_entry entry, - ) { - return _spine_track_entry_get_shortest_rotation( - entry, - ); + int spine_track_entry_get_shortest_rotation(spine_track_entry entry) { + return _spine_track_entry_get_shortest_rotation(entry); } late final _spine_track_entry_get_shortest_rotationPtr = _lookup>('spine_track_entry_get_shortest_rotation'); - late final _spine_track_entry_get_shortest_rotation = - _spine_track_entry_get_shortest_rotationPtr.asFunction(); + late final _spine_track_entry_get_shortest_rotation = _spine_track_entry_get_shortest_rotationPtr + .asFunction(); - void spine_track_entry_set_shortest_rotation( - spine_track_entry entry, - int shortestRotation, - ) { - return _spine_track_entry_set_shortest_rotation( - entry, - shortestRotation, - ); + void spine_track_entry_set_shortest_rotation(spine_track_entry entry, int shortestRotation) { + return _spine_track_entry_set_shortest_rotation(entry, shortestRotation); } late final _spine_track_entry_set_shortest_rotationPtr = _lookup>( - 'spine_track_entry_set_shortest_rotation'); - late final _spine_track_entry_set_shortest_rotation = - _spine_track_entry_set_shortest_rotationPtr.asFunction(); + 'spine_track_entry_set_shortest_rotation', + ); + late final _spine_track_entry_set_shortest_rotation = _spine_track_entry_set_shortest_rotationPtr + .asFunction(); - double spine_track_entry_get_delay( - spine_track_entry entry, - ) { - return _spine_track_entry_get_delay( - entry, - ); + double spine_track_entry_get_delay(spine_track_entry entry) { + return _spine_track_entry_get_delay(entry); } - late final _spine_track_entry_get_delayPtr = - _lookup>('spine_track_entry_get_delay'); - late final _spine_track_entry_get_delay = - _spine_track_entry_get_delayPtr.asFunction(); + late final _spine_track_entry_get_delayPtr = _lookup>( + 'spine_track_entry_get_delay', + ); + late final _spine_track_entry_get_delay = _spine_track_entry_get_delayPtr + .asFunction(); - void spine_track_entry_set_delay( - spine_track_entry entry, - double delay, - ) { - return _spine_track_entry_set_delay( - entry, - delay, - ); + void spine_track_entry_set_delay(spine_track_entry entry, double delay) { + return _spine_track_entry_set_delay(entry, delay); } late final _spine_track_entry_set_delayPtr = _lookup>('spine_track_entry_set_delay'); - late final _spine_track_entry_set_delay = - _spine_track_entry_set_delayPtr.asFunction(); + late final _spine_track_entry_set_delay = _spine_track_entry_set_delayPtr + .asFunction(); - double spine_track_entry_get_track_time( - spine_track_entry entry, - ) { - return _spine_track_entry_get_track_time( - entry, - ); + double spine_track_entry_get_track_time(spine_track_entry entry) { + return _spine_track_entry_get_track_time(entry); } - late final _spine_track_entry_get_track_timePtr = - _lookup>('spine_track_entry_get_track_time'); - late final _spine_track_entry_get_track_time = - _spine_track_entry_get_track_timePtr.asFunction(); + late final _spine_track_entry_get_track_timePtr = _lookup>( + 'spine_track_entry_get_track_time', + ); + late final _spine_track_entry_get_track_time = _spine_track_entry_get_track_timePtr + .asFunction(); - void spine_track_entry_set_track_time( - spine_track_entry entry, - double trackTime, - ) { - return _spine_track_entry_set_track_time( - entry, - trackTime, - ); + void spine_track_entry_set_track_time(spine_track_entry entry, double trackTime) { + return _spine_track_entry_set_track_time(entry, trackTime); } late final _spine_track_entry_set_track_timePtr = _lookup>('spine_track_entry_set_track_time'); - late final _spine_track_entry_set_track_time = - _spine_track_entry_set_track_timePtr.asFunction(); + late final _spine_track_entry_set_track_time = _spine_track_entry_set_track_timePtr + .asFunction(); - double spine_track_entry_get_track_end( - spine_track_entry entry, - ) { - return _spine_track_entry_get_track_end( - entry, - ); + double spine_track_entry_get_track_end(spine_track_entry entry) { + return _spine_track_entry_get_track_end(entry); } - late final _spine_track_entry_get_track_endPtr = - _lookup>('spine_track_entry_get_track_end'); - late final _spine_track_entry_get_track_end = - _spine_track_entry_get_track_endPtr.asFunction(); + late final _spine_track_entry_get_track_endPtr = _lookup>( + 'spine_track_entry_get_track_end', + ); + late final _spine_track_entry_get_track_end = _spine_track_entry_get_track_endPtr + .asFunction(); - void spine_track_entry_set_track_end( - spine_track_entry entry, - double trackEnd, - ) { - return _spine_track_entry_set_track_end( - entry, - trackEnd, - ); + void spine_track_entry_set_track_end(spine_track_entry entry, double trackEnd) { + return _spine_track_entry_set_track_end(entry, trackEnd); } late final _spine_track_entry_set_track_endPtr = _lookup>('spine_track_entry_set_track_end'); - late final _spine_track_entry_set_track_end = - _spine_track_entry_set_track_endPtr.asFunction(); + late final _spine_track_entry_set_track_end = _spine_track_entry_set_track_endPtr + .asFunction(); - double spine_track_entry_get_animation_start( - spine_track_entry entry, - ) { - return _spine_track_entry_get_animation_start( - entry, - ); + double spine_track_entry_get_animation_start(spine_track_entry entry) { + return _spine_track_entry_get_animation_start(entry); } late final _spine_track_entry_get_animation_startPtr = _lookup>('spine_track_entry_get_animation_start'); - late final _spine_track_entry_get_animation_start = - _spine_track_entry_get_animation_startPtr.asFunction(); + late final _spine_track_entry_get_animation_start = _spine_track_entry_get_animation_startPtr + .asFunction(); - void spine_track_entry_set_animation_start( - spine_track_entry entry, - double animationStart, - ) { - return _spine_track_entry_set_animation_start( - entry, - animationStart, - ); + void spine_track_entry_set_animation_start(spine_track_entry entry, double animationStart) { + return _spine_track_entry_set_animation_start(entry, animationStart); } late final _spine_track_entry_set_animation_startPtr = _lookup>( - 'spine_track_entry_set_animation_start'); - late final _spine_track_entry_set_animation_start = - _spine_track_entry_set_animation_startPtr.asFunction(); + 'spine_track_entry_set_animation_start', + ); + late final _spine_track_entry_set_animation_start = _spine_track_entry_set_animation_startPtr + .asFunction(); - double spine_track_entry_get_animation_end( - spine_track_entry entry, - ) { - return _spine_track_entry_get_animation_end( - entry, - ); + double spine_track_entry_get_animation_end(spine_track_entry entry) { + return _spine_track_entry_get_animation_end(entry); } late final _spine_track_entry_get_animation_endPtr = _lookup>('spine_track_entry_get_animation_end'); - late final _spine_track_entry_get_animation_end = - _spine_track_entry_get_animation_endPtr.asFunction(); + late final _spine_track_entry_get_animation_end = _spine_track_entry_get_animation_endPtr + .asFunction(); - void spine_track_entry_set_animation_end( - spine_track_entry entry, - double animationEnd, - ) { - return _spine_track_entry_set_animation_end( - entry, - animationEnd, - ); + void spine_track_entry_set_animation_end(spine_track_entry entry, double animationEnd) { + return _spine_track_entry_set_animation_end(entry, animationEnd); } late final _spine_track_entry_set_animation_endPtr = _lookup>( - 'spine_track_entry_set_animation_end'); - late final _spine_track_entry_set_animation_end = - _spine_track_entry_set_animation_endPtr.asFunction(); + 'spine_track_entry_set_animation_end', + ); + late final _spine_track_entry_set_animation_end = _spine_track_entry_set_animation_endPtr + .asFunction(); - double spine_track_entry_get_animation_last( - spine_track_entry entry, - ) { - return _spine_track_entry_get_animation_last( - entry, - ); + double spine_track_entry_get_animation_last(spine_track_entry entry) { + return _spine_track_entry_get_animation_last(entry); } late final _spine_track_entry_get_animation_lastPtr = _lookup>('spine_track_entry_get_animation_last'); - late final _spine_track_entry_get_animation_last = - _spine_track_entry_get_animation_lastPtr.asFunction(); + late final _spine_track_entry_get_animation_last = _spine_track_entry_get_animation_lastPtr + .asFunction(); - void spine_track_entry_set_animation_last( - spine_track_entry entry, - double animationLast, - ) { - return _spine_track_entry_set_animation_last( - entry, - animationLast, - ); + void spine_track_entry_set_animation_last(spine_track_entry entry, double animationLast) { + return _spine_track_entry_set_animation_last(entry, animationLast); } late final _spine_track_entry_set_animation_lastPtr = _lookup>( - 'spine_track_entry_set_animation_last'); - late final _spine_track_entry_set_animation_last = - _spine_track_entry_set_animation_lastPtr.asFunction(); + 'spine_track_entry_set_animation_last', + ); + late final _spine_track_entry_set_animation_last = _spine_track_entry_set_animation_lastPtr + .asFunction(); - double spine_track_entry_get_animation_time( - spine_track_entry entry, - ) { - return _spine_track_entry_get_animation_time( - entry, - ); + double spine_track_entry_get_animation_time(spine_track_entry entry) { + return _spine_track_entry_get_animation_time(entry); } late final _spine_track_entry_get_animation_timePtr = _lookup>('spine_track_entry_get_animation_time'); - late final _spine_track_entry_get_animation_time = - _spine_track_entry_get_animation_timePtr.asFunction(); + late final _spine_track_entry_get_animation_time = _spine_track_entry_get_animation_timePtr + .asFunction(); - double spine_track_entry_get_time_scale( - spine_track_entry entry, - ) { - return _spine_track_entry_get_time_scale( - entry, - ); + double spine_track_entry_get_time_scale(spine_track_entry entry) { + return _spine_track_entry_get_time_scale(entry); } - late final _spine_track_entry_get_time_scalePtr = - _lookup>('spine_track_entry_get_time_scale'); - late final _spine_track_entry_get_time_scale = - _spine_track_entry_get_time_scalePtr.asFunction(); + late final _spine_track_entry_get_time_scalePtr = _lookup>( + 'spine_track_entry_get_time_scale', + ); + late final _spine_track_entry_get_time_scale = _spine_track_entry_get_time_scalePtr + .asFunction(); - void spine_track_entry_set_time_scale( - spine_track_entry entry, - double timeScale, - ) { - return _spine_track_entry_set_time_scale( - entry, - timeScale, - ); + void spine_track_entry_set_time_scale(spine_track_entry entry, double timeScale) { + return _spine_track_entry_set_time_scale(entry, timeScale); } late final _spine_track_entry_set_time_scalePtr = _lookup>('spine_track_entry_set_time_scale'); - late final _spine_track_entry_set_time_scale = - _spine_track_entry_set_time_scalePtr.asFunction(); + late final _spine_track_entry_set_time_scale = _spine_track_entry_set_time_scalePtr + .asFunction(); - double spine_track_entry_get_alpha( - spine_track_entry entry, - ) { - return _spine_track_entry_get_alpha( - entry, - ); + double spine_track_entry_get_alpha(spine_track_entry entry) { + return _spine_track_entry_get_alpha(entry); } - late final _spine_track_entry_get_alphaPtr = - _lookup>('spine_track_entry_get_alpha'); - late final _spine_track_entry_get_alpha = - _spine_track_entry_get_alphaPtr.asFunction(); + late final _spine_track_entry_get_alphaPtr = _lookup>( + 'spine_track_entry_get_alpha', + ); + late final _spine_track_entry_get_alpha = _spine_track_entry_get_alphaPtr + .asFunction(); - void spine_track_entry_set_alpha( - spine_track_entry entry, - double alpha, - ) { - return _spine_track_entry_set_alpha( - entry, - alpha, - ); + void spine_track_entry_set_alpha(spine_track_entry entry, double alpha) { + return _spine_track_entry_set_alpha(entry, alpha); } late final _spine_track_entry_set_alphaPtr = _lookup>('spine_track_entry_set_alpha'); - late final _spine_track_entry_set_alpha = - _spine_track_entry_set_alphaPtr.asFunction(); + late final _spine_track_entry_set_alpha = _spine_track_entry_set_alphaPtr + .asFunction(); - double spine_track_entry_get_event_threshold( - spine_track_entry entry, - ) { - return _spine_track_entry_get_event_threshold( - entry, - ); + double spine_track_entry_get_event_threshold(spine_track_entry entry) { + return _spine_track_entry_get_event_threshold(entry); } late final _spine_track_entry_get_event_thresholdPtr = _lookup>('spine_track_entry_get_event_threshold'); - late final _spine_track_entry_get_event_threshold = - _spine_track_entry_get_event_thresholdPtr.asFunction(); + late final _spine_track_entry_get_event_threshold = _spine_track_entry_get_event_thresholdPtr + .asFunction(); - void spine_track_entry_set_event_threshold( - spine_track_entry entry, - double eventThreshold, - ) { - return _spine_track_entry_set_event_threshold( - entry, - eventThreshold, - ); + void spine_track_entry_set_event_threshold(spine_track_entry entry, double eventThreshold) { + return _spine_track_entry_set_event_threshold(entry, eventThreshold); } late final _spine_track_entry_set_event_thresholdPtr = _lookup>( - 'spine_track_entry_set_event_threshold'); - late final _spine_track_entry_set_event_threshold = - _spine_track_entry_set_event_thresholdPtr.asFunction(); + 'spine_track_entry_set_event_threshold', + ); + late final _spine_track_entry_set_event_threshold = _spine_track_entry_set_event_thresholdPtr + .asFunction(); - double spine_track_entry_get_alpha_attachment_threshold( - spine_track_entry entry, - ) { - return _spine_track_entry_get_alpha_attachment_threshold( - entry, - ); + double spine_track_entry_get_alpha_attachment_threshold(spine_track_entry entry) { + return _spine_track_entry_get_alpha_attachment_threshold(entry); } late final _spine_track_entry_get_alpha_attachment_thresholdPtr = _lookup>( - 'spine_track_entry_get_alpha_attachment_threshold'); - late final _spine_track_entry_get_alpha_attachment_threshold = - _spine_track_entry_get_alpha_attachment_thresholdPtr.asFunction(); + 'spine_track_entry_get_alpha_attachment_threshold', + ); + late final _spine_track_entry_get_alpha_attachment_threshold = _spine_track_entry_get_alpha_attachment_thresholdPtr + .asFunction(); - void spine_track_entry_set_alpha_attachment_threshold( - spine_track_entry entry, - double attachmentThreshold, - ) { - return _spine_track_entry_set_alpha_attachment_threshold( - entry, - attachmentThreshold, - ); + void spine_track_entry_set_alpha_attachment_threshold(spine_track_entry entry, double attachmentThreshold) { + return _spine_track_entry_set_alpha_attachment_threshold(entry, attachmentThreshold); } late final _spine_track_entry_set_alpha_attachment_thresholdPtr = _lookup>( - 'spine_track_entry_set_alpha_attachment_threshold'); - late final _spine_track_entry_set_alpha_attachment_threshold = - _spine_track_entry_set_alpha_attachment_thresholdPtr.asFunction(); + 'spine_track_entry_set_alpha_attachment_threshold', + ); + late final _spine_track_entry_set_alpha_attachment_threshold = _spine_track_entry_set_alpha_attachment_thresholdPtr + .asFunction(); - double spine_track_entry_get_mix_attachment_threshold( - spine_track_entry entry, - ) { - return _spine_track_entry_get_mix_attachment_threshold( - entry, - ); + double spine_track_entry_get_mix_attachment_threshold(spine_track_entry entry) { + return _spine_track_entry_get_mix_attachment_threshold(entry); } late final _spine_track_entry_get_mix_attachment_thresholdPtr = _lookup>( - 'spine_track_entry_get_mix_attachment_threshold'); - late final _spine_track_entry_get_mix_attachment_threshold = - _spine_track_entry_get_mix_attachment_thresholdPtr.asFunction(); + 'spine_track_entry_get_mix_attachment_threshold', + ); + late final _spine_track_entry_get_mix_attachment_threshold = _spine_track_entry_get_mix_attachment_thresholdPtr + .asFunction(); - void spine_track_entry_set_mix_attachment_threshold( - spine_track_entry entry, - double attachmentThreshold, - ) { - return _spine_track_entry_set_mix_attachment_threshold( - entry, - attachmentThreshold, - ); + void spine_track_entry_set_mix_attachment_threshold(spine_track_entry entry, double attachmentThreshold) { + return _spine_track_entry_set_mix_attachment_threshold(entry, attachmentThreshold); } late final _spine_track_entry_set_mix_attachment_thresholdPtr = _lookup>( - 'spine_track_entry_set_mix_attachment_threshold'); - late final _spine_track_entry_set_mix_attachment_threshold = - _spine_track_entry_set_mix_attachment_thresholdPtr.asFunction(); + 'spine_track_entry_set_mix_attachment_threshold', + ); + late final _spine_track_entry_set_mix_attachment_threshold = _spine_track_entry_set_mix_attachment_thresholdPtr + .asFunction(); - double spine_track_entry_get_mix_draw_order_threshold( - spine_track_entry entry, - ) { - return _spine_track_entry_get_mix_draw_order_threshold( - entry, - ); + double spine_track_entry_get_mix_draw_order_threshold(spine_track_entry entry) { + return _spine_track_entry_get_mix_draw_order_threshold(entry); } late final _spine_track_entry_get_mix_draw_order_thresholdPtr = _lookup>( - 'spine_track_entry_get_mix_draw_order_threshold'); - late final _spine_track_entry_get_mix_draw_order_threshold = - _spine_track_entry_get_mix_draw_order_thresholdPtr.asFunction(); + 'spine_track_entry_get_mix_draw_order_threshold', + ); + late final _spine_track_entry_get_mix_draw_order_threshold = _spine_track_entry_get_mix_draw_order_thresholdPtr + .asFunction(); - void spine_track_entry_set_mix_draw_order_threshold( - spine_track_entry entry, - double drawOrderThreshold, - ) { - return _spine_track_entry_set_mix_draw_order_threshold( - entry, - drawOrderThreshold, - ); + void spine_track_entry_set_mix_draw_order_threshold(spine_track_entry entry, double drawOrderThreshold) { + return _spine_track_entry_set_mix_draw_order_threshold(entry, drawOrderThreshold); } late final _spine_track_entry_set_mix_draw_order_thresholdPtr = _lookup>( - 'spine_track_entry_set_mix_draw_order_threshold'); - late final _spine_track_entry_set_mix_draw_order_threshold = - _spine_track_entry_set_mix_draw_order_thresholdPtr.asFunction(); + 'spine_track_entry_set_mix_draw_order_threshold', + ); + late final _spine_track_entry_set_mix_draw_order_threshold = _spine_track_entry_set_mix_draw_order_thresholdPtr + .asFunction(); - spine_track_entry spine_track_entry_get_next( - spine_track_entry entry, - ) { - return _spine_track_entry_get_next( - entry, - ); + spine_track_entry spine_track_entry_get_next(spine_track_entry entry) { + return _spine_track_entry_get_next(entry); } late final _spine_track_entry_get_nextPtr = _lookup>('spine_track_entry_get_next'); - late final _spine_track_entry_get_next = - _spine_track_entry_get_nextPtr.asFunction(); + late final _spine_track_entry_get_next = _spine_track_entry_get_nextPtr + .asFunction(); - int spine_track_entry_is_complete( - spine_track_entry entry, - ) { - return _spine_track_entry_is_complete( - entry, - ); + int spine_track_entry_is_complete(spine_track_entry entry) { + return _spine_track_entry_is_complete(entry); } - late final _spine_track_entry_is_completePtr = - _lookup>('spine_track_entry_is_complete'); - late final _spine_track_entry_is_complete = - _spine_track_entry_is_completePtr.asFunction(); + late final _spine_track_entry_is_completePtr = _lookup>( + 'spine_track_entry_is_complete', + ); + late final _spine_track_entry_is_complete = _spine_track_entry_is_completePtr + .asFunction(); - double spine_track_entry_get_mix_time( - spine_track_entry entry, - ) { - return _spine_track_entry_get_mix_time( - entry, - ); + double spine_track_entry_get_mix_time(spine_track_entry entry) { + return _spine_track_entry_get_mix_time(entry); } - late final _spine_track_entry_get_mix_timePtr = - _lookup>('spine_track_entry_get_mix_time'); - late final _spine_track_entry_get_mix_time = - _spine_track_entry_get_mix_timePtr.asFunction(); + late final _spine_track_entry_get_mix_timePtr = _lookup>( + 'spine_track_entry_get_mix_time', + ); + late final _spine_track_entry_get_mix_time = _spine_track_entry_get_mix_timePtr + .asFunction(); - void spine_track_entry_set_mix_time( - spine_track_entry entry, - double mixTime, - ) { - return _spine_track_entry_set_mix_time( - entry, - mixTime, - ); + void spine_track_entry_set_mix_time(spine_track_entry entry, double mixTime) { + return _spine_track_entry_set_mix_time(entry, mixTime); } late final _spine_track_entry_set_mix_timePtr = _lookup>('spine_track_entry_set_mix_time'); - late final _spine_track_entry_set_mix_time = - _spine_track_entry_set_mix_timePtr.asFunction(); + late final _spine_track_entry_set_mix_time = _spine_track_entry_set_mix_timePtr + .asFunction(); - double spine_track_entry_get_mix_duration( - spine_track_entry entry, - ) { - return _spine_track_entry_get_mix_duration( - entry, - ); + double spine_track_entry_get_mix_duration(spine_track_entry entry) { + return _spine_track_entry_get_mix_duration(entry); } late final _spine_track_entry_get_mix_durationPtr = _lookup>('spine_track_entry_get_mix_duration'); - late final _spine_track_entry_get_mix_duration = - _spine_track_entry_get_mix_durationPtr.asFunction(); + late final _spine_track_entry_get_mix_duration = _spine_track_entry_get_mix_durationPtr + .asFunction(); - void spine_track_entry_set_mix_duration( - spine_track_entry entry, - double mixDuration, - ) { - return _spine_track_entry_set_mix_duration( - entry, - mixDuration, - ); + void spine_track_entry_set_mix_duration(spine_track_entry entry, double mixDuration) { + return _spine_track_entry_set_mix_duration(entry, mixDuration); } late final _spine_track_entry_set_mix_durationPtr = _lookup>( - 'spine_track_entry_set_mix_duration'); - late final _spine_track_entry_set_mix_duration = - _spine_track_entry_set_mix_durationPtr.asFunction(); + 'spine_track_entry_set_mix_duration', + ); + late final _spine_track_entry_set_mix_duration = _spine_track_entry_set_mix_durationPtr + .asFunction(); - int spine_track_entry_get_mix_blend( - spine_track_entry entry, - ) { - return _spine_track_entry_get_mix_blend( - entry, - ); + int spine_track_entry_get_mix_blend(spine_track_entry entry) { + return _spine_track_entry_get_mix_blend(entry); } - late final _spine_track_entry_get_mix_blendPtr = - _lookup>('spine_track_entry_get_mix_blend'); - late final _spine_track_entry_get_mix_blend = - _spine_track_entry_get_mix_blendPtr.asFunction(); + late final _spine_track_entry_get_mix_blendPtr = _lookup>( + 'spine_track_entry_get_mix_blend', + ); + late final _spine_track_entry_get_mix_blend = _spine_track_entry_get_mix_blendPtr + .asFunction(); - void spine_track_entry_set_mix_blend( - spine_track_entry entry, - int mixBlend, - ) { - return _spine_track_entry_set_mix_blend( - entry, - mixBlend, - ); + void spine_track_entry_set_mix_blend(spine_track_entry entry, int mixBlend) { + return _spine_track_entry_set_mix_blend(entry, mixBlend); } late final _spine_track_entry_set_mix_blendPtr = _lookup>('spine_track_entry_set_mix_blend'); - late final _spine_track_entry_set_mix_blend = - _spine_track_entry_set_mix_blendPtr.asFunction(); + late final _spine_track_entry_set_mix_blend = _spine_track_entry_set_mix_blendPtr + .asFunction(); - spine_track_entry spine_track_entry_get_mixing_from( - spine_track_entry entry, - ) { - return _spine_track_entry_get_mixing_from( - entry, - ); + spine_track_entry spine_track_entry_get_mixing_from(spine_track_entry entry) { + return _spine_track_entry_get_mixing_from(entry); } late final _spine_track_entry_get_mixing_fromPtr = _lookup>('spine_track_entry_get_mixing_from'); - late final _spine_track_entry_get_mixing_from = - _spine_track_entry_get_mixing_fromPtr.asFunction(); + late final _spine_track_entry_get_mixing_from = _spine_track_entry_get_mixing_fromPtr + .asFunction(); - spine_track_entry spine_track_entry_get_mixing_to( - spine_track_entry entry, - ) { - return _spine_track_entry_get_mixing_to( - entry, - ); + spine_track_entry spine_track_entry_get_mixing_to(spine_track_entry entry) { + return _spine_track_entry_get_mixing_to(entry); } late final _spine_track_entry_get_mixing_toPtr = _lookup>('spine_track_entry_get_mixing_to'); - late final _spine_track_entry_get_mixing_to = - _spine_track_entry_get_mixing_toPtr.asFunction(); + late final _spine_track_entry_get_mixing_to = _spine_track_entry_get_mixing_toPtr + .asFunction(); - void spine_track_entry_reset_rotation_directions( - spine_track_entry entry, - ) { - return _spine_track_entry_reset_rotation_directions( - entry, - ); + void spine_track_entry_reset_rotation_directions(spine_track_entry entry) { + return _spine_track_entry_reset_rotation_directions(entry); } late final _spine_track_entry_reset_rotation_directionsPtr = _lookup>('spine_track_entry_reset_rotation_directions'); - late final _spine_track_entry_reset_rotation_directions = - _spine_track_entry_reset_rotation_directionsPtr.asFunction(); + late final _spine_track_entry_reset_rotation_directions = _spine_track_entry_reset_rotation_directionsPtr + .asFunction(); - double spine_track_entry_get_track_complete( - spine_track_entry entry, - ) { - return _spine_track_entry_get_track_complete( - entry, - ); + double spine_track_entry_get_track_complete(spine_track_entry entry) { + return _spine_track_entry_get_track_complete(entry); } late final _spine_track_entry_get_track_completePtr = _lookup>('spine_track_entry_get_track_complete'); - late final _spine_track_entry_get_track_complete = - _spine_track_entry_get_track_completePtr.asFunction(); + late final _spine_track_entry_get_track_complete = _spine_track_entry_get_track_completePtr + .asFunction(); - int spine_track_entry_was_applied( - spine_track_entry entry, - ) { - return _spine_track_entry_was_applied( - entry, - ); + int spine_track_entry_was_applied(spine_track_entry entry) { + return _spine_track_entry_was_applied(entry); } - late final _spine_track_entry_was_appliedPtr = - _lookup>('spine_track_entry_was_applied'); - late final _spine_track_entry_was_applied = - _spine_track_entry_was_appliedPtr.asFunction(); + late final _spine_track_entry_was_appliedPtr = _lookup>( + 'spine_track_entry_was_applied', + ); + late final _spine_track_entry_was_applied = _spine_track_entry_was_appliedPtr + .asFunction(); - int spine_track_entry_is_next_ready( - spine_track_entry entry, - ) { - return _spine_track_entry_is_next_ready( - entry, - ); + int spine_track_entry_is_next_ready(spine_track_entry entry) { + return _spine_track_entry_is_next_ready(entry); } - late final _spine_track_entry_is_next_readyPtr = - _lookup>('spine_track_entry_is_next_ready'); - late final _spine_track_entry_is_next_ready = - _spine_track_entry_is_next_readyPtr.asFunction(); + late final _spine_track_entry_is_next_readyPtr = _lookup>( + 'spine_track_entry_is_next_ready', + ); + late final _spine_track_entry_is_next_ready = _spine_track_entry_is_next_readyPtr + .asFunction(); /// OMITTED setListener() /// OMITTED setListener() - void spine_skeleton_update_cache( - spine_skeleton skeleton, - ) { - return _spine_skeleton_update_cache( - skeleton, - ); + void spine_skeleton_update_cache(spine_skeleton skeleton) { + return _spine_skeleton_update_cache(skeleton); } - late final _spine_skeleton_update_cachePtr = - _lookup>('spine_skeleton_update_cache'); + late final _spine_skeleton_update_cachePtr = _lookup>( + 'spine_skeleton_update_cache', + ); late final _spine_skeleton_update_cache = _spine_skeleton_update_cachePtr.asFunction(); /// OMITTED printUpdateCache() - void spine_skeleton_update_world_transform( - spine_skeleton skeleton, - int physics, - ) { - return _spine_skeleton_update_world_transform( - skeleton, - physics, - ); + void spine_skeleton_update_world_transform(spine_skeleton skeleton, int physics) { + return _spine_skeleton_update_world_transform(skeleton, physics); } late final _spine_skeleton_update_world_transformPtr = _lookup>( - 'spine_skeleton_update_world_transform'); - late final _spine_skeleton_update_world_transform = - _spine_skeleton_update_world_transformPtr.asFunction(); + 'spine_skeleton_update_world_transform', + ); + late final _spine_skeleton_update_world_transform = _spine_skeleton_update_world_transformPtr + .asFunction(); - void spine_skeleton_update_world_transform_bone( - spine_skeleton skeleton, - int physics, - spine_bone parent, - ) { - return _spine_skeleton_update_world_transform_bone( - skeleton, - physics, - parent, - ); + void spine_skeleton_update_world_transform_bone(spine_skeleton skeleton, int physics, spine_bone parent) { + return _spine_skeleton_update_world_transform_bone(skeleton, physics, parent); } late final _spine_skeleton_update_world_transform_bonePtr = _lookup>( - 'spine_skeleton_update_world_transform_bone'); - late final _spine_skeleton_update_world_transform_bone = - _spine_skeleton_update_world_transform_bonePtr.asFunction(); + 'spine_skeleton_update_world_transform_bone', + ); + late final _spine_skeleton_update_world_transform_bone = _spine_skeleton_update_world_transform_bonePtr + .asFunction(); - void spine_skeleton_set_to_setup_pose( - spine_skeleton skeleton, - ) { - return _spine_skeleton_set_to_setup_pose( - skeleton, - ); + void spine_skeleton_set_to_setup_pose(spine_skeleton skeleton) { + return _spine_skeleton_set_to_setup_pose(skeleton); } - late final _spine_skeleton_set_to_setup_posePtr = - _lookup>('spine_skeleton_set_to_setup_pose'); - late final _spine_skeleton_set_to_setup_pose = - _spine_skeleton_set_to_setup_posePtr.asFunction(); + late final _spine_skeleton_set_to_setup_posePtr = _lookup>( + 'spine_skeleton_set_to_setup_pose', + ); + late final _spine_skeleton_set_to_setup_pose = _spine_skeleton_set_to_setup_posePtr + .asFunction(); - void spine_skeleton_set_bones_to_setup_pose( - spine_skeleton skeleton, - ) { - return _spine_skeleton_set_bones_to_setup_pose( - skeleton, - ); + void spine_skeleton_set_bones_to_setup_pose(spine_skeleton skeleton) { + return _spine_skeleton_set_bones_to_setup_pose(skeleton); } late final _spine_skeleton_set_bones_to_setup_posePtr = _lookup>('spine_skeleton_set_bones_to_setup_pose'); - late final _spine_skeleton_set_bones_to_setup_pose = - _spine_skeleton_set_bones_to_setup_posePtr.asFunction(); + late final _spine_skeleton_set_bones_to_setup_pose = _spine_skeleton_set_bones_to_setup_posePtr + .asFunction(); - void spine_skeleton_set_slots_to_setup_pose( - spine_skeleton skeleton, - ) { - return _spine_skeleton_set_slots_to_setup_pose( - skeleton, - ); + void spine_skeleton_set_slots_to_setup_pose(spine_skeleton skeleton) { + return _spine_skeleton_set_slots_to_setup_pose(skeleton); } late final _spine_skeleton_set_slots_to_setup_posePtr = _lookup>('spine_skeleton_set_slots_to_setup_pose'); - late final _spine_skeleton_set_slots_to_setup_pose = - _spine_skeleton_set_slots_to_setup_posePtr.asFunction(); + late final _spine_skeleton_set_slots_to_setup_pose = _spine_skeleton_set_slots_to_setup_posePtr + .asFunction(); - spine_bone spine_skeleton_find_bone( - spine_skeleton skeleton, - ffi.Pointer boneName, - ) { - return _spine_skeleton_find_bone( - skeleton, - boneName, - ); + spine_bone spine_skeleton_find_bone(spine_skeleton skeleton, ffi.Pointer boneName) { + return _spine_skeleton_find_bone(skeleton, boneName); } late final _spine_skeleton_find_bonePtr = _lookup)>>('spine_skeleton_find_bone'); - late final _spine_skeleton_find_bone = - _spine_skeleton_find_bonePtr.asFunction)>(); + late final _spine_skeleton_find_bone = _spine_skeleton_find_bonePtr + .asFunction)>(); - spine_slot spine_skeleton_find_slot( - spine_skeleton skeleton, - ffi.Pointer slotName, - ) { - return _spine_skeleton_find_slot( - skeleton, - slotName, - ); + spine_slot spine_skeleton_find_slot(spine_skeleton skeleton, ffi.Pointer slotName) { + return _spine_skeleton_find_slot(skeleton, slotName); } late final _spine_skeleton_find_slotPtr = _lookup)>>('spine_skeleton_find_slot'); - late final _spine_skeleton_find_slot = - _spine_skeleton_find_slotPtr.asFunction)>(); + late final _spine_skeleton_find_slot = _spine_skeleton_find_slotPtr + .asFunction)>(); - void spine_skeleton_set_skin_by_name( - spine_skeleton skeleton, - ffi.Pointer skinName, - ) { - return _spine_skeleton_set_skin_by_name( - skeleton, - skinName, - ); + void spine_skeleton_set_skin_by_name(spine_skeleton skeleton, ffi.Pointer skinName) { + return _spine_skeleton_set_skin_by_name(skeleton, skinName); } late final _spine_skeleton_set_skin_by_namePtr = _lookup)>>( - 'spine_skeleton_set_skin_by_name'); - late final _spine_skeleton_set_skin_by_name = - _spine_skeleton_set_skin_by_namePtr.asFunction)>(); + 'spine_skeleton_set_skin_by_name', + ); + late final _spine_skeleton_set_skin_by_name = _spine_skeleton_set_skin_by_namePtr + .asFunction)>(); - void spine_skeleton_set_skin( - spine_skeleton skeleton, - spine_skin skin, - ) { - return _spine_skeleton_set_skin( - skeleton, - skin, - ); + void spine_skeleton_set_skin(spine_skeleton skeleton, spine_skin skin) { + return _spine_skeleton_set_skin(skeleton, skin); } - late final _spine_skeleton_set_skinPtr = - _lookup>('spine_skeleton_set_skin'); - late final _spine_skeleton_set_skin = - _spine_skeleton_set_skinPtr.asFunction(); + late final _spine_skeleton_set_skinPtr = _lookup>( + 'spine_skeleton_set_skin', + ); + late final _spine_skeleton_set_skin = _spine_skeleton_set_skinPtr + .asFunction(); spine_attachment spine_skeleton_get_attachment_by_name( spine_skeleton skeleton, ffi.Pointer slotName, ffi.Pointer attachmentName, ) { - return _spine_skeleton_get_attachment_by_name( - skeleton, - slotName, - attachmentName, - ); + return _spine_skeleton_get_attachment_by_name(skeleton, slotName, attachmentName); } late final _spine_skeleton_get_attachment_by_namePtr = _lookup, ffi.Pointer)>>( - 'spine_skeleton_get_attachment_by_name'); + 'spine_skeleton_get_attachment_by_name', + ); late final _spine_skeleton_get_attachment_by_name = _spine_skeleton_get_attachment_by_namePtr .asFunction, ffi.Pointer)>(); @@ -2582,50 +1892,39 @@ class SpineFlutterBindings { int slotIndex, ffi.Pointer attachmentName, ) { - return _spine_skeleton_get_attachment( - skeleton, - slotIndex, - attachmentName, - ); + return _spine_skeleton_get_attachment(skeleton, slotIndex, attachmentName); } late final _spine_skeleton_get_attachmentPtr = _lookup)>>( - 'spine_skeleton_get_attachment'); - late final _spine_skeleton_get_attachment = - _spine_skeleton_get_attachmentPtr.asFunction)>(); + 'spine_skeleton_get_attachment', + ); + late final _spine_skeleton_get_attachment = _spine_skeleton_get_attachmentPtr + .asFunction)>(); void spine_skeleton_set_attachment( spine_skeleton skeleton, ffi.Pointer slotName, ffi.Pointer attachmentName, ) { - return _spine_skeleton_set_attachment( - skeleton, - slotName, - attachmentName, - ); + return _spine_skeleton_set_attachment(skeleton, slotName, attachmentName); } late final _spine_skeleton_set_attachmentPtr = _lookup, ffi.Pointer)>>( - 'spine_skeleton_set_attachment'); + 'spine_skeleton_set_attachment', + ); late final _spine_skeleton_set_attachment = _spine_skeleton_set_attachmentPtr .asFunction, ffi.Pointer)>(); - spine_ik_constraint spine_skeleton_find_ik_constraint( - spine_skeleton skeleton, - ffi.Pointer constraintName, - ) { - return _spine_skeleton_find_ik_constraint( - skeleton, - constraintName, - ); + spine_ik_constraint spine_skeleton_find_ik_constraint(spine_skeleton skeleton, ffi.Pointer constraintName) { + return _spine_skeleton_find_ik_constraint(skeleton, constraintName); } late final _spine_skeleton_find_ik_constraintPtr = _lookup)>>( - 'spine_skeleton_find_ik_constraint'); + 'spine_skeleton_find_ik_constraint', + ); late final _spine_skeleton_find_ik_constraint = _spine_skeleton_find_ik_constraintPtr .asFunction)>(); @@ -2633,31 +1932,24 @@ class SpineFlutterBindings { spine_skeleton skeleton, ffi.Pointer constraintName, ) { - return _spine_skeleton_find_transform_constraint( - skeleton, - constraintName, - ); + return _spine_skeleton_find_transform_constraint(skeleton, constraintName); } late final _spine_skeleton_find_transform_constraintPtr = _lookup)>>( - 'spine_skeleton_find_transform_constraint'); + 'spine_skeleton_find_transform_constraint', + ); late final _spine_skeleton_find_transform_constraint = _spine_skeleton_find_transform_constraintPtr .asFunction)>(); - spine_path_constraint spine_skeleton_find_path_constraint( - spine_skeleton skeleton, - ffi.Pointer constraintName, - ) { - return _spine_skeleton_find_path_constraint( - skeleton, - constraintName, - ); + spine_path_constraint spine_skeleton_find_path_constraint(spine_skeleton skeleton, ffi.Pointer constraintName) { + return _spine_skeleton_find_path_constraint(skeleton, constraintName); } late final _spine_skeleton_find_path_constraintPtr = _lookup)>>( - 'spine_skeleton_find_path_constraint'); + 'spine_skeleton_find_path_constraint', + ); late final _spine_skeleton_find_path_constraint = _spine_skeleton_find_path_constraintPtr .asFunction)>(); @@ -2665,1605 +1957,1116 @@ class SpineFlutterBindings { spine_skeleton skeleton, ffi.Pointer constraintName, ) { - return _spine_skeleton_find_physics_constraint( - skeleton, - constraintName, - ); + return _spine_skeleton_find_physics_constraint(skeleton, constraintName); } late final _spine_skeleton_find_physics_constraintPtr = _lookup)>>( - 'spine_skeleton_find_physics_constraint'); + 'spine_skeleton_find_physics_constraint', + ); late final _spine_skeleton_find_physics_constraint = _spine_skeleton_find_physics_constraintPtr .asFunction)>(); - spine_bounds spine_skeleton_get_bounds( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_bounds( - skeleton, - ); + spine_bounds spine_skeleton_get_bounds(spine_skeleton skeleton) { + return _spine_skeleton_get_bounds(skeleton); } - late final _spine_skeleton_get_boundsPtr = - _lookup>('spine_skeleton_get_bounds'); - late final _spine_skeleton_get_bounds = - _spine_skeleton_get_boundsPtr.asFunction(); + late final _spine_skeleton_get_boundsPtr = _lookup>( + 'spine_skeleton_get_bounds', + ); + late final _spine_skeleton_get_bounds = _spine_skeleton_get_boundsPtr + .asFunction(); - spine_bone spine_skeleton_get_root_bone( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_root_bone( - skeleton, - ); + spine_bone spine_skeleton_get_root_bone(spine_skeleton skeleton) { + return _spine_skeleton_get_root_bone(skeleton); } - late final _spine_skeleton_get_root_bonePtr = - _lookup>('spine_skeleton_get_root_bone'); - late final _spine_skeleton_get_root_bone = - _spine_skeleton_get_root_bonePtr.asFunction(); + late final _spine_skeleton_get_root_bonePtr = _lookup>( + 'spine_skeleton_get_root_bone', + ); + late final _spine_skeleton_get_root_bone = _spine_skeleton_get_root_bonePtr + .asFunction(); - spine_skeleton_data spine_skeleton_get_data( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_data( - skeleton, - ); + spine_skeleton_data spine_skeleton_get_data(spine_skeleton skeleton) { + return _spine_skeleton_get_data(skeleton); } - late final _spine_skeleton_get_dataPtr = - _lookup>('spine_skeleton_get_data'); - late final _spine_skeleton_get_data = - _spine_skeleton_get_dataPtr.asFunction(); + late final _spine_skeleton_get_dataPtr = _lookup>( + 'spine_skeleton_get_data', + ); + late final _spine_skeleton_get_data = _spine_skeleton_get_dataPtr + .asFunction(); - int spine_skeleton_get_num_bones( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_num_bones( - skeleton, - ); + int spine_skeleton_get_num_bones(spine_skeleton skeleton) { + return _spine_skeleton_get_num_bones(skeleton); } - late final _spine_skeleton_get_num_bonesPtr = - _lookup>('spine_skeleton_get_num_bones'); - late final _spine_skeleton_get_num_bones = - _spine_skeleton_get_num_bonesPtr.asFunction(); + late final _spine_skeleton_get_num_bonesPtr = _lookup>( + 'spine_skeleton_get_num_bones', + ); + late final _spine_skeleton_get_num_bones = _spine_skeleton_get_num_bonesPtr + .asFunction(); - ffi.Pointer spine_skeleton_get_bones( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_bones( - skeleton, - ); + ffi.Pointer spine_skeleton_get_bones(spine_skeleton skeleton) { + return _spine_skeleton_get_bones(skeleton); } late final _spine_skeleton_get_bonesPtr = _lookup Function(spine_skeleton)>>('spine_skeleton_get_bones'); - late final _spine_skeleton_get_bones = - _spine_skeleton_get_bonesPtr.asFunction Function(spine_skeleton)>(); + late final _spine_skeleton_get_bones = _spine_skeleton_get_bonesPtr + .asFunction Function(spine_skeleton)>(); /// OMITTED getUpdateCacheList() - int spine_skeleton_get_num_slots( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_num_slots( - skeleton, - ); + int spine_skeleton_get_num_slots(spine_skeleton skeleton) { + return _spine_skeleton_get_num_slots(skeleton); } - late final _spine_skeleton_get_num_slotsPtr = - _lookup>('spine_skeleton_get_num_slots'); - late final _spine_skeleton_get_num_slots = - _spine_skeleton_get_num_slotsPtr.asFunction(); + late final _spine_skeleton_get_num_slotsPtr = _lookup>( + 'spine_skeleton_get_num_slots', + ); + late final _spine_skeleton_get_num_slots = _spine_skeleton_get_num_slotsPtr + .asFunction(); - ffi.Pointer spine_skeleton_get_slots( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_slots( - skeleton, - ); + ffi.Pointer spine_skeleton_get_slots(spine_skeleton skeleton) { + return _spine_skeleton_get_slots(skeleton); } late final _spine_skeleton_get_slotsPtr = _lookup Function(spine_skeleton)>>('spine_skeleton_get_slots'); - late final _spine_skeleton_get_slots = - _spine_skeleton_get_slotsPtr.asFunction Function(spine_skeleton)>(); + late final _spine_skeleton_get_slots = _spine_skeleton_get_slotsPtr + .asFunction Function(spine_skeleton)>(); - int spine_skeleton_get_num_draw_order( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_num_draw_order( - skeleton, - ); + int spine_skeleton_get_num_draw_order(spine_skeleton skeleton) { + return _spine_skeleton_get_num_draw_order(skeleton); } - late final _spine_skeleton_get_num_draw_orderPtr = - _lookup>('spine_skeleton_get_num_draw_order'); - late final _spine_skeleton_get_num_draw_order = - _spine_skeleton_get_num_draw_orderPtr.asFunction(); + late final _spine_skeleton_get_num_draw_orderPtr = _lookup>( + 'spine_skeleton_get_num_draw_order', + ); + late final _spine_skeleton_get_num_draw_order = _spine_skeleton_get_num_draw_orderPtr + .asFunction(); - ffi.Pointer spine_skeleton_get_draw_order( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_draw_order( - skeleton, - ); + ffi.Pointer spine_skeleton_get_draw_order(spine_skeleton skeleton) { + return _spine_skeleton_get_draw_order(skeleton); } late final _spine_skeleton_get_draw_orderPtr = _lookup Function(spine_skeleton)>>('spine_skeleton_get_draw_order'); - late final _spine_skeleton_get_draw_order = - _spine_skeleton_get_draw_orderPtr.asFunction Function(spine_skeleton)>(); + late final _spine_skeleton_get_draw_order = _spine_skeleton_get_draw_orderPtr + .asFunction Function(spine_skeleton)>(); - int spine_skeleton_get_num_ik_constraints( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_num_ik_constraints( - skeleton, - ); + int spine_skeleton_get_num_ik_constraints(spine_skeleton skeleton) { + return _spine_skeleton_get_num_ik_constraints(skeleton); } late final _spine_skeleton_get_num_ik_constraintsPtr = _lookup>('spine_skeleton_get_num_ik_constraints'); - late final _spine_skeleton_get_num_ik_constraints = - _spine_skeleton_get_num_ik_constraintsPtr.asFunction(); + late final _spine_skeleton_get_num_ik_constraints = _spine_skeleton_get_num_ik_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_get_ik_constraints( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_ik_constraints( - skeleton, - ); + ffi.Pointer spine_skeleton_get_ik_constraints(spine_skeleton skeleton) { + return _spine_skeleton_get_ik_constraints(skeleton); } late final _spine_skeleton_get_ik_constraintsPtr = _lookup Function(spine_skeleton)>>( - 'spine_skeleton_get_ik_constraints'); - late final _spine_skeleton_get_ik_constraints = - _spine_skeleton_get_ik_constraintsPtr.asFunction Function(spine_skeleton)>(); + 'spine_skeleton_get_ik_constraints', + ); + late final _spine_skeleton_get_ik_constraints = _spine_skeleton_get_ik_constraintsPtr + .asFunction Function(spine_skeleton)>(); - int spine_skeleton_get_num_transform_constraints( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_num_transform_constraints( - skeleton, - ); + int spine_skeleton_get_num_transform_constraints(spine_skeleton skeleton) { + return _spine_skeleton_get_num_transform_constraints(skeleton); } late final _spine_skeleton_get_num_transform_constraintsPtr = _lookup>('spine_skeleton_get_num_transform_constraints'); - late final _spine_skeleton_get_num_transform_constraints = - _spine_skeleton_get_num_transform_constraintsPtr.asFunction(); + late final _spine_skeleton_get_num_transform_constraints = _spine_skeleton_get_num_transform_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_get_transform_constraints( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_transform_constraints( - skeleton, - ); + ffi.Pointer spine_skeleton_get_transform_constraints(spine_skeleton skeleton) { + return _spine_skeleton_get_transform_constraints(skeleton); } late final _spine_skeleton_get_transform_constraintsPtr = _lookup Function(spine_skeleton)>>( - 'spine_skeleton_get_transform_constraints'); + 'spine_skeleton_get_transform_constraints', + ); late final _spine_skeleton_get_transform_constraints = _spine_skeleton_get_transform_constraintsPtr .asFunction Function(spine_skeleton)>(); - int spine_skeleton_get_num_path_constraints( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_num_path_constraints( - skeleton, - ); + int spine_skeleton_get_num_path_constraints(spine_skeleton skeleton) { + return _spine_skeleton_get_num_path_constraints(skeleton); } late final _spine_skeleton_get_num_path_constraintsPtr = _lookup>('spine_skeleton_get_num_path_constraints'); - late final _spine_skeleton_get_num_path_constraints = - _spine_skeleton_get_num_path_constraintsPtr.asFunction(); + late final _spine_skeleton_get_num_path_constraints = _spine_skeleton_get_num_path_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_get_path_constraints( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_path_constraints( - skeleton, - ); + ffi.Pointer spine_skeleton_get_path_constraints(spine_skeleton skeleton) { + return _spine_skeleton_get_path_constraints(skeleton); } late final _spine_skeleton_get_path_constraintsPtr = _lookup Function(spine_skeleton)>>( - 'spine_skeleton_get_path_constraints'); - late final _spine_skeleton_get_path_constraints = - _spine_skeleton_get_path_constraintsPtr.asFunction Function(spine_skeleton)>(); + 'spine_skeleton_get_path_constraints', + ); + late final _spine_skeleton_get_path_constraints = _spine_skeleton_get_path_constraintsPtr + .asFunction Function(spine_skeleton)>(); - int spine_skeleton_get_num_physics_constraints( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_num_physics_constraints( - skeleton, - ); + int spine_skeleton_get_num_physics_constraints(spine_skeleton skeleton) { + return _spine_skeleton_get_num_physics_constraints(skeleton); } late final _spine_skeleton_get_num_physics_constraintsPtr = _lookup>('spine_skeleton_get_num_physics_constraints'); - late final _spine_skeleton_get_num_physics_constraints = - _spine_skeleton_get_num_physics_constraintsPtr.asFunction(); + late final _spine_skeleton_get_num_physics_constraints = _spine_skeleton_get_num_physics_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_get_physics_constraints( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_physics_constraints( - skeleton, - ); + ffi.Pointer spine_skeleton_get_physics_constraints(spine_skeleton skeleton) { + return _spine_skeleton_get_physics_constraints(skeleton); } late final _spine_skeleton_get_physics_constraintsPtr = _lookup Function(spine_skeleton)>>( - 'spine_skeleton_get_physics_constraints'); + 'spine_skeleton_get_physics_constraints', + ); late final _spine_skeleton_get_physics_constraints = _spine_skeleton_get_physics_constraintsPtr .asFunction Function(spine_skeleton)>(); - spine_skin spine_skeleton_get_skin( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_skin( - skeleton, - ); + spine_skin spine_skeleton_get_skin(spine_skeleton skeleton) { + return _spine_skeleton_get_skin(skeleton); } - late final _spine_skeleton_get_skinPtr = - _lookup>('spine_skeleton_get_skin'); + late final _spine_skeleton_get_skinPtr = _lookup>( + 'spine_skeleton_get_skin', + ); late final _spine_skeleton_get_skin = _spine_skeleton_get_skinPtr.asFunction(); - spine_color spine_skeleton_get_color( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_color( - skeleton, - ); + spine_color spine_skeleton_get_color(spine_skeleton skeleton) { + return _spine_skeleton_get_color(skeleton); } - late final _spine_skeleton_get_colorPtr = - _lookup>('spine_skeleton_get_color'); - late final _spine_skeleton_get_color = - _spine_skeleton_get_colorPtr.asFunction(); + late final _spine_skeleton_get_colorPtr = _lookup>( + 'spine_skeleton_get_color', + ); + late final _spine_skeleton_get_color = _spine_skeleton_get_colorPtr + .asFunction(); - void spine_skeleton_set_color( - spine_skeleton skeleton, - double r, - double g, - double b, - double a, - ) { - return _spine_skeleton_set_color( - skeleton, - r, - g, - b, - a, - ); + void spine_skeleton_set_color(spine_skeleton skeleton, double r, double g, double b, double a) { + return _spine_skeleton_set_color(skeleton, r, g, b, a); } late final _spine_skeleton_set_colorPtr = _lookup>( - 'spine_skeleton_set_color'); - late final _spine_skeleton_set_color = - _spine_skeleton_set_colorPtr.asFunction(); + 'spine_skeleton_set_color', + ); + late final _spine_skeleton_set_color = _spine_skeleton_set_colorPtr + .asFunction(); - void spine_skeleton_set_position( - spine_skeleton skeleton, - double x, - double y, - ) { - return _spine_skeleton_set_position( - skeleton, - x, - y, - ); + void spine_skeleton_set_position(spine_skeleton skeleton, double x, double y) { + return _spine_skeleton_set_position(skeleton, x, y); } late final _spine_skeleton_set_positionPtr = _lookup>( - 'spine_skeleton_set_position'); - late final _spine_skeleton_set_position = - _spine_skeleton_set_positionPtr.asFunction(); + 'spine_skeleton_set_position', + ); + late final _spine_skeleton_set_position = _spine_skeleton_set_positionPtr + .asFunction(); - double spine_skeleton_get_x( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_x( - skeleton, - ); + double spine_skeleton_get_x(spine_skeleton skeleton) { + return _spine_skeleton_get_x(skeleton); } - late final _spine_skeleton_get_xPtr = - _lookup>('spine_skeleton_get_x'); + late final _spine_skeleton_get_xPtr = _lookup>( + 'spine_skeleton_get_x', + ); late final _spine_skeleton_get_x = _spine_skeleton_get_xPtr.asFunction(); - void spine_skeleton_set_x( - spine_skeleton skeleton, - double x, - ) { - return _spine_skeleton_set_x( - skeleton, - x, - ); + void spine_skeleton_set_x(spine_skeleton skeleton, double x) { + return _spine_skeleton_set_x(skeleton, x); } - late final _spine_skeleton_set_xPtr = - _lookup>('spine_skeleton_set_x'); + late final _spine_skeleton_set_xPtr = _lookup>( + 'spine_skeleton_set_x', + ); late final _spine_skeleton_set_x = _spine_skeleton_set_xPtr.asFunction(); - double spine_skeleton_get_y( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_y( - skeleton, - ); + double spine_skeleton_get_y(spine_skeleton skeleton) { + return _spine_skeleton_get_y(skeleton); } - late final _spine_skeleton_get_yPtr = - _lookup>('spine_skeleton_get_y'); + late final _spine_skeleton_get_yPtr = _lookup>( + 'spine_skeleton_get_y', + ); late final _spine_skeleton_get_y = _spine_skeleton_get_yPtr.asFunction(); - void spine_skeleton_set_y( - spine_skeleton skeleton, - double y, - ) { - return _spine_skeleton_set_y( - skeleton, - y, - ); + void spine_skeleton_set_y(spine_skeleton skeleton, double y) { + return _spine_skeleton_set_y(skeleton, y); } - late final _spine_skeleton_set_yPtr = - _lookup>('spine_skeleton_set_y'); + late final _spine_skeleton_set_yPtr = _lookup>( + 'spine_skeleton_set_y', + ); late final _spine_skeleton_set_y = _spine_skeleton_set_yPtr.asFunction(); - double spine_skeleton_get_scale_x( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_scale_x( - skeleton, - ); + double spine_skeleton_get_scale_x(spine_skeleton skeleton) { + return _spine_skeleton_get_scale_x(skeleton); } - late final _spine_skeleton_get_scale_xPtr = - _lookup>('spine_skeleton_get_scale_x'); + late final _spine_skeleton_get_scale_xPtr = _lookup>( + 'spine_skeleton_get_scale_x', + ); late final _spine_skeleton_get_scale_x = _spine_skeleton_get_scale_xPtr.asFunction(); - void spine_skeleton_set_scale_x( - spine_skeleton skeleton, - double scaleX, - ) { - return _spine_skeleton_set_scale_x( - skeleton, - scaleX, - ); + void spine_skeleton_set_scale_x(spine_skeleton skeleton, double scaleX) { + return _spine_skeleton_set_scale_x(skeleton, scaleX); } - late final _spine_skeleton_set_scale_xPtr = - _lookup>('spine_skeleton_set_scale_x'); - late final _spine_skeleton_set_scale_x = - _spine_skeleton_set_scale_xPtr.asFunction(); + late final _spine_skeleton_set_scale_xPtr = _lookup>( + 'spine_skeleton_set_scale_x', + ); + late final _spine_skeleton_set_scale_x = _spine_skeleton_set_scale_xPtr + .asFunction(); - double spine_skeleton_get_scale_y( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_scale_y( - skeleton, - ); + double spine_skeleton_get_scale_y(spine_skeleton skeleton) { + return _spine_skeleton_get_scale_y(skeleton); } - late final _spine_skeleton_get_scale_yPtr = - _lookup>('spine_skeleton_get_scale_y'); + late final _spine_skeleton_get_scale_yPtr = _lookup>( + 'spine_skeleton_get_scale_y', + ); late final _spine_skeleton_get_scale_y = _spine_skeleton_get_scale_yPtr.asFunction(); - void spine_skeleton_set_scale_y( - spine_skeleton skeleton, - double scaleY, - ) { - return _spine_skeleton_set_scale_y( - skeleton, - scaleY, - ); + void spine_skeleton_set_scale_y(spine_skeleton skeleton, double scaleY) { + return _spine_skeleton_set_scale_y(skeleton, scaleY); } - late final _spine_skeleton_set_scale_yPtr = - _lookup>('spine_skeleton_set_scale_y'); - late final _spine_skeleton_set_scale_y = - _spine_skeleton_set_scale_yPtr.asFunction(); + late final _spine_skeleton_set_scale_yPtr = _lookup>( + 'spine_skeleton_set_scale_y', + ); + late final _spine_skeleton_set_scale_y = _spine_skeleton_set_scale_yPtr + .asFunction(); - double spine_skeleton_get_time( - spine_skeleton skeleton, - ) { - return _spine_skeleton_get_time( - skeleton, - ); + double spine_skeleton_get_time(spine_skeleton skeleton) { + return _spine_skeleton_get_time(skeleton); } - late final _spine_skeleton_get_timePtr = - _lookup>('spine_skeleton_get_time'); + late final _spine_skeleton_get_timePtr = _lookup>( + 'spine_skeleton_get_time', + ); late final _spine_skeleton_get_time = _spine_skeleton_get_timePtr.asFunction(); - void spine_skeleton_set_time( - spine_skeleton skeleton, - double time, - ) { - return _spine_skeleton_set_time( - skeleton, - time, - ); + void spine_skeleton_set_time(spine_skeleton skeleton, double time) { + return _spine_skeleton_set_time(skeleton, time); } - late final _spine_skeleton_set_timePtr = - _lookup>('spine_skeleton_set_time'); + late final _spine_skeleton_set_timePtr = _lookup>( + 'spine_skeleton_set_time', + ); late final _spine_skeleton_set_time = _spine_skeleton_set_timePtr.asFunction(); - void spine_skeleton_update( - spine_skeleton skeleton, - double delta, - ) { - return _spine_skeleton_update( - skeleton, - delta, - ); + void spine_skeleton_update(spine_skeleton skeleton, double delta) { + return _spine_skeleton_update(skeleton, delta); } - late final _spine_skeleton_updatePtr = - _lookup>('spine_skeleton_update'); + late final _spine_skeleton_updatePtr = _lookup>( + 'spine_skeleton_update', + ); late final _spine_skeleton_update = _spine_skeleton_updatePtr.asFunction(); - ffi.Pointer spine_event_data_get_name( - spine_event_data event, - ) { - return _spine_event_data_get_name( - event, - ); + ffi.Pointer spine_event_data_get_name(spine_event_data event) { + return _spine_event_data_get_name(event); } - late final _spine_event_data_get_namePtr = - _lookup Function(spine_event_data)>>('spine_event_data_get_name'); - late final _spine_event_data_get_name = - _spine_event_data_get_namePtr.asFunction Function(spine_event_data)>(); + late final _spine_event_data_get_namePtr = _lookup Function(spine_event_data)>>( + 'spine_event_data_get_name', + ); + late final _spine_event_data_get_name = _spine_event_data_get_namePtr + .asFunction Function(spine_event_data)>(); - int spine_event_data_get_int_value( - spine_event_data event, - ) { - return _spine_event_data_get_int_value( - event, - ); + int spine_event_data_get_int_value(spine_event_data event) { + return _spine_event_data_get_int_value(event); } - late final _spine_event_data_get_int_valuePtr = - _lookup>('spine_event_data_get_int_value'); - late final _spine_event_data_get_int_value = - _spine_event_data_get_int_valuePtr.asFunction(); + late final _spine_event_data_get_int_valuePtr = _lookup>( + 'spine_event_data_get_int_value', + ); + late final _spine_event_data_get_int_value = _spine_event_data_get_int_valuePtr + .asFunction(); - void spine_event_data_set_int_value( - spine_event_data event, - int value, - ) { - return _spine_event_data_set_int_value( - event, - value, - ); + void spine_event_data_set_int_value(spine_event_data event, int value) { + return _spine_event_data_set_int_value(event, value); } late final _spine_event_data_set_int_valuePtr = _lookup>('spine_event_data_set_int_value'); - late final _spine_event_data_set_int_value = - _spine_event_data_set_int_valuePtr.asFunction(); + late final _spine_event_data_set_int_value = _spine_event_data_set_int_valuePtr + .asFunction(); - double spine_event_data_get_float_value( - spine_event_data event, - ) { - return _spine_event_data_get_float_value( - event, - ); + double spine_event_data_get_float_value(spine_event_data event) { + return _spine_event_data_get_float_value(event); } - late final _spine_event_data_get_float_valuePtr = - _lookup>('spine_event_data_get_float_value'); - late final _spine_event_data_get_float_value = - _spine_event_data_get_float_valuePtr.asFunction(); + late final _spine_event_data_get_float_valuePtr = _lookup>( + 'spine_event_data_get_float_value', + ); + late final _spine_event_data_get_float_value = _spine_event_data_get_float_valuePtr + .asFunction(); - void spine_event_data_set_float_value( - spine_event_data event, - double value, - ) { - return _spine_event_data_set_float_value( - event, - value, - ); + void spine_event_data_set_float_value(spine_event_data event, double value) { + return _spine_event_data_set_float_value(event, value); } late final _spine_event_data_set_float_valuePtr = _lookup>('spine_event_data_set_float_value'); - late final _spine_event_data_set_float_value = - _spine_event_data_set_float_valuePtr.asFunction(); + late final _spine_event_data_set_float_value = _spine_event_data_set_float_valuePtr + .asFunction(); - ffi.Pointer spine_event_data_get_string_value( - spine_event_data event, - ) { - return _spine_event_data_get_string_value( - event, - ); + ffi.Pointer spine_event_data_get_string_value(spine_event_data event) { + return _spine_event_data_get_string_value(event); } late final _spine_event_data_get_string_valuePtr = _lookup Function(spine_event_data)>>('spine_event_data_get_string_value'); - late final _spine_event_data_get_string_value = - _spine_event_data_get_string_valuePtr.asFunction Function(spine_event_data)>(); + late final _spine_event_data_get_string_value = _spine_event_data_get_string_valuePtr + .asFunction Function(spine_event_data)>(); - void spine_event_data_set_string_value( - spine_event_data event, - ffi.Pointer value, - ) { - return _spine_event_data_set_string_value( - event, - value, - ); + void spine_event_data_set_string_value(spine_event_data event, ffi.Pointer value) { + return _spine_event_data_set_string_value(event, value); } late final _spine_event_data_set_string_valuePtr = _lookup)>>( - 'spine_event_data_set_string_value'); - late final _spine_event_data_set_string_value = - _spine_event_data_set_string_valuePtr.asFunction)>(); + 'spine_event_data_set_string_value', + ); + late final _spine_event_data_set_string_value = _spine_event_data_set_string_valuePtr + .asFunction)>(); - ffi.Pointer spine_event_data_get_audio_path( - spine_event_data event, - ) { - return _spine_event_data_get_audio_path( - event, - ); + ffi.Pointer spine_event_data_get_audio_path(spine_event_data event) { + return _spine_event_data_get_audio_path(event); } late final _spine_event_data_get_audio_pathPtr = _lookup Function(spine_event_data)>>('spine_event_data_get_audio_path'); - late final _spine_event_data_get_audio_path = - _spine_event_data_get_audio_pathPtr.asFunction Function(spine_event_data)>(); + late final _spine_event_data_get_audio_path = _spine_event_data_get_audio_pathPtr + .asFunction Function(spine_event_data)>(); /// OMITTED setAudioPath() - double spine_event_data_get_volume( - spine_event_data event, - ) { - return _spine_event_data_get_volume( - event, - ); + double spine_event_data_get_volume(spine_event_data event) { + return _spine_event_data_get_volume(event); } - late final _spine_event_data_get_volumePtr = - _lookup>('spine_event_data_get_volume'); - late final _spine_event_data_get_volume = - _spine_event_data_get_volumePtr.asFunction(); + late final _spine_event_data_get_volumePtr = _lookup>( + 'spine_event_data_get_volume', + ); + late final _spine_event_data_get_volume = _spine_event_data_get_volumePtr + .asFunction(); - void spine_event_data_set_volume( - spine_event_data event, - double volume, - ) { - return _spine_event_data_set_volume( - event, - volume, - ); + void spine_event_data_set_volume(spine_event_data event, double volume) { + return _spine_event_data_set_volume(event, volume); } late final _spine_event_data_set_volumePtr = _lookup>('spine_event_data_set_volume'); - late final _spine_event_data_set_volume = - _spine_event_data_set_volumePtr.asFunction(); + late final _spine_event_data_set_volume = _spine_event_data_set_volumePtr + .asFunction(); - double spine_event_data_get_balance( - spine_event_data event, - ) { - return _spine_event_data_get_balance( - event, - ); + double spine_event_data_get_balance(spine_event_data event) { + return _spine_event_data_get_balance(event); } - late final _spine_event_data_get_balancePtr = - _lookup>('spine_event_data_get_balance'); - late final _spine_event_data_get_balance = - _spine_event_data_get_balancePtr.asFunction(); + late final _spine_event_data_get_balancePtr = _lookup>( + 'spine_event_data_get_balance', + ); + late final _spine_event_data_get_balance = _spine_event_data_get_balancePtr + .asFunction(); - void spine_event_data_set_balance( - spine_event_data event, - double balance, - ) { - return _spine_event_data_set_balance( - event, - balance, - ); + void spine_event_data_set_balance(spine_event_data event, double balance) { + return _spine_event_data_set_balance(event, balance); } late final _spine_event_data_set_balancePtr = _lookup>('spine_event_data_set_balance'); - late final _spine_event_data_set_balance = - _spine_event_data_set_balancePtr.asFunction(); + late final _spine_event_data_set_balance = _spine_event_data_set_balancePtr + .asFunction(); - spine_event_data spine_event_get_data( - spine_event event, - ) { - return _spine_event_get_data( - event, - ); + spine_event_data spine_event_get_data(spine_event event) { + return _spine_event_get_data(event); } - late final _spine_event_get_dataPtr = - _lookup>('spine_event_get_data'); + late final _spine_event_get_dataPtr = _lookup>( + 'spine_event_get_data', + ); late final _spine_event_get_data = _spine_event_get_dataPtr.asFunction(); - double spine_event_get_time( - spine_event event, - ) { - return _spine_event_get_time( - event, - ); + double spine_event_get_time(spine_event event) { + return _spine_event_get_time(event); } - late final _spine_event_get_timePtr = - _lookup>('spine_event_get_time'); + late final _spine_event_get_timePtr = _lookup>( + 'spine_event_get_time', + ); late final _spine_event_get_time = _spine_event_get_timePtr.asFunction(); - int spine_event_get_int_value( - spine_event event, - ) { - return _spine_event_get_int_value( - event, - ); + int spine_event_get_int_value(spine_event event) { + return _spine_event_get_int_value(event); } - late final _spine_event_get_int_valuePtr = - _lookup>('spine_event_get_int_value'); + late final _spine_event_get_int_valuePtr = _lookup>( + 'spine_event_get_int_value', + ); late final _spine_event_get_int_value = _spine_event_get_int_valuePtr.asFunction(); - void spine_event_set_int_value( - spine_event event, - int value, - ) { - return _spine_event_set_int_value( - event, - value, - ); + void spine_event_set_int_value(spine_event event, int value) { + return _spine_event_set_int_value(event, value); } - late final _spine_event_set_int_valuePtr = - _lookup>('spine_event_set_int_value'); + late final _spine_event_set_int_valuePtr = _lookup>( + 'spine_event_set_int_value', + ); late final _spine_event_set_int_value = _spine_event_set_int_valuePtr.asFunction(); - double spine_event_get_float_value( - spine_event event, - ) { - return _spine_event_get_float_value( - event, - ); + double spine_event_get_float_value(spine_event event) { + return _spine_event_get_float_value(event); } - late final _spine_event_get_float_valuePtr = - _lookup>('spine_event_get_float_value'); + late final _spine_event_get_float_valuePtr = _lookup>( + 'spine_event_get_float_value', + ); late final _spine_event_get_float_value = _spine_event_get_float_valuePtr.asFunction(); - void spine_event_set_float_value( - spine_event event, - double value, - ) { - return _spine_event_set_float_value( - event, - value, - ); + void spine_event_set_float_value(spine_event event, double value) { + return _spine_event_set_float_value(event, value); } - late final _spine_event_set_float_valuePtr = - _lookup>('spine_event_set_float_value'); - late final _spine_event_set_float_value = - _spine_event_set_float_valuePtr.asFunction(); + late final _spine_event_set_float_valuePtr = _lookup>( + 'spine_event_set_float_value', + ); + late final _spine_event_set_float_value = _spine_event_set_float_valuePtr + .asFunction(); - ffi.Pointer spine_event_get_string_value( - spine_event event, - ) { - return _spine_event_get_string_value( - event, - ); + ffi.Pointer spine_event_get_string_value(spine_event event) { + return _spine_event_get_string_value(event); } - late final _spine_event_get_string_valuePtr = - _lookup Function(spine_event)>>('spine_event_get_string_value'); - late final _spine_event_get_string_value = - _spine_event_get_string_valuePtr.asFunction Function(spine_event)>(); + late final _spine_event_get_string_valuePtr = _lookup Function(spine_event)>>( + 'spine_event_get_string_value', + ); + late final _spine_event_get_string_value = _spine_event_get_string_valuePtr + .asFunction Function(spine_event)>(); - void spine_event_set_string_value( - spine_event event, - ffi.Pointer value, - ) { - return _spine_event_set_string_value( - event, - value, - ); + void spine_event_set_string_value(spine_event event, ffi.Pointer value) { + return _spine_event_set_string_value(event, value); } late final _spine_event_set_string_valuePtr = _lookup)>>('spine_event_set_string_value'); - late final _spine_event_set_string_value = - _spine_event_set_string_valuePtr.asFunction)>(); + late final _spine_event_set_string_value = _spine_event_set_string_valuePtr + .asFunction)>(); - double spine_event_get_volume( - spine_event event, - ) { - return _spine_event_get_volume( - event, - ); + double spine_event_get_volume(spine_event event) { + return _spine_event_get_volume(event); } - late final _spine_event_get_volumePtr = - _lookup>('spine_event_get_volume'); + late final _spine_event_get_volumePtr = _lookup>( + 'spine_event_get_volume', + ); late final _spine_event_get_volume = _spine_event_get_volumePtr.asFunction(); - void spine_event_set_volume( - spine_event event, - double volume, - ) { - return _spine_event_set_volume( - event, - volume, - ); + void spine_event_set_volume(spine_event event, double volume) { + return _spine_event_set_volume(event, volume); } - late final _spine_event_set_volumePtr = - _lookup>('spine_event_set_volume'); + late final _spine_event_set_volumePtr = _lookup>( + 'spine_event_set_volume', + ); late final _spine_event_set_volume = _spine_event_set_volumePtr.asFunction(); - double spine_event_get_balance( - spine_event event, - ) { - return _spine_event_get_balance( - event, - ); + double spine_event_get_balance(spine_event event) { + return _spine_event_get_balance(event); } - late final _spine_event_get_balancePtr = - _lookup>('spine_event_get_balance'); + late final _spine_event_get_balancePtr = _lookup>( + 'spine_event_get_balance', + ); late final _spine_event_get_balance = _spine_event_get_balancePtr.asFunction(); - void spine_event_set_balance( - spine_event event, - double balance, - ) { - return _spine_event_set_balance( - event, - balance, - ); + void spine_event_set_balance(spine_event event, double balance) { + return _spine_event_set_balance(event, balance); } - late final _spine_event_set_balancePtr = - _lookup>('spine_event_set_balance'); + late final _spine_event_set_balancePtr = _lookup>( + 'spine_event_set_balance', + ); late final _spine_event_set_balance = _spine_event_set_balancePtr.asFunction(); - int spine_slot_data_get_index( - spine_slot_data slot, - ) { - return _spine_slot_data_get_index( - slot, - ); + int spine_slot_data_get_index(spine_slot_data slot) { + return _spine_slot_data_get_index(slot); } - late final _spine_slot_data_get_indexPtr = - _lookup>('spine_slot_data_get_index'); + late final _spine_slot_data_get_indexPtr = _lookup>( + 'spine_slot_data_get_index', + ); late final _spine_slot_data_get_index = _spine_slot_data_get_indexPtr.asFunction(); - ffi.Pointer spine_slot_data_get_name( - spine_slot_data slot, - ) { - return _spine_slot_data_get_name( - slot, - ); + ffi.Pointer spine_slot_data_get_name(spine_slot_data slot) { + return _spine_slot_data_get_name(slot); } - late final _spine_slot_data_get_namePtr = - _lookup Function(spine_slot_data)>>('spine_slot_data_get_name'); - late final _spine_slot_data_get_name = - _spine_slot_data_get_namePtr.asFunction Function(spine_slot_data)>(); + late final _spine_slot_data_get_namePtr = _lookup Function(spine_slot_data)>>( + 'spine_slot_data_get_name', + ); + late final _spine_slot_data_get_name = _spine_slot_data_get_namePtr + .asFunction Function(spine_slot_data)>(); - spine_bone_data spine_slot_data_get_bone_data( - spine_slot_data slot, - ) { - return _spine_slot_data_get_bone_data( - slot, - ); + spine_bone_data spine_slot_data_get_bone_data(spine_slot_data slot) { + return _spine_slot_data_get_bone_data(slot); } - late final _spine_slot_data_get_bone_dataPtr = - _lookup>('spine_slot_data_get_bone_data'); - late final _spine_slot_data_get_bone_data = - _spine_slot_data_get_bone_dataPtr.asFunction(); + late final _spine_slot_data_get_bone_dataPtr = _lookup>( + 'spine_slot_data_get_bone_data', + ); + late final _spine_slot_data_get_bone_data = _spine_slot_data_get_bone_dataPtr + .asFunction(); - spine_color spine_slot_data_get_color( - spine_slot_data slot, - ) { - return _spine_slot_data_get_color( - slot, - ); + spine_color spine_slot_data_get_color(spine_slot_data slot) { + return _spine_slot_data_get_color(slot); } - late final _spine_slot_data_get_colorPtr = - _lookup>('spine_slot_data_get_color'); - late final _spine_slot_data_get_color = - _spine_slot_data_get_colorPtr.asFunction(); + late final _spine_slot_data_get_colorPtr = _lookup>( + 'spine_slot_data_get_color', + ); + late final _spine_slot_data_get_color = _spine_slot_data_get_colorPtr + .asFunction(); - void spine_slot_data_set_color( - spine_slot_data slot, - double r, - double g, - double b, - double a, - ) { - return _spine_slot_data_set_color( - slot, - r, - g, - b, - a, - ); + void spine_slot_data_set_color(spine_slot_data slot, double r, double g, double b, double a) { + return _spine_slot_data_set_color(slot, r, g, b, a); } late final _spine_slot_data_set_colorPtr = _lookup>( - 'spine_slot_data_set_color'); - late final _spine_slot_data_set_color = - _spine_slot_data_set_colorPtr.asFunction(); + 'spine_slot_data_set_color', + ); + late final _spine_slot_data_set_color = _spine_slot_data_set_colorPtr + .asFunction(); - spine_color spine_slot_data_get_dark_color( - spine_slot_data slot, - ) { - return _spine_slot_data_get_dark_color( - slot, - ); + spine_color spine_slot_data_get_dark_color(spine_slot_data slot) { + return _spine_slot_data_get_dark_color(slot); } - late final _spine_slot_data_get_dark_colorPtr = - _lookup>('spine_slot_data_get_dark_color'); - late final _spine_slot_data_get_dark_color = - _spine_slot_data_get_dark_colorPtr.asFunction(); + late final _spine_slot_data_get_dark_colorPtr = _lookup>( + 'spine_slot_data_get_dark_color', + ); + late final _spine_slot_data_get_dark_color = _spine_slot_data_get_dark_colorPtr + .asFunction(); - void spine_slot_data_set_dark_color( - spine_slot_data slot, - double r, - double g, - double b, - double a, - ) { - return _spine_slot_data_set_dark_color( - slot, - r, - g, - b, - a, - ); + void spine_slot_data_set_dark_color(spine_slot_data slot, double r, double g, double b, double a) { + return _spine_slot_data_set_dark_color(slot, r, g, b, a); } late final _spine_slot_data_set_dark_colorPtr = _lookup>( - 'spine_slot_data_set_dark_color'); - late final _spine_slot_data_set_dark_color = - _spine_slot_data_set_dark_colorPtr.asFunction(); + 'spine_slot_data_set_dark_color', + ); + late final _spine_slot_data_set_dark_color = _spine_slot_data_set_dark_colorPtr + .asFunction(); - int spine_slot_data_has_dark_color( - spine_slot_data slot, - ) { - return _spine_slot_data_has_dark_color( - slot, - ); + int spine_slot_data_has_dark_color(spine_slot_data slot) { + return _spine_slot_data_has_dark_color(slot); } - late final _spine_slot_data_has_dark_colorPtr = - _lookup>('spine_slot_data_has_dark_color'); - late final _spine_slot_data_has_dark_color = - _spine_slot_data_has_dark_colorPtr.asFunction(); + late final _spine_slot_data_has_dark_colorPtr = _lookup>( + 'spine_slot_data_has_dark_color', + ); + late final _spine_slot_data_has_dark_color = _spine_slot_data_has_dark_colorPtr + .asFunction(); - void spine_slot_data_set_has_dark_color( - spine_slot_data slot, - int hasDarkColor, - ) { - return _spine_slot_data_set_has_dark_color( - slot, - hasDarkColor, - ); + void spine_slot_data_set_has_dark_color(spine_slot_data slot, int hasDarkColor) { + return _spine_slot_data_set_has_dark_color(slot, hasDarkColor); } late final _spine_slot_data_set_has_dark_colorPtr = _lookup>('spine_slot_data_set_has_dark_color'); - late final _spine_slot_data_set_has_dark_color = - _spine_slot_data_set_has_dark_colorPtr.asFunction(); + late final _spine_slot_data_set_has_dark_color = _spine_slot_data_set_has_dark_colorPtr + .asFunction(); - ffi.Pointer spine_slot_data_get_attachment_name( - spine_slot_data slot, - ) { - return _spine_slot_data_get_attachment_name( - slot, - ); + ffi.Pointer spine_slot_data_get_attachment_name(spine_slot_data slot) { + return _spine_slot_data_get_attachment_name(slot); } late final _spine_slot_data_get_attachment_namePtr = _lookup Function(spine_slot_data)>>('spine_slot_data_get_attachment_name'); - late final _spine_slot_data_get_attachment_name = - _spine_slot_data_get_attachment_namePtr.asFunction Function(spine_slot_data)>(); + late final _spine_slot_data_get_attachment_name = _spine_slot_data_get_attachment_namePtr + .asFunction Function(spine_slot_data)>(); - void spine_slot_data_set_attachment_name( - spine_slot_data slot, - ffi.Pointer attachmentName, - ) { - return _spine_slot_data_set_attachment_name( - slot, - attachmentName, - ); + void spine_slot_data_set_attachment_name(spine_slot_data slot, ffi.Pointer attachmentName) { + return _spine_slot_data_set_attachment_name(slot, attachmentName); } late final _spine_slot_data_set_attachment_namePtr = _lookup)>>( - 'spine_slot_data_set_attachment_name'); - late final _spine_slot_data_set_attachment_name = - _spine_slot_data_set_attachment_namePtr.asFunction)>(); + 'spine_slot_data_set_attachment_name', + ); + late final _spine_slot_data_set_attachment_name = _spine_slot_data_set_attachment_namePtr + .asFunction)>(); - int spine_slot_data_get_blend_mode( - spine_slot_data slot, - ) { - return _spine_slot_data_get_blend_mode( - slot, - ); + int spine_slot_data_get_blend_mode(spine_slot_data slot) { + return _spine_slot_data_get_blend_mode(slot); } - late final _spine_slot_data_get_blend_modePtr = - _lookup>('spine_slot_data_get_blend_mode'); - late final _spine_slot_data_get_blend_mode = - _spine_slot_data_get_blend_modePtr.asFunction(); + late final _spine_slot_data_get_blend_modePtr = _lookup>( + 'spine_slot_data_get_blend_mode', + ); + late final _spine_slot_data_get_blend_mode = _spine_slot_data_get_blend_modePtr + .asFunction(); - void spine_slot_data_set_blend_mode( - spine_slot_data slot, - int blendMode, - ) { - return _spine_slot_data_set_blend_mode( - slot, - blendMode, - ); + void spine_slot_data_set_blend_mode(spine_slot_data slot, int blendMode) { + return _spine_slot_data_set_blend_mode(slot, blendMode); } late final _spine_slot_data_set_blend_modePtr = _lookup>('spine_slot_data_set_blend_mode'); - late final _spine_slot_data_set_blend_mode = - _spine_slot_data_set_blend_modePtr.asFunction(); + late final _spine_slot_data_set_blend_mode = _spine_slot_data_set_blend_modePtr + .asFunction(); - int spine_slot_data_is_visible( - spine_slot_data slot, - ) { - return _spine_slot_data_is_visible( - slot, - ); + int spine_slot_data_is_visible(spine_slot_data slot) { + return _spine_slot_data_is_visible(slot); } - late final _spine_slot_data_is_visiblePtr = - _lookup>('spine_slot_data_is_visible'); + late final _spine_slot_data_is_visiblePtr = _lookup>( + 'spine_slot_data_is_visible', + ); late final _spine_slot_data_is_visible = _spine_slot_data_is_visiblePtr.asFunction(); - void spine_slot_data_set_visible( - spine_slot_data slot, - int visible, - ) { - return _spine_slot_data_set_visible( - slot, - visible, - ); + void spine_slot_data_set_visible(spine_slot_data slot, int visible) { + return _spine_slot_data_set_visible(slot, visible); } late final _spine_slot_data_set_visiblePtr = _lookup>('spine_slot_data_set_visible'); - late final _spine_slot_data_set_visible = - _spine_slot_data_set_visiblePtr.asFunction(); + late final _spine_slot_data_set_visible = _spine_slot_data_set_visiblePtr + .asFunction(); /// OMITTED getPath()/setPath() - void spine_slot_set_to_setup_pose( - spine_slot slot, - ) { - return _spine_slot_set_to_setup_pose( - slot, - ); + void spine_slot_set_to_setup_pose(spine_slot slot) { + return _spine_slot_set_to_setup_pose(slot); } - late final _spine_slot_set_to_setup_posePtr = - _lookup>('spine_slot_set_to_setup_pose'); + late final _spine_slot_set_to_setup_posePtr = _lookup>( + 'spine_slot_set_to_setup_pose', + ); late final _spine_slot_set_to_setup_pose = _spine_slot_set_to_setup_posePtr.asFunction(); - spine_slot_data spine_slot_get_data( - spine_slot slot, - ) { - return _spine_slot_get_data( - slot, - ); + spine_slot_data spine_slot_get_data(spine_slot slot) { + return _spine_slot_get_data(slot); } - late final _spine_slot_get_dataPtr = - _lookup>('spine_slot_get_data'); + late final _spine_slot_get_dataPtr = _lookup>( + 'spine_slot_get_data', + ); late final _spine_slot_get_data = _spine_slot_get_dataPtr.asFunction(); - spine_bone spine_slot_get_bone( - spine_slot slot, - ) { - return _spine_slot_get_bone( - slot, - ); + spine_bone spine_slot_get_bone(spine_slot slot) { + return _spine_slot_get_bone(slot); } - late final _spine_slot_get_bonePtr = - _lookup>('spine_slot_get_bone'); + late final _spine_slot_get_bonePtr = _lookup>( + 'spine_slot_get_bone', + ); late final _spine_slot_get_bone = _spine_slot_get_bonePtr.asFunction(); - spine_skeleton spine_slot_get_skeleton( - spine_slot slot, - ) { - return _spine_slot_get_skeleton( - slot, - ); + spine_skeleton spine_slot_get_skeleton(spine_slot slot) { + return _spine_slot_get_skeleton(slot); } - late final _spine_slot_get_skeletonPtr = - _lookup>('spine_slot_get_skeleton'); + late final _spine_slot_get_skeletonPtr = _lookup>( + 'spine_slot_get_skeleton', + ); late final _spine_slot_get_skeleton = _spine_slot_get_skeletonPtr.asFunction(); - spine_color spine_slot_get_color( - spine_slot slot, - ) { - return _spine_slot_get_color( - slot, - ); + spine_color spine_slot_get_color(spine_slot slot) { + return _spine_slot_get_color(slot); } - late final _spine_slot_get_colorPtr = - _lookup>('spine_slot_get_color'); + late final _spine_slot_get_colorPtr = _lookup>( + 'spine_slot_get_color', + ); late final _spine_slot_get_color = _spine_slot_get_colorPtr.asFunction(); - void spine_slot_set_color( - spine_slot slot, - double r, - double g, - double b, - double a, - ) { - return _spine_slot_set_color( - slot, - r, - g, - b, - a, - ); + void spine_slot_set_color(spine_slot slot, double r, double g, double b, double a) { + return _spine_slot_set_color(slot, r, g, b, a); } late final _spine_slot_set_colorPtr = _lookup>( - 'spine_slot_set_color'); - late final _spine_slot_set_color = - _spine_slot_set_colorPtr.asFunction(); + 'spine_slot_set_color', + ); + late final _spine_slot_set_color = _spine_slot_set_colorPtr + .asFunction(); - spine_color spine_slot_get_dark_color( - spine_slot slot, - ) { - return _spine_slot_get_dark_color( - slot, - ); + spine_color spine_slot_get_dark_color(spine_slot slot) { + return _spine_slot_get_dark_color(slot); } - late final _spine_slot_get_dark_colorPtr = - _lookup>('spine_slot_get_dark_color'); + late final _spine_slot_get_dark_colorPtr = _lookup>( + 'spine_slot_get_dark_color', + ); late final _spine_slot_get_dark_color = _spine_slot_get_dark_colorPtr.asFunction(); - void spine_slot_set_dark_color( - spine_slot slot, - double r, - double g, - double b, - double a, - ) { - return _spine_slot_set_dark_color( - slot, - r, - g, - b, - a, - ); + void spine_slot_set_dark_color(spine_slot slot, double r, double g, double b, double a) { + return _spine_slot_set_dark_color(slot, r, g, b, a); } late final _spine_slot_set_dark_colorPtr = _lookup>( - 'spine_slot_set_dark_color'); - late final _spine_slot_set_dark_color = - _spine_slot_set_dark_colorPtr.asFunction(); + 'spine_slot_set_dark_color', + ); + late final _spine_slot_set_dark_color = _spine_slot_set_dark_colorPtr + .asFunction(); - int spine_slot_has_dark_color( - spine_slot slot, - ) { - return _spine_slot_has_dark_color( - slot, - ); + int spine_slot_has_dark_color(spine_slot slot) { + return _spine_slot_has_dark_color(slot); } - late final _spine_slot_has_dark_colorPtr = - _lookup>('spine_slot_has_dark_color'); + late final _spine_slot_has_dark_colorPtr = _lookup>( + 'spine_slot_has_dark_color', + ); late final _spine_slot_has_dark_color = _spine_slot_has_dark_colorPtr.asFunction(); - spine_attachment spine_slot_get_attachment( - spine_slot slot, - ) { - return _spine_slot_get_attachment( - slot, - ); + spine_attachment spine_slot_get_attachment(spine_slot slot) { + return _spine_slot_get_attachment(slot); } - late final _spine_slot_get_attachmentPtr = - _lookup>('spine_slot_get_attachment'); - late final _spine_slot_get_attachment = - _spine_slot_get_attachmentPtr.asFunction(); + late final _spine_slot_get_attachmentPtr = _lookup>( + 'spine_slot_get_attachment', + ); + late final _spine_slot_get_attachment = _spine_slot_get_attachmentPtr + .asFunction(); - void spine_slot_set_attachment( - spine_slot slot, - spine_attachment attachment, - ) { - return _spine_slot_set_attachment( - slot, - attachment, - ); + void spine_slot_set_attachment(spine_slot slot, spine_attachment attachment) { + return _spine_slot_set_attachment(slot, attachment); } late final _spine_slot_set_attachmentPtr = _lookup>('spine_slot_set_attachment'); - late final _spine_slot_set_attachment = - _spine_slot_set_attachmentPtr.asFunction(); + late final _spine_slot_set_attachment = _spine_slot_set_attachmentPtr + .asFunction(); /// OMITTED getDeform() - int spine_slot_get_sequence_index( - spine_slot slot, - ) { - return _spine_slot_get_sequence_index( - slot, - ); + int spine_slot_get_sequence_index(spine_slot slot) { + return _spine_slot_get_sequence_index(slot); } - late final _spine_slot_get_sequence_indexPtr = - _lookup>('spine_slot_get_sequence_index'); + late final _spine_slot_get_sequence_indexPtr = _lookup>( + 'spine_slot_get_sequence_index', + ); late final _spine_slot_get_sequence_index = _spine_slot_get_sequence_indexPtr.asFunction(); - void spine_slot_set_sequence_index( - spine_slot slot, - int sequenceIndex, - ) { - return _spine_slot_set_sequence_index( - slot, - sequenceIndex, - ); + void spine_slot_set_sequence_index(spine_slot slot, int sequenceIndex) { + return _spine_slot_set_sequence_index(slot, sequenceIndex); } - late final _spine_slot_set_sequence_indexPtr = - _lookup>('spine_slot_set_sequence_index'); - late final _spine_slot_set_sequence_index = - _spine_slot_set_sequence_indexPtr.asFunction(); + late final _spine_slot_set_sequence_indexPtr = _lookup>( + 'spine_slot_set_sequence_index', + ); + late final _spine_slot_set_sequence_index = _spine_slot_set_sequence_indexPtr + .asFunction(); - int spine_bone_data_get_index( - spine_bone_data data, - ) { - return _spine_bone_data_get_index( - data, - ); + int spine_bone_data_get_index(spine_bone_data data) { + return _spine_bone_data_get_index(data); } - late final _spine_bone_data_get_indexPtr = - _lookup>('spine_bone_data_get_index'); + late final _spine_bone_data_get_indexPtr = _lookup>( + 'spine_bone_data_get_index', + ); late final _spine_bone_data_get_index = _spine_bone_data_get_indexPtr.asFunction(); - ffi.Pointer spine_bone_data_get_name( - spine_bone_data data, - ) { - return _spine_bone_data_get_name( - data, - ); + ffi.Pointer spine_bone_data_get_name(spine_bone_data data) { + return _spine_bone_data_get_name(data); } - late final _spine_bone_data_get_namePtr = - _lookup Function(spine_bone_data)>>('spine_bone_data_get_name'); - late final _spine_bone_data_get_name = - _spine_bone_data_get_namePtr.asFunction Function(spine_bone_data)>(); + late final _spine_bone_data_get_namePtr = _lookup Function(spine_bone_data)>>( + 'spine_bone_data_get_name', + ); + late final _spine_bone_data_get_name = _spine_bone_data_get_namePtr + .asFunction Function(spine_bone_data)>(); - spine_bone_data spine_bone_data_get_parent( - spine_bone_data data, - ) { - return _spine_bone_data_get_parent( - data, - ); + spine_bone_data spine_bone_data_get_parent(spine_bone_data data) { + return _spine_bone_data_get_parent(data); } - late final _spine_bone_data_get_parentPtr = - _lookup>('spine_bone_data_get_parent'); - late final _spine_bone_data_get_parent = - _spine_bone_data_get_parentPtr.asFunction(); + late final _spine_bone_data_get_parentPtr = _lookup>( + 'spine_bone_data_get_parent', + ); + late final _spine_bone_data_get_parent = _spine_bone_data_get_parentPtr + .asFunction(); - double spine_bone_data_get_length( - spine_bone_data data, - ) { - return _spine_bone_data_get_length( - data, - ); + double spine_bone_data_get_length(spine_bone_data data) { + return _spine_bone_data_get_length(data); } - late final _spine_bone_data_get_lengthPtr = - _lookup>('spine_bone_data_get_length'); - late final _spine_bone_data_get_length = - _spine_bone_data_get_lengthPtr.asFunction(); + late final _spine_bone_data_get_lengthPtr = _lookup>( + 'spine_bone_data_get_length', + ); + late final _spine_bone_data_get_length = _spine_bone_data_get_lengthPtr + .asFunction(); - void spine_bone_data_set_length( - spine_bone_data data, - double length, - ) { - return _spine_bone_data_set_length( - data, - length, - ); + void spine_bone_data_set_length(spine_bone_data data, double length) { + return _spine_bone_data_set_length(data, length); } late final _spine_bone_data_set_lengthPtr = _lookup>('spine_bone_data_set_length'); - late final _spine_bone_data_set_length = - _spine_bone_data_set_lengthPtr.asFunction(); + late final _spine_bone_data_set_length = _spine_bone_data_set_lengthPtr + .asFunction(); - double spine_bone_data_get_x( - spine_bone_data data, - ) { - return _spine_bone_data_get_x( - data, - ); + double spine_bone_data_get_x(spine_bone_data data) { + return _spine_bone_data_get_x(data); } - late final _spine_bone_data_get_xPtr = - _lookup>('spine_bone_data_get_x'); + late final _spine_bone_data_get_xPtr = _lookup>( + 'spine_bone_data_get_x', + ); late final _spine_bone_data_get_x = _spine_bone_data_get_xPtr.asFunction(); - void spine_bone_data_set_x( - spine_bone_data data, - double x, - ) { - return _spine_bone_data_set_x( - data, - x, - ); + void spine_bone_data_set_x(spine_bone_data data, double x) { + return _spine_bone_data_set_x(data, x); } - late final _spine_bone_data_set_xPtr = - _lookup>('spine_bone_data_set_x'); + late final _spine_bone_data_set_xPtr = _lookup>( + 'spine_bone_data_set_x', + ); late final _spine_bone_data_set_x = _spine_bone_data_set_xPtr.asFunction(); - double spine_bone_data_get_y( - spine_bone_data data, - ) { - return _spine_bone_data_get_y( - data, - ); + double spine_bone_data_get_y(spine_bone_data data) { + return _spine_bone_data_get_y(data); } - late final _spine_bone_data_get_yPtr = - _lookup>('spine_bone_data_get_y'); + late final _spine_bone_data_get_yPtr = _lookup>( + 'spine_bone_data_get_y', + ); late final _spine_bone_data_get_y = _spine_bone_data_get_yPtr.asFunction(); - void spine_bone_data_set_y( - spine_bone_data data, - double y, - ) { - return _spine_bone_data_set_y( - data, - y, - ); + void spine_bone_data_set_y(spine_bone_data data, double y) { + return _spine_bone_data_set_y(data, y); } - late final _spine_bone_data_set_yPtr = - _lookup>('spine_bone_data_set_y'); + late final _spine_bone_data_set_yPtr = _lookup>( + 'spine_bone_data_set_y', + ); late final _spine_bone_data_set_y = _spine_bone_data_set_yPtr.asFunction(); - double spine_bone_data_get_rotation( - spine_bone_data data, - ) { - return _spine_bone_data_get_rotation( - data, - ); + double spine_bone_data_get_rotation(spine_bone_data data) { + return _spine_bone_data_get_rotation(data); } - late final _spine_bone_data_get_rotationPtr = - _lookup>('spine_bone_data_get_rotation'); - late final _spine_bone_data_get_rotation = - _spine_bone_data_get_rotationPtr.asFunction(); + late final _spine_bone_data_get_rotationPtr = _lookup>( + 'spine_bone_data_get_rotation', + ); + late final _spine_bone_data_get_rotation = _spine_bone_data_get_rotationPtr + .asFunction(); - void spine_bone_data_set_rotation( - spine_bone_data data, - double rotation, - ) { - return _spine_bone_data_set_rotation( - data, - rotation, - ); + void spine_bone_data_set_rotation(spine_bone_data data, double rotation) { + return _spine_bone_data_set_rotation(data, rotation); } late final _spine_bone_data_set_rotationPtr = _lookup>('spine_bone_data_set_rotation'); - late final _spine_bone_data_set_rotation = - _spine_bone_data_set_rotationPtr.asFunction(); + late final _spine_bone_data_set_rotation = _spine_bone_data_set_rotationPtr + .asFunction(); - double spine_bone_data_get_scale_x( - spine_bone_data data, - ) { - return _spine_bone_data_get_scale_x( - data, - ); + double spine_bone_data_get_scale_x(spine_bone_data data) { + return _spine_bone_data_get_scale_x(data); } - late final _spine_bone_data_get_scale_xPtr = - _lookup>('spine_bone_data_get_scale_x'); - late final _spine_bone_data_get_scale_x = - _spine_bone_data_get_scale_xPtr.asFunction(); + late final _spine_bone_data_get_scale_xPtr = _lookup>( + 'spine_bone_data_get_scale_x', + ); + late final _spine_bone_data_get_scale_x = _spine_bone_data_get_scale_xPtr + .asFunction(); - void spine_bone_data_set_scale_x( - spine_bone_data data, - double scaleX, - ) { - return _spine_bone_data_set_scale_x( - data, - scaleX, - ); + void spine_bone_data_set_scale_x(spine_bone_data data, double scaleX) { + return _spine_bone_data_set_scale_x(data, scaleX); } late final _spine_bone_data_set_scale_xPtr = _lookup>('spine_bone_data_set_scale_x'); - late final _spine_bone_data_set_scale_x = - _spine_bone_data_set_scale_xPtr.asFunction(); + late final _spine_bone_data_set_scale_x = _spine_bone_data_set_scale_xPtr + .asFunction(); - double spine_bone_data_get_scale_y( - spine_bone_data data, - ) { - return _spine_bone_data_get_scale_y( - data, - ); + double spine_bone_data_get_scale_y(spine_bone_data data) { + return _spine_bone_data_get_scale_y(data); } - late final _spine_bone_data_get_scale_yPtr = - _lookup>('spine_bone_data_get_scale_y'); - late final _spine_bone_data_get_scale_y = - _spine_bone_data_get_scale_yPtr.asFunction(); + late final _spine_bone_data_get_scale_yPtr = _lookup>( + 'spine_bone_data_get_scale_y', + ); + late final _spine_bone_data_get_scale_y = _spine_bone_data_get_scale_yPtr + .asFunction(); - void spine_bone_data_set_scale_y( - spine_bone_data data, - double scaleY, - ) { - return _spine_bone_data_set_scale_y( - data, - scaleY, - ); + void spine_bone_data_set_scale_y(spine_bone_data data, double scaleY) { + return _spine_bone_data_set_scale_y(data, scaleY); } late final _spine_bone_data_set_scale_yPtr = _lookup>('spine_bone_data_set_scale_y'); - late final _spine_bone_data_set_scale_y = - _spine_bone_data_set_scale_yPtr.asFunction(); + late final _spine_bone_data_set_scale_y = _spine_bone_data_set_scale_yPtr + .asFunction(); - double spine_bone_data_get_shear_x( - spine_bone_data data, - ) { - return _spine_bone_data_get_shear_x( - data, - ); + double spine_bone_data_get_shear_x(spine_bone_data data) { + return _spine_bone_data_get_shear_x(data); } - late final _spine_bone_data_get_shear_xPtr = - _lookup>('spine_bone_data_get_shear_x'); - late final _spine_bone_data_get_shear_x = - _spine_bone_data_get_shear_xPtr.asFunction(); + late final _spine_bone_data_get_shear_xPtr = _lookup>( + 'spine_bone_data_get_shear_x', + ); + late final _spine_bone_data_get_shear_x = _spine_bone_data_get_shear_xPtr + .asFunction(); - void spine_bone_data_set_shear_x( - spine_bone_data data, - double shearx, - ) { - return _spine_bone_data_set_shear_x( - data, - shearx, - ); + void spine_bone_data_set_shear_x(spine_bone_data data, double shearx) { + return _spine_bone_data_set_shear_x(data, shearx); } late final _spine_bone_data_set_shear_xPtr = _lookup>('spine_bone_data_set_shear_x'); - late final _spine_bone_data_set_shear_x = - _spine_bone_data_set_shear_xPtr.asFunction(); + late final _spine_bone_data_set_shear_x = _spine_bone_data_set_shear_xPtr + .asFunction(); - double spine_bone_data_get_shear_y( - spine_bone_data data, - ) { - return _spine_bone_data_get_shear_y( - data, - ); + double spine_bone_data_get_shear_y(spine_bone_data data) { + return _spine_bone_data_get_shear_y(data); } - late final _spine_bone_data_get_shear_yPtr = - _lookup>('spine_bone_data_get_shear_y'); - late final _spine_bone_data_get_shear_y = - _spine_bone_data_get_shear_yPtr.asFunction(); + late final _spine_bone_data_get_shear_yPtr = _lookup>( + 'spine_bone_data_get_shear_y', + ); + late final _spine_bone_data_get_shear_y = _spine_bone_data_get_shear_yPtr + .asFunction(); - void spine_bone_data_set_shear_y( - spine_bone_data data, - double shearY, - ) { - return _spine_bone_data_set_shear_y( - data, - shearY, - ); + void spine_bone_data_set_shear_y(spine_bone_data data, double shearY) { + return _spine_bone_data_set_shear_y(data, shearY); } late final _spine_bone_data_set_shear_yPtr = _lookup>('spine_bone_data_set_shear_y'); - late final _spine_bone_data_set_shear_y = - _spine_bone_data_set_shear_yPtr.asFunction(); + late final _spine_bone_data_set_shear_y = _spine_bone_data_set_shear_yPtr + .asFunction(); - int spine_bone_data_get_inherit( - spine_bone_data data, - ) { - return _spine_bone_data_get_inherit( - data, - ); + int spine_bone_data_get_inherit(spine_bone_data data) { + return _spine_bone_data_get_inherit(data); } - late final _spine_bone_data_get_inheritPtr = - _lookup>('spine_bone_data_get_inherit'); + late final _spine_bone_data_get_inheritPtr = _lookup>( + 'spine_bone_data_get_inherit', + ); late final _spine_bone_data_get_inherit = _spine_bone_data_get_inheritPtr.asFunction(); - void spine_bone_data_set_inherit( - spine_bone_data data, - int inherit, - ) { - return _spine_bone_data_set_inherit( - data, - inherit, - ); + void spine_bone_data_set_inherit(spine_bone_data data, int inherit) { + return _spine_bone_data_set_inherit(data, inherit); } late final _spine_bone_data_set_inheritPtr = _lookup>('spine_bone_data_set_inherit'); - late final _spine_bone_data_set_inherit = - _spine_bone_data_set_inheritPtr.asFunction(); + late final _spine_bone_data_set_inherit = _spine_bone_data_set_inheritPtr + .asFunction(); - int spine_bone_data_is_skin_required( - spine_bone_data data, - ) { - return _spine_bone_data_is_skin_required( - data, - ); + int spine_bone_data_is_skin_required(spine_bone_data data) { + return _spine_bone_data_is_skin_required(data); } - late final _spine_bone_data_is_skin_requiredPtr = - _lookup>('spine_bone_data_is_skin_required'); - late final _spine_bone_data_is_skin_required = - _spine_bone_data_is_skin_requiredPtr.asFunction(); + late final _spine_bone_data_is_skin_requiredPtr = _lookup>( + 'spine_bone_data_is_skin_required', + ); + late final _spine_bone_data_is_skin_required = _spine_bone_data_is_skin_requiredPtr + .asFunction(); - void spine_bone_data_set_is_skin_required( - spine_bone_data data, - int isSkinRequired, - ) { - return _spine_bone_data_set_is_skin_required( - data, - isSkinRequired, - ); + void spine_bone_data_set_is_skin_required(spine_bone_data data, int isSkinRequired) { + return _spine_bone_data_set_is_skin_required(data, isSkinRequired); } late final _spine_bone_data_set_is_skin_requiredPtr = _lookup>( - 'spine_bone_data_set_is_skin_required'); - late final _spine_bone_data_set_is_skin_required = - _spine_bone_data_set_is_skin_requiredPtr.asFunction(); + 'spine_bone_data_set_is_skin_required', + ); + late final _spine_bone_data_set_is_skin_required = _spine_bone_data_set_is_skin_requiredPtr + .asFunction(); - spine_color spine_bone_data_get_color( - spine_bone_data data, - ) { - return _spine_bone_data_get_color( - data, - ); + spine_color spine_bone_data_get_color(spine_bone_data data) { + return _spine_bone_data_get_color(data); } - late final _spine_bone_data_get_colorPtr = - _lookup>('spine_bone_data_get_color'); - late final _spine_bone_data_get_color = - _spine_bone_data_get_colorPtr.asFunction(); + late final _spine_bone_data_get_colorPtr = _lookup>( + 'spine_bone_data_get_color', + ); + late final _spine_bone_data_get_color = _spine_bone_data_get_colorPtr + .asFunction(); - void spine_bone_data_set_color( - spine_bone_data data, - double r, - double g, - double b, - double a, - ) { - return _spine_bone_data_set_color( - data, - r, - g, - b, - a, - ); + void spine_bone_data_set_color(spine_bone_data data, double r, double g, double b, double a) { + return _spine_bone_data_set_color(data, r, g, b, a); } late final _spine_bone_data_set_colorPtr = _lookup>( - 'spine_bone_data_set_color'); - late final _spine_bone_data_set_color = - _spine_bone_data_set_colorPtr.asFunction(); + 'spine_bone_data_set_color', + ); + late final _spine_bone_data_set_color = _spine_bone_data_set_colorPtr + .asFunction(); - int spine_bone_data_is_visible( - spine_bone_data data, - ) { - return _spine_bone_data_is_visible( - data, - ); + int spine_bone_data_is_visible(spine_bone_data data) { + return _spine_bone_data_is_visible(data); } - late final _spine_bone_data_is_visiblePtr = - _lookup>('spine_bone_data_is_visible'); + late final _spine_bone_data_is_visiblePtr = _lookup>( + 'spine_bone_data_is_visible', + ); late final _spine_bone_data_is_visible = _spine_bone_data_is_visiblePtr.asFunction(); - void spine_bone_data_set_visible( - spine_bone_data data, - int isVisible, - ) { - return _spine_bone_data_set_visible( - data, - isVisible, - ); + void spine_bone_data_set_visible(spine_bone_data data, int isVisible) { + return _spine_bone_data_set_visible(data, isVisible); } late final _spine_bone_data_set_visiblePtr = _lookup>('spine_bone_data_set_visible'); - late final _spine_bone_data_set_visible = - _spine_bone_data_set_visiblePtr.asFunction(); + late final _spine_bone_data_set_visible = _spine_bone_data_set_visiblePtr + .asFunction(); /// Omitted getIcon()/setIcon() - void spine_bone_set_is_y_down( - int yDown, - ) { - return _spine_bone_set_is_y_down( - yDown, - ); + void spine_bone_set_is_y_down(int yDown) { + return _spine_bone_set_is_y_down(yDown); } - late final _spine_bone_set_is_y_downPtr = - _lookup>('spine_bone_set_is_y_down'); + late final _spine_bone_set_is_y_downPtr = _lookup>( + 'spine_bone_set_is_y_down', + ); late final _spine_bone_set_is_y_down = _spine_bone_set_is_y_downPtr.asFunction(); int spine_bone_get_is_y_down() { return _spine_bone_get_is_y_down(); } - late final _spine_bone_get_is_y_downPtr = - _lookup>('spine_bone_get_is_y_down'); + late final _spine_bone_get_is_y_downPtr = _lookup>( + 'spine_bone_get_is_y_down', + ); late final _spine_bone_get_is_y_down = _spine_bone_get_is_y_downPtr.asFunction(); - void spine_bone_update( - spine_bone bone, - ) { - return _spine_bone_update( - bone, - ); + void spine_bone_update(spine_bone bone) { + return _spine_bone_update(bone); } late final _spine_bone_updatePtr = _lookup>('spine_bone_update'); late final _spine_bone_update = _spine_bone_updatePtr.asFunction(); - void spine_bone_update_world_transform( - spine_bone bone, - ) { - return _spine_bone_update_world_transform( - bone, - ); + void spine_bone_update_world_transform(spine_bone bone) { + return _spine_bone_update_world_transform(bone); } - late final _spine_bone_update_world_transformPtr = - _lookup>('spine_bone_update_world_transform'); - late final _spine_bone_update_world_transform = - _spine_bone_update_world_transformPtr.asFunction(); + late final _spine_bone_update_world_transformPtr = _lookup>( + 'spine_bone_update_world_transform', + ); + late final _spine_bone_update_world_transform = _spine_bone_update_world_transformPtr + .asFunction(); void spine_bone_update_world_transform_with( spine_bone bone, @@ -4275,1537 +3078,1066 @@ class SpineFlutterBindings { double shearX, double shearY, ) { - return _spine_bone_update_world_transform_with( - bone, - x, - y, - rotation, - scaleX, - scaleY, - shearX, - shearY, - ); + return _spine_bone_update_world_transform_with(bone, x, y, rotation, scaleX, scaleY, shearX, shearY); } - late final _spine_bone_update_world_transform_withPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_bone, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, - ffi.Float)>>('spine_bone_update_world_transform_with'); + late final _spine_bone_update_world_transform_withPtr = + _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_bone, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float) + > + >('spine_bone_update_world_transform_with'); late final _spine_bone_update_world_transform_with = _spine_bone_update_world_transform_withPtr .asFunction(); - void spine_bone_update_applied_transform( - spine_bone bone, - ) { - return _spine_bone_update_applied_transform( - bone, - ); + void spine_bone_update_applied_transform(spine_bone bone) { + return _spine_bone_update_applied_transform(bone); } - late final _spine_bone_update_applied_transformPtr = - _lookup>('spine_bone_update_applied_transform'); - late final _spine_bone_update_applied_transform = - _spine_bone_update_applied_transformPtr.asFunction(); + late final _spine_bone_update_applied_transformPtr = _lookup>( + 'spine_bone_update_applied_transform', + ); + late final _spine_bone_update_applied_transform = _spine_bone_update_applied_transformPtr + .asFunction(); - void spine_bone_set_to_setup_pose( - spine_bone bone, - ) { - return _spine_bone_set_to_setup_pose( - bone, - ); + void spine_bone_set_to_setup_pose(spine_bone bone) { + return _spine_bone_set_to_setup_pose(bone); } - late final _spine_bone_set_to_setup_posePtr = - _lookup>('spine_bone_set_to_setup_pose'); + late final _spine_bone_set_to_setup_posePtr = _lookup>( + 'spine_bone_set_to_setup_pose', + ); late final _spine_bone_set_to_setup_pose = _spine_bone_set_to_setup_posePtr.asFunction(); - spine_vector spine_bone_world_to_local( - spine_bone bone, - double worldX, - double worldY, - ) { - return _spine_bone_world_to_local( - bone, - worldX, - worldY, - ); + spine_vector spine_bone_world_to_local(spine_bone bone, double worldX, double worldY) { + return _spine_bone_world_to_local(bone, worldX, worldY); } late final _spine_bone_world_to_localPtr = _lookup>('spine_bone_world_to_local'); - late final _spine_bone_world_to_local = - _spine_bone_world_to_localPtr.asFunction(); + late final _spine_bone_world_to_local = _spine_bone_world_to_localPtr + .asFunction(); - spine_vector spine_bone_world_to_parent( - spine_bone bone, - double worldX, - double worldY, - ) { - return _spine_bone_world_to_parent( - bone, - worldX, - worldY, - ); + spine_vector spine_bone_world_to_parent(spine_bone bone, double worldX, double worldY) { + return _spine_bone_world_to_parent(bone, worldX, worldY); } late final _spine_bone_world_to_parentPtr = _lookup>( - 'spine_bone_world_to_parent'); - late final _spine_bone_world_to_parent = - _spine_bone_world_to_parentPtr.asFunction(); + 'spine_bone_world_to_parent', + ); + late final _spine_bone_world_to_parent = _spine_bone_world_to_parentPtr + .asFunction(); - spine_vector spine_bone_local_to_world( - spine_bone bone, - double localX, - double localY, - ) { - return _spine_bone_local_to_world( - bone, - localX, - localY, - ); + spine_vector spine_bone_local_to_world(spine_bone bone, double localX, double localY) { + return _spine_bone_local_to_world(bone, localX, localY); } late final _spine_bone_local_to_worldPtr = _lookup>('spine_bone_local_to_world'); - late final _spine_bone_local_to_world = - _spine_bone_local_to_worldPtr.asFunction(); + late final _spine_bone_local_to_world = _spine_bone_local_to_worldPtr + .asFunction(); - spine_vector spine_bone_parent_to_world( - spine_bone bone, - double localX, - double localY, - ) { - return _spine_bone_parent_to_world( - bone, - localX, - localY, - ); + spine_vector spine_bone_parent_to_world(spine_bone bone, double localX, double localY) { + return _spine_bone_parent_to_world(bone, localX, localY); } late final _spine_bone_parent_to_worldPtr = _lookup>( - 'spine_bone_parent_to_world'); - late final _spine_bone_parent_to_world = - _spine_bone_parent_to_worldPtr.asFunction(); + 'spine_bone_parent_to_world', + ); + late final _spine_bone_parent_to_world = _spine_bone_parent_to_worldPtr + .asFunction(); - double spine_bone_world_to_local_rotation( - spine_bone bone, - double worldRotation, - ) { - return _spine_bone_world_to_local_rotation( - bone, - worldRotation, - ); + double spine_bone_world_to_local_rotation(spine_bone bone, double worldRotation) { + return _spine_bone_world_to_local_rotation(bone, worldRotation); } late final _spine_bone_world_to_local_rotationPtr = _lookup>('spine_bone_world_to_local_rotation'); - late final _spine_bone_world_to_local_rotation = - _spine_bone_world_to_local_rotationPtr.asFunction(); + late final _spine_bone_world_to_local_rotation = _spine_bone_world_to_local_rotationPtr + .asFunction(); - double spine_bone_local_to_world_rotation( - spine_bone bone, - double localRotation, - ) { - return _spine_bone_local_to_world_rotation( - bone, - localRotation, - ); + double spine_bone_local_to_world_rotation(spine_bone bone, double localRotation) { + return _spine_bone_local_to_world_rotation(bone, localRotation); } late final _spine_bone_local_to_world_rotationPtr = _lookup>('spine_bone_local_to_world_rotation'); - late final _spine_bone_local_to_world_rotation = - _spine_bone_local_to_world_rotationPtr.asFunction(); + late final _spine_bone_local_to_world_rotation = _spine_bone_local_to_world_rotationPtr + .asFunction(); - void spine_bone_rotate_world( - spine_bone bone, - double degrees, - ) { - return _spine_bone_rotate_world( - bone, - degrees, - ); + void spine_bone_rotate_world(spine_bone bone, double degrees) { + return _spine_bone_rotate_world(bone, degrees); } - late final _spine_bone_rotate_worldPtr = - _lookup>('spine_bone_rotate_world'); + late final _spine_bone_rotate_worldPtr = _lookup>( + 'spine_bone_rotate_world', + ); late final _spine_bone_rotate_world = _spine_bone_rotate_worldPtr.asFunction(); - double spine_bone_get_world_to_local_rotation_x( - spine_bone bone, - ) { - return _spine_bone_get_world_to_local_rotation_x( - bone, - ); + double spine_bone_get_world_to_local_rotation_x(spine_bone bone) { + return _spine_bone_get_world_to_local_rotation_x(bone); } - late final _spine_bone_get_world_to_local_rotation_xPtr = - _lookup>('spine_bone_get_world_to_local_rotation_x'); - late final _spine_bone_get_world_to_local_rotation_x = - _spine_bone_get_world_to_local_rotation_xPtr.asFunction(); + late final _spine_bone_get_world_to_local_rotation_xPtr = _lookup>( + 'spine_bone_get_world_to_local_rotation_x', + ); + late final _spine_bone_get_world_to_local_rotation_x = _spine_bone_get_world_to_local_rotation_xPtr + .asFunction(); - double spine_bone_get_world_to_local_rotation_y( - spine_bone bone, - ) { - return _spine_bone_get_world_to_local_rotation_y( - bone, - ); + double spine_bone_get_world_to_local_rotation_y(spine_bone bone) { + return _spine_bone_get_world_to_local_rotation_y(bone); } - late final _spine_bone_get_world_to_local_rotation_yPtr = - _lookup>('spine_bone_get_world_to_local_rotation_y'); - late final _spine_bone_get_world_to_local_rotation_y = - _spine_bone_get_world_to_local_rotation_yPtr.asFunction(); + late final _spine_bone_get_world_to_local_rotation_yPtr = _lookup>( + 'spine_bone_get_world_to_local_rotation_y', + ); + late final _spine_bone_get_world_to_local_rotation_y = _spine_bone_get_world_to_local_rotation_yPtr + .asFunction(); - spine_bone_data spine_bone_get_data( - spine_bone bone, - ) { - return _spine_bone_get_data( - bone, - ); + spine_bone_data spine_bone_get_data(spine_bone bone) { + return _spine_bone_get_data(bone); } - late final _spine_bone_get_dataPtr = - _lookup>('spine_bone_get_data'); + late final _spine_bone_get_dataPtr = _lookup>( + 'spine_bone_get_data', + ); late final _spine_bone_get_data = _spine_bone_get_dataPtr.asFunction(); - spine_skeleton spine_bone_get_skeleton( - spine_bone bone, - ) { - return _spine_bone_get_skeleton( - bone, - ); + spine_skeleton spine_bone_get_skeleton(spine_bone bone) { + return _spine_bone_get_skeleton(bone); } - late final _spine_bone_get_skeletonPtr = - _lookup>('spine_bone_get_skeleton'); + late final _spine_bone_get_skeletonPtr = _lookup>( + 'spine_bone_get_skeleton', + ); late final _spine_bone_get_skeleton = _spine_bone_get_skeletonPtr.asFunction(); - spine_bone spine_bone_get_parent( - spine_bone bone, - ) { - return _spine_bone_get_parent( - bone, - ); + spine_bone spine_bone_get_parent(spine_bone bone) { + return _spine_bone_get_parent(bone); } - late final _spine_bone_get_parentPtr = - _lookup>('spine_bone_get_parent'); + late final _spine_bone_get_parentPtr = _lookup>( + 'spine_bone_get_parent', + ); late final _spine_bone_get_parent = _spine_bone_get_parentPtr.asFunction(); - int spine_bone_get_num_children( - spine_bone bone, - ) { - return _spine_bone_get_num_children( - bone, - ); + int spine_bone_get_num_children(spine_bone bone) { + return _spine_bone_get_num_children(bone); } - late final _spine_bone_get_num_childrenPtr = - _lookup>('spine_bone_get_num_children'); + late final _spine_bone_get_num_childrenPtr = _lookup>( + 'spine_bone_get_num_children', + ); late final _spine_bone_get_num_children = _spine_bone_get_num_childrenPtr.asFunction(); - ffi.Pointer spine_bone_get_children( - spine_bone bone, - ) { - return _spine_bone_get_children( - bone, - ); + ffi.Pointer spine_bone_get_children(spine_bone bone) { + return _spine_bone_get_children(bone); } - late final _spine_bone_get_childrenPtr = - _lookup Function(spine_bone)>>('spine_bone_get_children'); - late final _spine_bone_get_children = - _spine_bone_get_childrenPtr.asFunction Function(spine_bone)>(); + late final _spine_bone_get_childrenPtr = _lookup Function(spine_bone)>>( + 'spine_bone_get_children', + ); + late final _spine_bone_get_children = _spine_bone_get_childrenPtr + .asFunction Function(spine_bone)>(); - double spine_bone_get_x( - spine_bone bone, - ) { - return _spine_bone_get_x( - bone, - ); + double spine_bone_get_x(spine_bone bone) { + return _spine_bone_get_x(bone); } late final _spine_bone_get_xPtr = _lookup>('spine_bone_get_x'); late final _spine_bone_get_x = _spine_bone_get_xPtr.asFunction(); - void spine_bone_set_x( - spine_bone bone, - double x, - ) { - return _spine_bone_set_x( - bone, - x, - ); + void spine_bone_set_x(spine_bone bone, double x) { + return _spine_bone_set_x(bone, x); } - late final _spine_bone_set_xPtr = - _lookup>('spine_bone_set_x'); + late final _spine_bone_set_xPtr = _lookup>( + 'spine_bone_set_x', + ); late final _spine_bone_set_x = _spine_bone_set_xPtr.asFunction(); - double spine_bone_get_y( - spine_bone bone, - ) { - return _spine_bone_get_y( - bone, - ); + double spine_bone_get_y(spine_bone bone) { + return _spine_bone_get_y(bone); } late final _spine_bone_get_yPtr = _lookup>('spine_bone_get_y'); late final _spine_bone_get_y = _spine_bone_get_yPtr.asFunction(); - void spine_bone_set_y( - spine_bone bone, - double y, - ) { - return _spine_bone_set_y( - bone, - y, - ); + void spine_bone_set_y(spine_bone bone, double y) { + return _spine_bone_set_y(bone, y); } - late final _spine_bone_set_yPtr = - _lookup>('spine_bone_set_y'); + late final _spine_bone_set_yPtr = _lookup>( + 'spine_bone_set_y', + ); late final _spine_bone_set_y = _spine_bone_set_yPtr.asFunction(); - double spine_bone_get_rotation( - spine_bone bone, - ) { - return _spine_bone_get_rotation( - bone, - ); + double spine_bone_get_rotation(spine_bone bone) { + return _spine_bone_get_rotation(bone); } - late final _spine_bone_get_rotationPtr = - _lookup>('spine_bone_get_rotation'); + late final _spine_bone_get_rotationPtr = _lookup>( + 'spine_bone_get_rotation', + ); late final _spine_bone_get_rotation = _spine_bone_get_rotationPtr.asFunction(); - void spine_bone_set_rotation( - spine_bone bone, - double rotation, - ) { - return _spine_bone_set_rotation( - bone, - rotation, - ); + void spine_bone_set_rotation(spine_bone bone, double rotation) { + return _spine_bone_set_rotation(bone, rotation); } - late final _spine_bone_set_rotationPtr = - _lookup>('spine_bone_set_rotation'); + late final _spine_bone_set_rotationPtr = _lookup>( + 'spine_bone_set_rotation', + ); late final _spine_bone_set_rotation = _spine_bone_set_rotationPtr.asFunction(); - double spine_bone_get_scale_x( - spine_bone bone, - ) { - return _spine_bone_get_scale_x( - bone, - ); + double spine_bone_get_scale_x(spine_bone bone) { + return _spine_bone_get_scale_x(bone); } - late final _spine_bone_get_scale_xPtr = - _lookup>('spine_bone_get_scale_x'); + late final _spine_bone_get_scale_xPtr = _lookup>( + 'spine_bone_get_scale_x', + ); late final _spine_bone_get_scale_x = _spine_bone_get_scale_xPtr.asFunction(); - void spine_bone_set_scale_x( - spine_bone bone, - double scaleX, - ) { - return _spine_bone_set_scale_x( - bone, - scaleX, - ); + void spine_bone_set_scale_x(spine_bone bone, double scaleX) { + return _spine_bone_set_scale_x(bone, scaleX); } - late final _spine_bone_set_scale_xPtr = - _lookup>('spine_bone_set_scale_x'); + late final _spine_bone_set_scale_xPtr = _lookup>( + 'spine_bone_set_scale_x', + ); late final _spine_bone_set_scale_x = _spine_bone_set_scale_xPtr.asFunction(); - double spine_bone_get_scale_y( - spine_bone bone, - ) { - return _spine_bone_get_scale_y( - bone, - ); + double spine_bone_get_scale_y(spine_bone bone) { + return _spine_bone_get_scale_y(bone); } - late final _spine_bone_get_scale_yPtr = - _lookup>('spine_bone_get_scale_y'); + late final _spine_bone_get_scale_yPtr = _lookup>( + 'spine_bone_get_scale_y', + ); late final _spine_bone_get_scale_y = _spine_bone_get_scale_yPtr.asFunction(); - void spine_bone_set_scale_y( - spine_bone bone, - double scaleY, - ) { - return _spine_bone_set_scale_y( - bone, - scaleY, - ); + void spine_bone_set_scale_y(spine_bone bone, double scaleY) { + return _spine_bone_set_scale_y(bone, scaleY); } - late final _spine_bone_set_scale_yPtr = - _lookup>('spine_bone_set_scale_y'); + late final _spine_bone_set_scale_yPtr = _lookup>( + 'spine_bone_set_scale_y', + ); late final _spine_bone_set_scale_y = _spine_bone_set_scale_yPtr.asFunction(); - double spine_bone_get_shear_x( - spine_bone bone, - ) { - return _spine_bone_get_shear_x( - bone, - ); + double spine_bone_get_shear_x(spine_bone bone) { + return _spine_bone_get_shear_x(bone); } - late final _spine_bone_get_shear_xPtr = - _lookup>('spine_bone_get_shear_x'); + late final _spine_bone_get_shear_xPtr = _lookup>( + 'spine_bone_get_shear_x', + ); late final _spine_bone_get_shear_x = _spine_bone_get_shear_xPtr.asFunction(); - void spine_bone_set_shear_x( - spine_bone bone, - double shearX, - ) { - return _spine_bone_set_shear_x( - bone, - shearX, - ); + void spine_bone_set_shear_x(spine_bone bone, double shearX) { + return _spine_bone_set_shear_x(bone, shearX); } - late final _spine_bone_set_shear_xPtr = - _lookup>('spine_bone_set_shear_x'); + late final _spine_bone_set_shear_xPtr = _lookup>( + 'spine_bone_set_shear_x', + ); late final _spine_bone_set_shear_x = _spine_bone_set_shear_xPtr.asFunction(); - double spine_bone_get_shear_y( - spine_bone bone, - ) { - return _spine_bone_get_shear_y( - bone, - ); + double spine_bone_get_shear_y(spine_bone bone) { + return _spine_bone_get_shear_y(bone); } - late final _spine_bone_get_shear_yPtr = - _lookup>('spine_bone_get_shear_y'); + late final _spine_bone_get_shear_yPtr = _lookup>( + 'spine_bone_get_shear_y', + ); late final _spine_bone_get_shear_y = _spine_bone_get_shear_yPtr.asFunction(); - void spine_bone_set_shear_y( - spine_bone bone, - double shearY, - ) { - return _spine_bone_set_shear_y( - bone, - shearY, - ); + void spine_bone_set_shear_y(spine_bone bone, double shearY) { + return _spine_bone_set_shear_y(bone, shearY); } - late final _spine_bone_set_shear_yPtr = - _lookup>('spine_bone_set_shear_y'); + late final _spine_bone_set_shear_yPtr = _lookup>( + 'spine_bone_set_shear_y', + ); late final _spine_bone_set_shear_y = _spine_bone_set_shear_yPtr.asFunction(); - double spine_bone_get_applied_rotation( - spine_bone bone, - ) { - return _spine_bone_get_applied_rotation( - bone, - ); + double spine_bone_get_applied_rotation(spine_bone bone) { + return _spine_bone_get_applied_rotation(bone); } - late final _spine_bone_get_applied_rotationPtr = - _lookup>('spine_bone_get_applied_rotation'); - late final _spine_bone_get_applied_rotation = - _spine_bone_get_applied_rotationPtr.asFunction(); + late final _spine_bone_get_applied_rotationPtr = _lookup>( + 'spine_bone_get_applied_rotation', + ); + late final _spine_bone_get_applied_rotation = _spine_bone_get_applied_rotationPtr + .asFunction(); - void spine_bone_set_applied_rotation( - spine_bone bone, - double rotation, - ) { - return _spine_bone_set_applied_rotation( - bone, - rotation, - ); + void spine_bone_set_applied_rotation(spine_bone bone, double rotation) { + return _spine_bone_set_applied_rotation(bone, rotation); } late final _spine_bone_set_applied_rotationPtr = _lookup>('spine_bone_set_applied_rotation'); - late final _spine_bone_set_applied_rotation = - _spine_bone_set_applied_rotationPtr.asFunction(); + late final _spine_bone_set_applied_rotation = _spine_bone_set_applied_rotationPtr + .asFunction(); - double spine_bone_get_a_x( - spine_bone bone, - ) { - return _spine_bone_get_a_x( - bone, - ); + double spine_bone_get_a_x(spine_bone bone) { + return _spine_bone_get_a_x(bone); } late final _spine_bone_get_a_xPtr = _lookup>('spine_bone_get_a_x'); late final _spine_bone_get_a_x = _spine_bone_get_a_xPtr.asFunction(); - void spine_bone_set_a_x( - spine_bone bone, - double x, - ) { - return _spine_bone_set_a_x( - bone, - x, - ); + void spine_bone_set_a_x(spine_bone bone, double x) { + return _spine_bone_set_a_x(bone, x); } - late final _spine_bone_set_a_xPtr = - _lookup>('spine_bone_set_a_x'); + late final _spine_bone_set_a_xPtr = _lookup>( + 'spine_bone_set_a_x', + ); late final _spine_bone_set_a_x = _spine_bone_set_a_xPtr.asFunction(); - double spine_bone_get_a_y( - spine_bone bone, - ) { - return _spine_bone_get_a_y( - bone, - ); + double spine_bone_get_a_y(spine_bone bone) { + return _spine_bone_get_a_y(bone); } late final _spine_bone_get_a_yPtr = _lookup>('spine_bone_get_a_y'); late final _spine_bone_get_a_y = _spine_bone_get_a_yPtr.asFunction(); - void spine_bone_set_a_y( - spine_bone bone, - double y, - ) { - return _spine_bone_set_a_y( - bone, - y, - ); + void spine_bone_set_a_y(spine_bone bone, double y) { + return _spine_bone_set_a_y(bone, y); } - late final _spine_bone_set_a_yPtr = - _lookup>('spine_bone_set_a_y'); + late final _spine_bone_set_a_yPtr = _lookup>( + 'spine_bone_set_a_y', + ); late final _spine_bone_set_a_y = _spine_bone_set_a_yPtr.asFunction(); - double spine_bone_get_a_scale_x( - spine_bone bone, - ) { - return _spine_bone_get_a_scale_x( - bone, - ); + double spine_bone_get_a_scale_x(spine_bone bone) { + return _spine_bone_get_a_scale_x(bone); } - late final _spine_bone_get_a_scale_xPtr = - _lookup>('spine_bone_get_a_scale_x'); + late final _spine_bone_get_a_scale_xPtr = _lookup>( + 'spine_bone_get_a_scale_x', + ); late final _spine_bone_get_a_scale_x = _spine_bone_get_a_scale_xPtr.asFunction(); - void spine_bone_set_a_scale_x( - spine_bone bone, - double scaleX, - ) { - return _spine_bone_set_a_scale_x( - bone, - scaleX, - ); + void spine_bone_set_a_scale_x(spine_bone bone, double scaleX) { + return _spine_bone_set_a_scale_x(bone, scaleX); } - late final _spine_bone_set_a_scale_xPtr = - _lookup>('spine_bone_set_a_scale_x'); + late final _spine_bone_set_a_scale_xPtr = _lookup>( + 'spine_bone_set_a_scale_x', + ); late final _spine_bone_set_a_scale_x = _spine_bone_set_a_scale_xPtr.asFunction(); - double spine_bone_get_a_scale_y( - spine_bone bone, - ) { - return _spine_bone_get_a_scale_y( - bone, - ); + double spine_bone_get_a_scale_y(spine_bone bone) { + return _spine_bone_get_a_scale_y(bone); } - late final _spine_bone_get_a_scale_yPtr = - _lookup>('spine_bone_get_a_scale_y'); + late final _spine_bone_get_a_scale_yPtr = _lookup>( + 'spine_bone_get_a_scale_y', + ); late final _spine_bone_get_a_scale_y = _spine_bone_get_a_scale_yPtr.asFunction(); - void spine_bone_set_a_scale_y( - spine_bone bone, - double scaleY, - ) { - return _spine_bone_set_a_scale_y( - bone, - scaleY, - ); + void spine_bone_set_a_scale_y(spine_bone bone, double scaleY) { + return _spine_bone_set_a_scale_y(bone, scaleY); } - late final _spine_bone_set_a_scale_yPtr = - _lookup>('spine_bone_set_a_scale_y'); + late final _spine_bone_set_a_scale_yPtr = _lookup>( + 'spine_bone_set_a_scale_y', + ); late final _spine_bone_set_a_scale_y = _spine_bone_set_a_scale_yPtr.asFunction(); - double spine_bone_get_a_shear_x( - spine_bone bone, - ) { - return _spine_bone_get_a_shear_x( - bone, - ); + double spine_bone_get_a_shear_x(spine_bone bone) { + return _spine_bone_get_a_shear_x(bone); } - late final _spine_bone_get_a_shear_xPtr = - _lookup>('spine_bone_get_a_shear_x'); + late final _spine_bone_get_a_shear_xPtr = _lookup>( + 'spine_bone_get_a_shear_x', + ); late final _spine_bone_get_a_shear_x = _spine_bone_get_a_shear_xPtr.asFunction(); - void spine_bone_set_a_shear_x( - spine_bone bone, - double shearX, - ) { - return _spine_bone_set_a_shear_x( - bone, - shearX, - ); + void spine_bone_set_a_shear_x(spine_bone bone, double shearX) { + return _spine_bone_set_a_shear_x(bone, shearX); } - late final _spine_bone_set_a_shear_xPtr = - _lookup>('spine_bone_set_a_shear_x'); + late final _spine_bone_set_a_shear_xPtr = _lookup>( + 'spine_bone_set_a_shear_x', + ); late final _spine_bone_set_a_shear_x = _spine_bone_set_a_shear_xPtr.asFunction(); - double spine_bone_get_a_shear_y( - spine_bone bone, - ) { - return _spine_bone_get_a_shear_y( - bone, - ); + double spine_bone_get_a_shear_y(spine_bone bone) { + return _spine_bone_get_a_shear_y(bone); } - late final _spine_bone_get_a_shear_yPtr = - _lookup>('spine_bone_get_a_shear_y'); + late final _spine_bone_get_a_shear_yPtr = _lookup>( + 'spine_bone_get_a_shear_y', + ); late final _spine_bone_get_a_shear_y = _spine_bone_get_a_shear_yPtr.asFunction(); - void spine_bone_set_a_shear_y( - spine_bone bone, - double shearY, - ) { - return _spine_bone_set_a_shear_y( - bone, - shearY, - ); + void spine_bone_set_a_shear_y(spine_bone bone, double shearY) { + return _spine_bone_set_a_shear_y(bone, shearY); } - late final _spine_bone_set_a_shear_yPtr = - _lookup>('spine_bone_set_a_shear_y'); + late final _spine_bone_set_a_shear_yPtr = _lookup>( + 'spine_bone_set_a_shear_y', + ); late final _spine_bone_set_a_shear_y = _spine_bone_set_a_shear_yPtr.asFunction(); - double spine_bone_get_a( - spine_bone bone, - ) { - return _spine_bone_get_a( - bone, - ); + double spine_bone_get_a(spine_bone bone) { + return _spine_bone_get_a(bone); } late final _spine_bone_get_aPtr = _lookup>('spine_bone_get_a'); late final _spine_bone_get_a = _spine_bone_get_aPtr.asFunction(); - void spine_bone_set_a( - spine_bone bone, - double a, - ) { - return _spine_bone_set_a( - bone, - a, - ); + void spine_bone_set_a(spine_bone bone, double a) { + return _spine_bone_set_a(bone, a); } - late final _spine_bone_set_aPtr = - _lookup>('spine_bone_set_a'); + late final _spine_bone_set_aPtr = _lookup>( + 'spine_bone_set_a', + ); late final _spine_bone_set_a = _spine_bone_set_aPtr.asFunction(); - double spine_bone_get_b( - spine_bone bone, - ) { - return _spine_bone_get_b( - bone, - ); + double spine_bone_get_b(spine_bone bone) { + return _spine_bone_get_b(bone); } late final _spine_bone_get_bPtr = _lookup>('spine_bone_get_b'); late final _spine_bone_get_b = _spine_bone_get_bPtr.asFunction(); - void spine_bone_set_b( - spine_bone bone, - double b, - ) { - return _spine_bone_set_b( - bone, - b, - ); + void spine_bone_set_b(spine_bone bone, double b) { + return _spine_bone_set_b(bone, b); } - late final _spine_bone_set_bPtr = - _lookup>('spine_bone_set_b'); + late final _spine_bone_set_bPtr = _lookup>( + 'spine_bone_set_b', + ); late final _spine_bone_set_b = _spine_bone_set_bPtr.asFunction(); - double spine_bone_get_c( - spine_bone bone, - ) { - return _spine_bone_get_c( - bone, - ); + double spine_bone_get_c(spine_bone bone) { + return _spine_bone_get_c(bone); } late final _spine_bone_get_cPtr = _lookup>('spine_bone_get_c'); late final _spine_bone_get_c = _spine_bone_get_cPtr.asFunction(); - void spine_bone_set_c( - spine_bone bone, - double c, - ) { - return _spine_bone_set_c( - bone, - c, - ); + void spine_bone_set_c(spine_bone bone, double c) { + return _spine_bone_set_c(bone, c); } - late final _spine_bone_set_cPtr = - _lookup>('spine_bone_set_c'); + late final _spine_bone_set_cPtr = _lookup>( + 'spine_bone_set_c', + ); late final _spine_bone_set_c = _spine_bone_set_cPtr.asFunction(); - double spine_bone_get_d( - spine_bone bone, - ) { - return _spine_bone_get_d( - bone, - ); + double spine_bone_get_d(spine_bone bone) { + return _spine_bone_get_d(bone); } late final _spine_bone_get_dPtr = _lookup>('spine_bone_get_d'); late final _spine_bone_get_d = _spine_bone_get_dPtr.asFunction(); - void spine_bone_set_d( - spine_bone bone, - double d, - ) { - return _spine_bone_set_d( - bone, - d, - ); + void spine_bone_set_d(spine_bone bone, double d) { + return _spine_bone_set_d(bone, d); } - late final _spine_bone_set_dPtr = - _lookup>('spine_bone_set_d'); + late final _spine_bone_set_dPtr = _lookup>( + 'spine_bone_set_d', + ); late final _spine_bone_set_d = _spine_bone_set_dPtr.asFunction(); - double spine_bone_get_world_x( - spine_bone bone, - ) { - return _spine_bone_get_world_x( - bone, - ); + double spine_bone_get_world_x(spine_bone bone) { + return _spine_bone_get_world_x(bone); } - late final _spine_bone_get_world_xPtr = - _lookup>('spine_bone_get_world_x'); + late final _spine_bone_get_world_xPtr = _lookup>( + 'spine_bone_get_world_x', + ); late final _spine_bone_get_world_x = _spine_bone_get_world_xPtr.asFunction(); - void spine_bone_set_world_x( - spine_bone bone, - double worldX, - ) { - return _spine_bone_set_world_x( - bone, - worldX, - ); + void spine_bone_set_world_x(spine_bone bone, double worldX) { + return _spine_bone_set_world_x(bone, worldX); } - late final _spine_bone_set_world_xPtr = - _lookup>('spine_bone_set_world_x'); + late final _spine_bone_set_world_xPtr = _lookup>( + 'spine_bone_set_world_x', + ); late final _spine_bone_set_world_x = _spine_bone_set_world_xPtr.asFunction(); - double spine_bone_get_world_y( - spine_bone bone, - ) { - return _spine_bone_get_world_y( - bone, - ); + double spine_bone_get_world_y(spine_bone bone) { + return _spine_bone_get_world_y(bone); } - late final _spine_bone_get_world_yPtr = - _lookup>('spine_bone_get_world_y'); + late final _spine_bone_get_world_yPtr = _lookup>( + 'spine_bone_get_world_y', + ); late final _spine_bone_get_world_y = _spine_bone_get_world_yPtr.asFunction(); - void spine_bone_set_world_y( - spine_bone bone, - double worldY, - ) { - return _spine_bone_set_world_y( - bone, - worldY, - ); + void spine_bone_set_world_y(spine_bone bone, double worldY) { + return _spine_bone_set_world_y(bone, worldY); } - late final _spine_bone_set_world_yPtr = - _lookup>('spine_bone_set_world_y'); + late final _spine_bone_set_world_yPtr = _lookup>( + 'spine_bone_set_world_y', + ); late final _spine_bone_set_world_y = _spine_bone_set_world_yPtr.asFunction(); - double spine_bone_get_world_rotation_x( - spine_bone bone, - ) { - return _spine_bone_get_world_rotation_x( - bone, - ); + double spine_bone_get_world_rotation_x(spine_bone bone) { + return _spine_bone_get_world_rotation_x(bone); } - late final _spine_bone_get_world_rotation_xPtr = - _lookup>('spine_bone_get_world_rotation_x'); - late final _spine_bone_get_world_rotation_x = - _spine_bone_get_world_rotation_xPtr.asFunction(); + late final _spine_bone_get_world_rotation_xPtr = _lookup>( + 'spine_bone_get_world_rotation_x', + ); + late final _spine_bone_get_world_rotation_x = _spine_bone_get_world_rotation_xPtr + .asFunction(); - double spine_bone_get_world_rotation_y( - spine_bone bone, - ) { - return _spine_bone_get_world_rotation_y( - bone, - ); + double spine_bone_get_world_rotation_y(spine_bone bone) { + return _spine_bone_get_world_rotation_y(bone); } - late final _spine_bone_get_world_rotation_yPtr = - _lookup>('spine_bone_get_world_rotation_y'); - late final _spine_bone_get_world_rotation_y = - _spine_bone_get_world_rotation_yPtr.asFunction(); + late final _spine_bone_get_world_rotation_yPtr = _lookup>( + 'spine_bone_get_world_rotation_y', + ); + late final _spine_bone_get_world_rotation_y = _spine_bone_get_world_rotation_yPtr + .asFunction(); - double spine_bone_get_world_scale_x( - spine_bone bone, - ) { - return _spine_bone_get_world_scale_x( - bone, - ); + double spine_bone_get_world_scale_x(spine_bone bone) { + return _spine_bone_get_world_scale_x(bone); } - late final _spine_bone_get_world_scale_xPtr = - _lookup>('spine_bone_get_world_scale_x'); + late final _spine_bone_get_world_scale_xPtr = _lookup>( + 'spine_bone_get_world_scale_x', + ); late final _spine_bone_get_world_scale_x = _spine_bone_get_world_scale_xPtr.asFunction(); - double spine_bone_get_world_scale_y( - spine_bone bone, - ) { - return _spine_bone_get_world_scale_y( - bone, - ); + double spine_bone_get_world_scale_y(spine_bone bone) { + return _spine_bone_get_world_scale_y(bone); } - late final _spine_bone_get_world_scale_yPtr = - _lookup>('spine_bone_get_world_scale_y'); + late final _spine_bone_get_world_scale_yPtr = _lookup>( + 'spine_bone_get_world_scale_y', + ); late final _spine_bone_get_world_scale_y = _spine_bone_get_world_scale_yPtr.asFunction(); - int spine_bone_get_is_active( - spine_bone bone, - ) { - return _spine_bone_get_is_active( - bone, - ); + int spine_bone_get_is_active(spine_bone bone) { + return _spine_bone_get_is_active(bone); } - late final _spine_bone_get_is_activePtr = - _lookup>('spine_bone_get_is_active'); + late final _spine_bone_get_is_activePtr = _lookup>( + 'spine_bone_get_is_active', + ); late final _spine_bone_get_is_active = _spine_bone_get_is_activePtr.asFunction(); - void spine_bone_set_is_active( - spine_bone bone, - int isActive, - ) { - return _spine_bone_set_is_active( - bone, - isActive, - ); + void spine_bone_set_is_active(spine_bone bone, int isActive) { + return _spine_bone_set_is_active(bone, isActive); } - late final _spine_bone_set_is_activePtr = - _lookup>('spine_bone_set_is_active'); + late final _spine_bone_set_is_activePtr = _lookup>( + 'spine_bone_set_is_active', + ); late final _spine_bone_set_is_active = _spine_bone_set_is_activePtr.asFunction(); - int spine_bone_get_inherit( - spine_bone data, - ) { - return _spine_bone_get_inherit( - data, - ); + int spine_bone_get_inherit(spine_bone data) { + return _spine_bone_get_inherit(data); } - late final _spine_bone_get_inheritPtr = - _lookup>('spine_bone_get_inherit'); + late final _spine_bone_get_inheritPtr = _lookup>( + 'spine_bone_get_inherit', + ); late final _spine_bone_get_inherit = _spine_bone_get_inheritPtr.asFunction(); - void spine_bone_set_inherit( - spine_bone data, - int inherit, - ) { - return _spine_bone_set_inherit( - data, - inherit, - ); + void spine_bone_set_inherit(spine_bone data, int inherit) { + return _spine_bone_set_inherit(data, inherit); } - late final _spine_bone_set_inheritPtr = - _lookup>('spine_bone_set_inherit'); + late final _spine_bone_set_inheritPtr = _lookup>( + 'spine_bone_set_inherit', + ); late final _spine_bone_set_inherit = _spine_bone_set_inheritPtr.asFunction(); - ffi.Pointer spine_attachment_get_name( - spine_attachment attachment, - ) { - return _spine_attachment_get_name( - attachment, - ); + ffi.Pointer spine_attachment_get_name(spine_attachment attachment) { + return _spine_attachment_get_name(attachment); } - late final _spine_attachment_get_namePtr = - _lookup Function(spine_attachment)>>('spine_attachment_get_name'); - late final _spine_attachment_get_name = - _spine_attachment_get_namePtr.asFunction Function(spine_attachment)>(); + late final _spine_attachment_get_namePtr = _lookup Function(spine_attachment)>>( + 'spine_attachment_get_name', + ); + late final _spine_attachment_get_name = _spine_attachment_get_namePtr + .asFunction Function(spine_attachment)>(); - int spine_attachment_get_type( - spine_attachment attachment, - ) { - return _spine_attachment_get_type( - attachment, - ); + int spine_attachment_get_type(spine_attachment attachment) { + return _spine_attachment_get_type(attachment); } - late final _spine_attachment_get_typePtr = - _lookup>('spine_attachment_get_type'); + late final _spine_attachment_get_typePtr = _lookup>( + 'spine_attachment_get_type', + ); late final _spine_attachment_get_type = _spine_attachment_get_typePtr.asFunction(); - spine_attachment spine_attachment_copy( - spine_attachment attachment, - ) { - return _spine_attachment_copy( - attachment, - ); + spine_attachment spine_attachment_copy(spine_attachment attachment) { + return _spine_attachment_copy(attachment); } - late final _spine_attachment_copyPtr = - _lookup>('spine_attachment_copy'); - late final _spine_attachment_copy = - _spine_attachment_copyPtr.asFunction(); + late final _spine_attachment_copyPtr = _lookup>( + 'spine_attachment_copy', + ); + late final _spine_attachment_copy = _spine_attachment_copyPtr + .asFunction(); - void spine_attachment_dispose( - spine_attachment attachment, - ) { - return _spine_attachment_dispose( - attachment, - ); + void spine_attachment_dispose(spine_attachment attachment) { + return _spine_attachment_dispose(attachment); } - late final _spine_attachment_disposePtr = - _lookup>('spine_attachment_dispose'); + late final _spine_attachment_disposePtr = _lookup>( + 'spine_attachment_dispose', + ); late final _spine_attachment_dispose = _spine_attachment_disposePtr.asFunction(); - spine_vector spine_point_attachment_compute_world_position( - spine_point_attachment attachment, - spine_bone bone, - ) { - return _spine_point_attachment_compute_world_position( - attachment, - bone, - ); + spine_vector spine_point_attachment_compute_world_position(spine_point_attachment attachment, spine_bone bone) { + return _spine_point_attachment_compute_world_position(attachment, bone); } late final _spine_point_attachment_compute_world_positionPtr = _lookup>( - 'spine_point_attachment_compute_world_position'); + 'spine_point_attachment_compute_world_position', + ); late final _spine_point_attachment_compute_world_position = _spine_point_attachment_compute_world_positionPtr .asFunction(); - double spine_point_attachment_compute_world_rotation( - spine_point_attachment attachment, - spine_bone bone, - ) { - return _spine_point_attachment_compute_world_rotation( - attachment, - bone, - ); + double spine_point_attachment_compute_world_rotation(spine_point_attachment attachment, spine_bone bone) { + return _spine_point_attachment_compute_world_rotation(attachment, bone); } late final _spine_point_attachment_compute_world_rotationPtr = _lookup>( - 'spine_point_attachment_compute_world_rotation'); + 'spine_point_attachment_compute_world_rotation', + ); late final _spine_point_attachment_compute_world_rotation = _spine_point_attachment_compute_world_rotationPtr .asFunction(); - double spine_point_attachment_get_x( - spine_point_attachment attachment, - ) { - return _spine_point_attachment_get_x( - attachment, - ); + double spine_point_attachment_get_x(spine_point_attachment attachment) { + return _spine_point_attachment_get_x(attachment); } - late final _spine_point_attachment_get_xPtr = - _lookup>('spine_point_attachment_get_x'); - late final _spine_point_attachment_get_x = - _spine_point_attachment_get_xPtr.asFunction(); + late final _spine_point_attachment_get_xPtr = _lookup>( + 'spine_point_attachment_get_x', + ); + late final _spine_point_attachment_get_x = _spine_point_attachment_get_xPtr + .asFunction(); - void spine_point_attachment_set_x( - spine_point_attachment attachment, - double x, - ) { - return _spine_point_attachment_set_x( - attachment, - x, - ); + void spine_point_attachment_set_x(spine_point_attachment attachment, double x) { + return _spine_point_attachment_set_x(attachment, x); } late final _spine_point_attachment_set_xPtr = _lookup>('spine_point_attachment_set_x'); - late final _spine_point_attachment_set_x = - _spine_point_attachment_set_xPtr.asFunction(); + late final _spine_point_attachment_set_x = _spine_point_attachment_set_xPtr + .asFunction(); - double spine_point_attachment_get_y( - spine_point_attachment attachment, - ) { - return _spine_point_attachment_get_y( - attachment, - ); + double spine_point_attachment_get_y(spine_point_attachment attachment) { + return _spine_point_attachment_get_y(attachment); } - late final _spine_point_attachment_get_yPtr = - _lookup>('spine_point_attachment_get_y'); - late final _spine_point_attachment_get_y = - _spine_point_attachment_get_yPtr.asFunction(); + late final _spine_point_attachment_get_yPtr = _lookup>( + 'spine_point_attachment_get_y', + ); + late final _spine_point_attachment_get_y = _spine_point_attachment_get_yPtr + .asFunction(); - void spine_point_attachment_set_y( - spine_point_attachment attachment, - double y, - ) { - return _spine_point_attachment_set_y( - attachment, - y, - ); + void spine_point_attachment_set_y(spine_point_attachment attachment, double y) { + return _spine_point_attachment_set_y(attachment, y); } late final _spine_point_attachment_set_yPtr = _lookup>('spine_point_attachment_set_y'); - late final _spine_point_attachment_set_y = - _spine_point_attachment_set_yPtr.asFunction(); + late final _spine_point_attachment_set_y = _spine_point_attachment_set_yPtr + .asFunction(); - double spine_point_attachment_get_rotation( - spine_point_attachment attachment, - ) { - return _spine_point_attachment_get_rotation( - attachment, - ); + double spine_point_attachment_get_rotation(spine_point_attachment attachment) { + return _spine_point_attachment_get_rotation(attachment); } late final _spine_point_attachment_get_rotationPtr = _lookup>('spine_point_attachment_get_rotation'); - late final _spine_point_attachment_get_rotation = - _spine_point_attachment_get_rotationPtr.asFunction(); + late final _spine_point_attachment_get_rotation = _spine_point_attachment_get_rotationPtr + .asFunction(); - void spine_point_attachment_set_rotation( - spine_point_attachment attachment, - double rotation, - ) { - return _spine_point_attachment_set_rotation( - attachment, - rotation, - ); + void spine_point_attachment_set_rotation(spine_point_attachment attachment, double rotation) { + return _spine_point_attachment_set_rotation(attachment, rotation); } late final _spine_point_attachment_set_rotationPtr = _lookup>( - 'spine_point_attachment_set_rotation'); - late final _spine_point_attachment_set_rotation = - _spine_point_attachment_set_rotationPtr.asFunction(); + 'spine_point_attachment_set_rotation', + ); + late final _spine_point_attachment_set_rotation = _spine_point_attachment_set_rotationPtr + .asFunction(); - spine_color spine_point_attachment_get_color( - spine_point_attachment attachment, - ) { - return _spine_point_attachment_get_color( - attachment, - ); + spine_color spine_point_attachment_get_color(spine_point_attachment attachment) { + return _spine_point_attachment_get_color(attachment); } late final _spine_point_attachment_get_colorPtr = _lookup>('spine_point_attachment_get_color'); - late final _spine_point_attachment_get_color = - _spine_point_attachment_get_colorPtr.asFunction(); + late final _spine_point_attachment_get_color = _spine_point_attachment_get_colorPtr + .asFunction(); - void spine_point_attachment_set_color( - spine_point_attachment attachment, - double r, - double g, - double b, - double a, - ) { - return _spine_point_attachment_set_color( - attachment, - r, - g, - b, - a, - ); + void spine_point_attachment_set_color(spine_point_attachment attachment, double r, double g, double b, double a) { + return _spine_point_attachment_set_color(attachment, r, g, b, a); } - late final _spine_point_attachment_set_colorPtr = _lookup< - ffi.NativeFunction>( - 'spine_point_attachment_set_color'); + late final _spine_point_attachment_set_colorPtr = + _lookup< + ffi.NativeFunction + >('spine_point_attachment_set_color'); late final _spine_point_attachment_set_color = _spine_point_attachment_set_colorPtr .asFunction(); - void spine_region_attachment_update_region( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_update_region( - attachment, - ); + void spine_region_attachment_update_region(spine_region_attachment attachment) { + return _spine_region_attachment_update_region(attachment); } late final _spine_region_attachment_update_regionPtr = _lookup>('spine_region_attachment_update_region'); - late final _spine_region_attachment_update_region = - _spine_region_attachment_update_regionPtr.asFunction(); + late final _spine_region_attachment_update_region = _spine_region_attachment_update_regionPtr + .asFunction(); void spine_region_attachment_compute_world_vertices( spine_region_attachment attachment, spine_slot slot, ffi.Pointer worldVertices, ) { - return _spine_region_attachment_compute_world_vertices( - attachment, - slot, - worldVertices, - ); + return _spine_region_attachment_compute_world_vertices(attachment, slot, worldVertices); } late final _spine_region_attachment_compute_world_verticesPtr = _lookup)>>( - 'spine_region_attachment_compute_world_vertices'); + 'spine_region_attachment_compute_world_vertices', + ); late final _spine_region_attachment_compute_world_vertices = _spine_region_attachment_compute_world_verticesPtr .asFunction)>(); - double spine_region_attachment_get_x( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_x( - attachment, - ); + double spine_region_attachment_get_x(spine_region_attachment attachment) { + return _spine_region_attachment_get_x(attachment); } late final _spine_region_attachment_get_xPtr = _lookup>('spine_region_attachment_get_x'); - late final _spine_region_attachment_get_x = - _spine_region_attachment_get_xPtr.asFunction(); + late final _spine_region_attachment_get_x = _spine_region_attachment_get_xPtr + .asFunction(); - void spine_region_attachment_set_x( - spine_region_attachment attachment, - double x, - ) { - return _spine_region_attachment_set_x( - attachment, - x, - ); + void spine_region_attachment_set_x(spine_region_attachment attachment, double x) { + return _spine_region_attachment_set_x(attachment, x); } late final _spine_region_attachment_set_xPtr = _lookup>( - 'spine_region_attachment_set_x'); - late final _spine_region_attachment_set_x = - _spine_region_attachment_set_xPtr.asFunction(); + 'spine_region_attachment_set_x', + ); + late final _spine_region_attachment_set_x = _spine_region_attachment_set_xPtr + .asFunction(); - double spine_region_attachment_get_y( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_y( - attachment, - ); + double spine_region_attachment_get_y(spine_region_attachment attachment) { + return _spine_region_attachment_get_y(attachment); } late final _spine_region_attachment_get_yPtr = _lookup>('spine_region_attachment_get_y'); - late final _spine_region_attachment_get_y = - _spine_region_attachment_get_yPtr.asFunction(); + late final _spine_region_attachment_get_y = _spine_region_attachment_get_yPtr + .asFunction(); - void spine_region_attachment_set_y( - spine_region_attachment attachment, - double y, - ) { - return _spine_region_attachment_set_y( - attachment, - y, - ); + void spine_region_attachment_set_y(spine_region_attachment attachment, double y) { + return _spine_region_attachment_set_y(attachment, y); } late final _spine_region_attachment_set_yPtr = _lookup>( - 'spine_region_attachment_set_y'); - late final _spine_region_attachment_set_y = - _spine_region_attachment_set_yPtr.asFunction(); + 'spine_region_attachment_set_y', + ); + late final _spine_region_attachment_set_y = _spine_region_attachment_set_yPtr + .asFunction(); - double spine_region_attachment_get_rotation( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_rotation( - attachment, - ); + double spine_region_attachment_get_rotation(spine_region_attachment attachment) { + return _spine_region_attachment_get_rotation(attachment); } late final _spine_region_attachment_get_rotationPtr = _lookup>('spine_region_attachment_get_rotation'); - late final _spine_region_attachment_get_rotation = - _spine_region_attachment_get_rotationPtr.asFunction(); + late final _spine_region_attachment_get_rotation = _spine_region_attachment_get_rotationPtr + .asFunction(); - void spine_region_attachment_set_rotation( - spine_region_attachment attachment, - double rotation, - ) { - return _spine_region_attachment_set_rotation( - attachment, - rotation, - ); + void spine_region_attachment_set_rotation(spine_region_attachment attachment, double rotation) { + return _spine_region_attachment_set_rotation(attachment, rotation); } late final _spine_region_attachment_set_rotationPtr = _lookup>( - 'spine_region_attachment_set_rotation'); - late final _spine_region_attachment_set_rotation = - _spine_region_attachment_set_rotationPtr.asFunction(); + 'spine_region_attachment_set_rotation', + ); + late final _spine_region_attachment_set_rotation = _spine_region_attachment_set_rotationPtr + .asFunction(); - double spine_region_attachment_get_scale_x( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_scale_x( - attachment, - ); + double spine_region_attachment_get_scale_x(spine_region_attachment attachment) { + return _spine_region_attachment_get_scale_x(attachment); } late final _spine_region_attachment_get_scale_xPtr = _lookup>('spine_region_attachment_get_scale_x'); - late final _spine_region_attachment_get_scale_x = - _spine_region_attachment_get_scale_xPtr.asFunction(); + late final _spine_region_attachment_get_scale_x = _spine_region_attachment_get_scale_xPtr + .asFunction(); - void spine_region_attachment_set_scale_x( - spine_region_attachment attachment, - double scaleX, - ) { - return _spine_region_attachment_set_scale_x( - attachment, - scaleX, - ); + void spine_region_attachment_set_scale_x(spine_region_attachment attachment, double scaleX) { + return _spine_region_attachment_set_scale_x(attachment, scaleX); } late final _spine_region_attachment_set_scale_xPtr = _lookup>( - 'spine_region_attachment_set_scale_x'); - late final _spine_region_attachment_set_scale_x = - _spine_region_attachment_set_scale_xPtr.asFunction(); + 'spine_region_attachment_set_scale_x', + ); + late final _spine_region_attachment_set_scale_x = _spine_region_attachment_set_scale_xPtr + .asFunction(); - double spine_region_attachment_get_scale_y( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_scale_y( - attachment, - ); + double spine_region_attachment_get_scale_y(spine_region_attachment attachment) { + return _spine_region_attachment_get_scale_y(attachment); } late final _spine_region_attachment_get_scale_yPtr = _lookup>('spine_region_attachment_get_scale_y'); - late final _spine_region_attachment_get_scale_y = - _spine_region_attachment_get_scale_yPtr.asFunction(); + late final _spine_region_attachment_get_scale_y = _spine_region_attachment_get_scale_yPtr + .asFunction(); - void spine_region_attachment_set_scale_y( - spine_region_attachment attachment, - double scaleY, - ) { - return _spine_region_attachment_set_scale_y( - attachment, - scaleY, - ); + void spine_region_attachment_set_scale_y(spine_region_attachment attachment, double scaleY) { + return _spine_region_attachment_set_scale_y(attachment, scaleY); } late final _spine_region_attachment_set_scale_yPtr = _lookup>( - 'spine_region_attachment_set_scale_y'); - late final _spine_region_attachment_set_scale_y = - _spine_region_attachment_set_scale_yPtr.asFunction(); + 'spine_region_attachment_set_scale_y', + ); + late final _spine_region_attachment_set_scale_y = _spine_region_attachment_set_scale_yPtr + .asFunction(); - double spine_region_attachment_get_width( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_width( - attachment, - ); + double spine_region_attachment_get_width(spine_region_attachment attachment) { + return _spine_region_attachment_get_width(attachment); } late final _spine_region_attachment_get_widthPtr = _lookup>('spine_region_attachment_get_width'); - late final _spine_region_attachment_get_width = - _spine_region_attachment_get_widthPtr.asFunction(); + late final _spine_region_attachment_get_width = _spine_region_attachment_get_widthPtr + .asFunction(); - void spine_region_attachment_set_width( - spine_region_attachment attachment, - double width, - ) { - return _spine_region_attachment_set_width( - attachment, - width, - ); + void spine_region_attachment_set_width(spine_region_attachment attachment, double width) { + return _spine_region_attachment_set_width(attachment, width); } late final _spine_region_attachment_set_widthPtr = _lookup>( - 'spine_region_attachment_set_width'); - late final _spine_region_attachment_set_width = - _spine_region_attachment_set_widthPtr.asFunction(); + 'spine_region_attachment_set_width', + ); + late final _spine_region_attachment_set_width = _spine_region_attachment_set_widthPtr + .asFunction(); - double spine_region_attachment_get_height( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_height( - attachment, - ); + double spine_region_attachment_get_height(spine_region_attachment attachment) { + return _spine_region_attachment_get_height(attachment); } late final _spine_region_attachment_get_heightPtr = _lookup>('spine_region_attachment_get_height'); - late final _spine_region_attachment_get_height = - _spine_region_attachment_get_heightPtr.asFunction(); + late final _spine_region_attachment_get_height = _spine_region_attachment_get_heightPtr + .asFunction(); - void spine_region_attachment_set_height( - spine_region_attachment attachment, - double height, - ) { - return _spine_region_attachment_set_height( - attachment, - height, - ); + void spine_region_attachment_set_height(spine_region_attachment attachment, double height) { + return _spine_region_attachment_set_height(attachment, height); } late final _spine_region_attachment_set_heightPtr = _lookup>( - 'spine_region_attachment_set_height'); - late final _spine_region_attachment_set_height = - _spine_region_attachment_set_heightPtr.asFunction(); + 'spine_region_attachment_set_height', + ); + late final _spine_region_attachment_set_height = _spine_region_attachment_set_heightPtr + .asFunction(); - spine_color spine_region_attachment_get_color( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_color( - attachment, - ); + spine_color spine_region_attachment_get_color(spine_region_attachment attachment) { + return _spine_region_attachment_get_color(attachment); } late final _spine_region_attachment_get_colorPtr = _lookup>('spine_region_attachment_get_color'); - late final _spine_region_attachment_get_color = - _spine_region_attachment_get_colorPtr.asFunction(); + late final _spine_region_attachment_get_color = _spine_region_attachment_get_colorPtr + .asFunction(); - void spine_region_attachment_set_color( - spine_region_attachment attachment, - double r, - double g, - double b, - double a, - ) { - return _spine_region_attachment_set_color( - attachment, - r, - g, - b, - a, - ); + void spine_region_attachment_set_color(spine_region_attachment attachment, double r, double g, double b, double a) { + return _spine_region_attachment_set_color(attachment, r, g, b, a); } - late final _spine_region_attachment_set_colorPtr = _lookup< - ffi.NativeFunction>( - 'spine_region_attachment_set_color'); + late final _spine_region_attachment_set_colorPtr = + _lookup< + ffi.NativeFunction + >('spine_region_attachment_set_color'); late final _spine_region_attachment_set_color = _spine_region_attachment_set_colorPtr .asFunction(); - ffi.Pointer spine_region_attachment_get_path( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_path( - attachment, - ); + ffi.Pointer spine_region_attachment_get_path(spine_region_attachment attachment) { + return _spine_region_attachment_get_path(attachment); } late final _spine_region_attachment_get_pathPtr = _lookup Function(spine_region_attachment)>>( - 'spine_region_attachment_get_path'); - late final _spine_region_attachment_get_path = - _spine_region_attachment_get_pathPtr.asFunction Function(spine_region_attachment)>(); + 'spine_region_attachment_get_path', + ); + late final _spine_region_attachment_get_path = _spine_region_attachment_get_pathPtr + .asFunction Function(spine_region_attachment)>(); /// OMITTED setPath() - spine_texture_region spine_region_attachment_get_region( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_region( - attachment, - ); + spine_texture_region spine_region_attachment_get_region(spine_region_attachment attachment) { + return _spine_region_attachment_get_region(attachment); } late final _spine_region_attachment_get_regionPtr = _lookup>( - 'spine_region_attachment_get_region'); - late final _spine_region_attachment_get_region = - _spine_region_attachment_get_regionPtr.asFunction(); + 'spine_region_attachment_get_region', + ); + late final _spine_region_attachment_get_region = _spine_region_attachment_get_regionPtr + .asFunction(); /// OMITTED setRegion() - spine_sequence spine_region_attachment_get_sequence( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_sequence( - attachment, - ); + spine_sequence spine_region_attachment_get_sequence(spine_region_attachment attachment) { + return _spine_region_attachment_get_sequence(attachment); } late final _spine_region_attachment_get_sequencePtr = _lookup>( - 'spine_region_attachment_get_sequence'); - late final _spine_region_attachment_get_sequence = - _spine_region_attachment_get_sequencePtr.asFunction(); + 'spine_region_attachment_get_sequence', + ); + late final _spine_region_attachment_get_sequence = _spine_region_attachment_get_sequencePtr + .asFunction(); /// OMITTED setSequence() - int spine_region_attachment_get_num_offset( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_num_offset( - attachment, - ); + int spine_region_attachment_get_num_offset(spine_region_attachment attachment) { + return _spine_region_attachment_get_num_offset(attachment); } late final _spine_region_attachment_get_num_offsetPtr = _lookup>( - 'spine_region_attachment_get_num_offset'); - late final _spine_region_attachment_get_num_offset = - _spine_region_attachment_get_num_offsetPtr.asFunction(); + 'spine_region_attachment_get_num_offset', + ); + late final _spine_region_attachment_get_num_offset = _spine_region_attachment_get_num_offsetPtr + .asFunction(); - ffi.Pointer spine_region_attachment_get_offset( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_offset( - attachment, - ); + ffi.Pointer spine_region_attachment_get_offset(spine_region_attachment attachment) { + return _spine_region_attachment_get_offset(attachment); } late final _spine_region_attachment_get_offsetPtr = _lookup Function(spine_region_attachment)>>( - 'spine_region_attachment_get_offset'); - late final _spine_region_attachment_get_offset = - _spine_region_attachment_get_offsetPtr.asFunction Function(spine_region_attachment)>(); + 'spine_region_attachment_get_offset', + ); + late final _spine_region_attachment_get_offset = _spine_region_attachment_get_offsetPtr + .asFunction Function(spine_region_attachment)>(); - int spine_region_attachment_get_num_uvs( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_num_uvs( - attachment, - ); + int spine_region_attachment_get_num_uvs(spine_region_attachment attachment) { + return _spine_region_attachment_get_num_uvs(attachment); } late final _spine_region_attachment_get_num_uvsPtr = _lookup>('spine_region_attachment_get_num_uvs'); - late final _spine_region_attachment_get_num_uvs = - _spine_region_attachment_get_num_uvsPtr.asFunction(); + late final _spine_region_attachment_get_num_uvs = _spine_region_attachment_get_num_uvsPtr + .asFunction(); - ffi.Pointer spine_region_attachment_get_uvs( - spine_region_attachment attachment, - ) { - return _spine_region_attachment_get_uvs( - attachment, - ); + ffi.Pointer spine_region_attachment_get_uvs(spine_region_attachment attachment) { + return _spine_region_attachment_get_uvs(attachment); } late final _spine_region_attachment_get_uvsPtr = _lookup Function(spine_region_attachment)>>( - 'spine_region_attachment_get_uvs'); - late final _spine_region_attachment_get_uvs = - _spine_region_attachment_get_uvsPtr.asFunction Function(spine_region_attachment)>(); + 'spine_region_attachment_get_uvs', + ); + late final _spine_region_attachment_get_uvs = _spine_region_attachment_get_uvsPtr + .asFunction Function(spine_region_attachment)>(); - int spine_vertex_attachment_get_world_vertices_length( - spine_vertex_attachment attachment, - ) { - return _spine_vertex_attachment_get_world_vertices_length( - attachment, - ); + int spine_vertex_attachment_get_world_vertices_length(spine_vertex_attachment attachment) { + return _spine_vertex_attachment_get_world_vertices_length(attachment); } late final _spine_vertex_attachment_get_world_vertices_lengthPtr = _lookup>( - 'spine_vertex_attachment_get_world_vertices_length'); - late final _spine_vertex_attachment_get_world_vertices_length = - _spine_vertex_attachment_get_world_vertices_lengthPtr.asFunction(); + 'spine_vertex_attachment_get_world_vertices_length', + ); + late final _spine_vertex_attachment_get_world_vertices_length = _spine_vertex_attachment_get_world_vertices_lengthPtr + .asFunction(); void spine_vertex_attachment_compute_world_vertices( spine_vertex_attachment attachment, spine_slot slot, ffi.Pointer worldVertices, ) { - return _spine_vertex_attachment_compute_world_vertices( - attachment, - slot, - worldVertices, - ); + return _spine_vertex_attachment_compute_world_vertices(attachment, slot, worldVertices); } late final _spine_vertex_attachment_compute_world_verticesPtr = _lookup)>>( - 'spine_vertex_attachment_compute_world_vertices'); + 'spine_vertex_attachment_compute_world_vertices', + ); late final _spine_vertex_attachment_compute_world_vertices = _spine_vertex_attachment_compute_world_verticesPtr .asFunction)>(); /// OMITTED getId() - int spine_vertex_attachment_get_num_bones( - spine_vertex_attachment attachment, - ) { - return _spine_vertex_attachment_get_num_bones( - attachment, - ); + int spine_vertex_attachment_get_num_bones(spine_vertex_attachment attachment) { + return _spine_vertex_attachment_get_num_bones(attachment); } late final _spine_vertex_attachment_get_num_bonesPtr = _lookup>('spine_vertex_attachment_get_num_bones'); - late final _spine_vertex_attachment_get_num_bones = - _spine_vertex_attachment_get_num_bonesPtr.asFunction(); + late final _spine_vertex_attachment_get_num_bones = _spine_vertex_attachment_get_num_bonesPtr + .asFunction(); - ffi.Pointer spine_vertex_attachment_get_bones( - spine_vertex_attachment attachment, - ) { - return _spine_vertex_attachment_get_bones( - attachment, - ); + ffi.Pointer spine_vertex_attachment_get_bones(spine_vertex_attachment attachment) { + return _spine_vertex_attachment_get_bones(attachment); } late final _spine_vertex_attachment_get_bonesPtr = _lookup Function(spine_vertex_attachment)>>( - 'spine_vertex_attachment_get_bones'); - late final _spine_vertex_attachment_get_bones = - _spine_vertex_attachment_get_bonesPtr.asFunction Function(spine_vertex_attachment)>(); + 'spine_vertex_attachment_get_bones', + ); + late final _spine_vertex_attachment_get_bones = _spine_vertex_attachment_get_bonesPtr + .asFunction Function(spine_vertex_attachment)>(); - int spine_vertex_attachment_get_num_vertices( - spine_vertex_attachment attachment, - ) { - return _spine_vertex_attachment_get_num_vertices( - attachment, - ); + int spine_vertex_attachment_get_num_vertices(spine_vertex_attachment attachment) { + return _spine_vertex_attachment_get_num_vertices(attachment); } late final _spine_vertex_attachment_get_num_verticesPtr = _lookup>( - 'spine_vertex_attachment_get_num_vertices'); - late final _spine_vertex_attachment_get_num_vertices = - _spine_vertex_attachment_get_num_verticesPtr.asFunction(); + 'spine_vertex_attachment_get_num_vertices', + ); + late final _spine_vertex_attachment_get_num_vertices = _spine_vertex_attachment_get_num_verticesPtr + .asFunction(); - ffi.Pointer spine_vertex_attachment_get_vertices( - spine_vertex_attachment attachment, - ) { - return _spine_vertex_attachment_get_vertices( - attachment, - ); + ffi.Pointer spine_vertex_attachment_get_vertices(spine_vertex_attachment attachment) { + return _spine_vertex_attachment_get_vertices(attachment); } late final _spine_vertex_attachment_get_verticesPtr = _lookup Function(spine_vertex_attachment)>>( - 'spine_vertex_attachment_get_vertices'); - late final _spine_vertex_attachment_get_vertices = - _spine_vertex_attachment_get_verticesPtr.asFunction Function(spine_vertex_attachment)>(); + 'spine_vertex_attachment_get_vertices', + ); + late final _spine_vertex_attachment_get_vertices = _spine_vertex_attachment_get_verticesPtr + .asFunction Function(spine_vertex_attachment)>(); - spine_attachment spine_vertex_attachment_get_timeline_attachment( - spine_vertex_attachment timelineAttachment, - ) { - return _spine_vertex_attachment_get_timeline_attachment( - timelineAttachment, - ); + spine_attachment spine_vertex_attachment_get_timeline_attachment(spine_vertex_attachment timelineAttachment) { + return _spine_vertex_attachment_get_timeline_attachment(timelineAttachment); } late final _spine_vertex_attachment_get_timeline_attachmentPtr = _lookup>( - 'spine_vertex_attachment_get_timeline_attachment'); + 'spine_vertex_attachment_get_timeline_attachment', + ); late final _spine_vertex_attachment_get_timeline_attachment = _spine_vertex_attachment_get_timeline_attachmentPtr .asFunction(); @@ -5813,380 +4145,275 @@ class SpineFlutterBindings { spine_vertex_attachment attachment, spine_attachment timelineAttachment, ) { - return _spine_vertex_attachment_set_timeline_attachment( - attachment, - timelineAttachment, - ); + return _spine_vertex_attachment_set_timeline_attachment(attachment, timelineAttachment); } late final _spine_vertex_attachment_set_timeline_attachmentPtr = _lookup>( - 'spine_vertex_attachment_set_timeline_attachment'); + 'spine_vertex_attachment_set_timeline_attachment', + ); late final _spine_vertex_attachment_set_timeline_attachment = _spine_vertex_attachment_set_timeline_attachmentPtr .asFunction(); /// OMITTED copyTo() - void spine_mesh_attachment_update_region( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_update_region( - attachment, - ); + void spine_mesh_attachment_update_region(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_update_region(attachment); } late final _spine_mesh_attachment_update_regionPtr = _lookup>('spine_mesh_attachment_update_region'); - late final _spine_mesh_attachment_update_region = - _spine_mesh_attachment_update_regionPtr.asFunction(); + late final _spine_mesh_attachment_update_region = _spine_mesh_attachment_update_regionPtr + .asFunction(); - int spine_mesh_attachment_get_hull_length( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_hull_length( - attachment, - ); + int spine_mesh_attachment_get_hull_length(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_hull_length(attachment); } late final _spine_mesh_attachment_get_hull_lengthPtr = _lookup>('spine_mesh_attachment_get_hull_length'); - late final _spine_mesh_attachment_get_hull_length = - _spine_mesh_attachment_get_hull_lengthPtr.asFunction(); + late final _spine_mesh_attachment_get_hull_length = _spine_mesh_attachment_get_hull_lengthPtr + .asFunction(); - void spine_mesh_attachment_set_hull_length( - spine_mesh_attachment attachment, - int hullLength, - ) { - return _spine_mesh_attachment_set_hull_length( - attachment, - hullLength, - ); + void spine_mesh_attachment_set_hull_length(spine_mesh_attachment attachment, int hullLength) { + return _spine_mesh_attachment_set_hull_length(attachment, hullLength); } late final _spine_mesh_attachment_set_hull_lengthPtr = _lookup>( - 'spine_mesh_attachment_set_hull_length'); - late final _spine_mesh_attachment_set_hull_length = - _spine_mesh_attachment_set_hull_lengthPtr.asFunction(); + 'spine_mesh_attachment_set_hull_length', + ); + late final _spine_mesh_attachment_set_hull_length = _spine_mesh_attachment_set_hull_lengthPtr + .asFunction(); - int spine_mesh_attachment_get_num_region_uvs( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_num_region_uvs( - attachment, - ); + int spine_mesh_attachment_get_num_region_uvs(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_num_region_uvs(attachment); } late final _spine_mesh_attachment_get_num_region_uvsPtr = _lookup>( - 'spine_mesh_attachment_get_num_region_uvs'); - late final _spine_mesh_attachment_get_num_region_uvs = - _spine_mesh_attachment_get_num_region_uvsPtr.asFunction(); + 'spine_mesh_attachment_get_num_region_uvs', + ); + late final _spine_mesh_attachment_get_num_region_uvs = _spine_mesh_attachment_get_num_region_uvsPtr + .asFunction(); - ffi.Pointer spine_mesh_attachment_get_region_uvs( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_region_uvs( - attachment, - ); + ffi.Pointer spine_mesh_attachment_get_region_uvs(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_region_uvs(attachment); } late final _spine_mesh_attachment_get_region_uvsPtr = _lookup Function(spine_mesh_attachment)>>( - 'spine_mesh_attachment_get_region_uvs'); - late final _spine_mesh_attachment_get_region_uvs = - _spine_mesh_attachment_get_region_uvsPtr.asFunction Function(spine_mesh_attachment)>(); + 'spine_mesh_attachment_get_region_uvs', + ); + late final _spine_mesh_attachment_get_region_uvs = _spine_mesh_attachment_get_region_uvsPtr + .asFunction Function(spine_mesh_attachment)>(); - int spine_mesh_attachment_get_num_uvs( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_num_uvs( - attachment, - ); + int spine_mesh_attachment_get_num_uvs(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_num_uvs(attachment); } late final _spine_mesh_attachment_get_num_uvsPtr = _lookup>('spine_mesh_attachment_get_num_uvs'); - late final _spine_mesh_attachment_get_num_uvs = - _spine_mesh_attachment_get_num_uvsPtr.asFunction(); + late final _spine_mesh_attachment_get_num_uvs = _spine_mesh_attachment_get_num_uvsPtr + .asFunction(); - ffi.Pointer spine_mesh_attachment_get_uvs( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_uvs( - attachment, - ); + ffi.Pointer spine_mesh_attachment_get_uvs(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_uvs(attachment); } late final _spine_mesh_attachment_get_uvsPtr = _lookup Function(spine_mesh_attachment)>>( - 'spine_mesh_attachment_get_uvs'); - late final _spine_mesh_attachment_get_uvs = - _spine_mesh_attachment_get_uvsPtr.asFunction Function(spine_mesh_attachment)>(); + 'spine_mesh_attachment_get_uvs', + ); + late final _spine_mesh_attachment_get_uvs = _spine_mesh_attachment_get_uvsPtr + .asFunction Function(spine_mesh_attachment)>(); - int spine_mesh_attachment_get_num_triangles( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_num_triangles( - attachment, - ); + int spine_mesh_attachment_get_num_triangles(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_num_triangles(attachment); } late final _spine_mesh_attachment_get_num_trianglesPtr = _lookup>('spine_mesh_attachment_get_num_triangles'); - late final _spine_mesh_attachment_get_num_triangles = - _spine_mesh_attachment_get_num_trianglesPtr.asFunction(); + late final _spine_mesh_attachment_get_num_triangles = _spine_mesh_attachment_get_num_trianglesPtr + .asFunction(); - ffi.Pointer spine_mesh_attachment_get_triangles( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_triangles( - attachment, - ); + ffi.Pointer spine_mesh_attachment_get_triangles(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_triangles(attachment); } late final _spine_mesh_attachment_get_trianglesPtr = _lookup Function(spine_mesh_attachment)>>( - 'spine_mesh_attachment_get_triangles'); - late final _spine_mesh_attachment_get_triangles = - _spine_mesh_attachment_get_trianglesPtr.asFunction Function(spine_mesh_attachment)>(); + 'spine_mesh_attachment_get_triangles', + ); + late final _spine_mesh_attachment_get_triangles = _spine_mesh_attachment_get_trianglesPtr + .asFunction Function(spine_mesh_attachment)>(); - spine_color spine_mesh_attachment_get_color( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_color( - attachment, - ); + spine_color spine_mesh_attachment_get_color(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_color(attachment); } late final _spine_mesh_attachment_get_colorPtr = _lookup>('spine_mesh_attachment_get_color'); - late final _spine_mesh_attachment_get_color = - _spine_mesh_attachment_get_colorPtr.asFunction(); + late final _spine_mesh_attachment_get_color = _spine_mesh_attachment_get_colorPtr + .asFunction(); - void spine_mesh_attachment_set_color( - spine_mesh_attachment attachment, - double r, - double g, - double b, - double a, - ) { - return _spine_mesh_attachment_set_color( - attachment, - r, - g, - b, - a, - ); + void spine_mesh_attachment_set_color(spine_mesh_attachment attachment, double r, double g, double b, double a) { + return _spine_mesh_attachment_set_color(attachment, r, g, b, a); } late final _spine_mesh_attachment_set_colorPtr = _lookup>( - 'spine_mesh_attachment_set_color'); + 'spine_mesh_attachment_set_color', + ); late final _spine_mesh_attachment_set_color = _spine_mesh_attachment_set_colorPtr .asFunction(); - ffi.Pointer spine_mesh_attachment_get_path( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_path( - attachment, - ); + ffi.Pointer spine_mesh_attachment_get_path(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_path(attachment); } late final _spine_mesh_attachment_get_pathPtr = _lookup Function(spine_mesh_attachment)>>('spine_mesh_attachment_get_path'); - late final _spine_mesh_attachment_get_path = - _spine_mesh_attachment_get_pathPtr.asFunction Function(spine_mesh_attachment)>(); + late final _spine_mesh_attachment_get_path = _spine_mesh_attachment_get_pathPtr + .asFunction Function(spine_mesh_attachment)>(); /// OMITTED setPath() - spine_texture_region spine_mesh_attachment_get_region( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_region( - attachment, - ); + spine_texture_region spine_mesh_attachment_get_region(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_region(attachment); } late final _spine_mesh_attachment_get_regionPtr = _lookup>( - 'spine_mesh_attachment_get_region'); - late final _spine_mesh_attachment_get_region = - _spine_mesh_attachment_get_regionPtr.asFunction(); + 'spine_mesh_attachment_get_region', + ); + late final _spine_mesh_attachment_get_region = _spine_mesh_attachment_get_regionPtr + .asFunction(); /// OMITTED setRegion() - spine_sequence spine_mesh_attachment_get_sequence( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_sequence( - attachment, - ); + spine_sequence spine_mesh_attachment_get_sequence(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_sequence(attachment); } late final _spine_mesh_attachment_get_sequencePtr = _lookup>('spine_mesh_attachment_get_sequence'); - late final _spine_mesh_attachment_get_sequence = - _spine_mesh_attachment_get_sequencePtr.asFunction(); + late final _spine_mesh_attachment_get_sequence = _spine_mesh_attachment_get_sequencePtr + .asFunction(); /// OMITTED setSequence() - spine_mesh_attachment spine_mesh_attachment_get_parent_mesh( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_parent_mesh( - attachment, - ); + spine_mesh_attachment spine_mesh_attachment_get_parent_mesh(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_parent_mesh(attachment); } late final _spine_mesh_attachment_get_parent_meshPtr = _lookup>( - 'spine_mesh_attachment_get_parent_mesh'); - late final _spine_mesh_attachment_get_parent_mesh = - _spine_mesh_attachment_get_parent_meshPtr.asFunction(); + 'spine_mesh_attachment_get_parent_mesh', + ); + late final _spine_mesh_attachment_get_parent_mesh = _spine_mesh_attachment_get_parent_meshPtr + .asFunction(); - void spine_mesh_attachment_set_parent_mesh( - spine_mesh_attachment attachment, - spine_mesh_attachment parentMesh, - ) { - return _spine_mesh_attachment_set_parent_mesh( - attachment, - parentMesh, - ); + void spine_mesh_attachment_set_parent_mesh(spine_mesh_attachment attachment, spine_mesh_attachment parentMesh) { + return _spine_mesh_attachment_set_parent_mesh(attachment, parentMesh); } late final _spine_mesh_attachment_set_parent_meshPtr = _lookup>( - 'spine_mesh_attachment_set_parent_mesh'); + 'spine_mesh_attachment_set_parent_mesh', + ); late final _spine_mesh_attachment_set_parent_mesh = _spine_mesh_attachment_set_parent_meshPtr .asFunction(); - int spine_mesh_attachment_get_num_edges( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_num_edges( - attachment, - ); + int spine_mesh_attachment_get_num_edges(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_num_edges(attachment); } late final _spine_mesh_attachment_get_num_edgesPtr = _lookup>('spine_mesh_attachment_get_num_edges'); - late final _spine_mesh_attachment_get_num_edges = - _spine_mesh_attachment_get_num_edgesPtr.asFunction(); + late final _spine_mesh_attachment_get_num_edges = _spine_mesh_attachment_get_num_edgesPtr + .asFunction(); - ffi.Pointer spine_mesh_attachment_get_edges( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_edges( - attachment, - ); + ffi.Pointer spine_mesh_attachment_get_edges(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_edges(attachment); } late final _spine_mesh_attachment_get_edgesPtr = _lookup Function(spine_mesh_attachment)>>( - 'spine_mesh_attachment_get_edges'); - late final _spine_mesh_attachment_get_edges = - _spine_mesh_attachment_get_edgesPtr.asFunction Function(spine_mesh_attachment)>(); + 'spine_mesh_attachment_get_edges', + ); + late final _spine_mesh_attachment_get_edges = _spine_mesh_attachment_get_edgesPtr + .asFunction Function(spine_mesh_attachment)>(); - double spine_mesh_attachment_get_width( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_width( - attachment, - ); + double spine_mesh_attachment_get_width(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_width(attachment); } late final _spine_mesh_attachment_get_widthPtr = _lookup>('spine_mesh_attachment_get_width'); - late final _spine_mesh_attachment_get_width = - _spine_mesh_attachment_get_widthPtr.asFunction(); + late final _spine_mesh_attachment_get_width = _spine_mesh_attachment_get_widthPtr + .asFunction(); - void spine_mesh_attachment_set_width( - spine_mesh_attachment attachment, - double width, - ) { - return _spine_mesh_attachment_set_width( - attachment, - width, - ); + void spine_mesh_attachment_set_width(spine_mesh_attachment attachment, double width) { + return _spine_mesh_attachment_set_width(attachment, width); } late final _spine_mesh_attachment_set_widthPtr = _lookup>( - 'spine_mesh_attachment_set_width'); - late final _spine_mesh_attachment_set_width = - _spine_mesh_attachment_set_widthPtr.asFunction(); + 'spine_mesh_attachment_set_width', + ); + late final _spine_mesh_attachment_set_width = _spine_mesh_attachment_set_widthPtr + .asFunction(); - double spine_mesh_attachment_get_height( - spine_mesh_attachment attachment, - ) { - return _spine_mesh_attachment_get_height( - attachment, - ); + double spine_mesh_attachment_get_height(spine_mesh_attachment attachment) { + return _spine_mesh_attachment_get_height(attachment); } late final _spine_mesh_attachment_get_heightPtr = _lookup>('spine_mesh_attachment_get_height'); - late final _spine_mesh_attachment_get_height = - _spine_mesh_attachment_get_heightPtr.asFunction(); + late final _spine_mesh_attachment_get_height = _spine_mesh_attachment_get_heightPtr + .asFunction(); - void spine_mesh_attachment_set_height( - spine_mesh_attachment attachment, - double height, - ) { - return _spine_mesh_attachment_set_height( - attachment, - height, - ); + void spine_mesh_attachment_set_height(spine_mesh_attachment attachment, double height) { + return _spine_mesh_attachment_set_height(attachment, height); } late final _spine_mesh_attachment_set_heightPtr = _lookup>( - 'spine_mesh_attachment_set_height'); - late final _spine_mesh_attachment_set_height = - _spine_mesh_attachment_set_heightPtr.asFunction(); + 'spine_mesh_attachment_set_height', + ); + late final _spine_mesh_attachment_set_height = _spine_mesh_attachment_set_heightPtr + .asFunction(); /// OMITTED newLinkedMesh() - spine_slot_data spine_clipping_attachment_get_end_slot( - spine_clipping_attachment attachment, - ) { - return _spine_clipping_attachment_get_end_slot( - attachment, - ); + spine_slot_data spine_clipping_attachment_get_end_slot(spine_clipping_attachment attachment) { + return _spine_clipping_attachment_get_end_slot(attachment); } late final _spine_clipping_attachment_get_end_slotPtr = _lookup>( - 'spine_clipping_attachment_get_end_slot'); - late final _spine_clipping_attachment_get_end_slot = - _spine_clipping_attachment_get_end_slotPtr.asFunction(); + 'spine_clipping_attachment_get_end_slot', + ); + late final _spine_clipping_attachment_get_end_slot = _spine_clipping_attachment_get_end_slotPtr + .asFunction(); - void spine_clipping_attachment_set_end_slot( - spine_clipping_attachment attachment, - spine_slot_data endSlot, - ) { - return _spine_clipping_attachment_set_end_slot( - attachment, - endSlot, - ); + void spine_clipping_attachment_set_end_slot(spine_clipping_attachment attachment, spine_slot_data endSlot) { + return _spine_clipping_attachment_set_end_slot(attachment, endSlot); } late final _spine_clipping_attachment_set_end_slotPtr = _lookup>( - 'spine_clipping_attachment_set_end_slot'); + 'spine_clipping_attachment_set_end_slot', + ); late final _spine_clipping_attachment_set_end_slot = _spine_clipping_attachment_set_end_slotPtr .asFunction(); - spine_color spine_clipping_attachment_get_color( - spine_clipping_attachment attachment, - ) { - return _spine_clipping_attachment_get_color( - attachment, - ); + spine_color spine_clipping_attachment_get_color(spine_clipping_attachment attachment) { + return _spine_clipping_attachment_get_color(attachment); } late final _spine_clipping_attachment_get_colorPtr = _lookup>( - 'spine_clipping_attachment_get_color'); - late final _spine_clipping_attachment_get_color = - _spine_clipping_attachment_get_colorPtr.asFunction(); + 'spine_clipping_attachment_get_color', + ); + late final _spine_clipping_attachment_get_color = _spine_clipping_attachment_get_colorPtr + .asFunction(); void spine_clipping_attachment_set_color( spine_clipping_attachment attachment, @@ -6195,34 +4422,26 @@ class SpineFlutterBindings { double b, double a, ) { - return _spine_clipping_attachment_set_color( - attachment, - r, - g, - b, - a, - ); + return _spine_clipping_attachment_set_color(attachment, r, g, b, a); } - late final _spine_clipping_attachment_set_colorPtr = _lookup< - ffi.NativeFunction>( - 'spine_clipping_attachment_set_color'); + late final _spine_clipping_attachment_set_colorPtr = + _lookup< + ffi.NativeFunction + >('spine_clipping_attachment_set_color'); late final _spine_clipping_attachment_set_color = _spine_clipping_attachment_set_colorPtr .asFunction(); - spine_color spine_bounding_box_attachment_get_color( - spine_bounding_box_attachment attachment, - ) { - return _spine_bounding_box_attachment_get_color( - attachment, - ); + spine_color spine_bounding_box_attachment_get_color(spine_bounding_box_attachment attachment) { + return _spine_bounding_box_attachment_get_color(attachment); } late final _spine_bounding_box_attachment_get_colorPtr = _lookup>( - 'spine_bounding_box_attachment_get_color'); - late final _spine_bounding_box_attachment_get_color = - _spine_bounding_box_attachment_get_colorPtr.asFunction(); + 'spine_bounding_box_attachment_get_color', + ); + late final _spine_bounding_box_attachment_get_color = _spine_bounding_box_attachment_get_colorPtr + .asFunction(); void spine_bounding_box_attachment_set_color( spine_bounding_box_attachment attachment, @@ -6231,1250 +4450,893 @@ class SpineFlutterBindings { double b, double a, ) { - return _spine_bounding_box_attachment_set_color( - attachment, - r, - g, - b, - a, - ); + return _spine_bounding_box_attachment_set_color(attachment, r, g, b, a); } - late final _spine_bounding_box_attachment_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_bounding_box_attachment, ffi.Float, ffi.Float, ffi.Float, - ffi.Float)>>('spine_bounding_box_attachment_set_color'); + late final _spine_bounding_box_attachment_set_colorPtr = + _lookup< + ffi.NativeFunction + >('spine_bounding_box_attachment_set_color'); late final _spine_bounding_box_attachment_set_color = _spine_bounding_box_attachment_set_colorPtr .asFunction(); - int spine_path_attachment_get_num_lengths( - spine_path_attachment attachment, - ) { - return _spine_path_attachment_get_num_lengths( - attachment, - ); + int spine_path_attachment_get_num_lengths(spine_path_attachment attachment) { + return _spine_path_attachment_get_num_lengths(attachment); } late final _spine_path_attachment_get_num_lengthsPtr = _lookup>('spine_path_attachment_get_num_lengths'); - late final _spine_path_attachment_get_num_lengths = - _spine_path_attachment_get_num_lengthsPtr.asFunction(); + late final _spine_path_attachment_get_num_lengths = _spine_path_attachment_get_num_lengthsPtr + .asFunction(); - ffi.Pointer spine_path_attachment_get_lengths( - spine_path_attachment attachment, - ) { - return _spine_path_attachment_get_lengths( - attachment, - ); + ffi.Pointer spine_path_attachment_get_lengths(spine_path_attachment attachment) { + return _spine_path_attachment_get_lengths(attachment); } late final _spine_path_attachment_get_lengthsPtr = _lookup Function(spine_path_attachment)>>( - 'spine_path_attachment_get_lengths'); - late final _spine_path_attachment_get_lengths = - _spine_path_attachment_get_lengthsPtr.asFunction Function(spine_path_attachment)>(); + 'spine_path_attachment_get_lengths', + ); + late final _spine_path_attachment_get_lengths = _spine_path_attachment_get_lengthsPtr + .asFunction Function(spine_path_attachment)>(); - int spine_path_attachment_get_is_closed( - spine_path_attachment attachment, - ) { - return _spine_path_attachment_get_is_closed( - attachment, - ); + int spine_path_attachment_get_is_closed(spine_path_attachment attachment) { + return _spine_path_attachment_get_is_closed(attachment); } late final _spine_path_attachment_get_is_closedPtr = _lookup>('spine_path_attachment_get_is_closed'); - late final _spine_path_attachment_get_is_closed = - _spine_path_attachment_get_is_closedPtr.asFunction(); + late final _spine_path_attachment_get_is_closed = _spine_path_attachment_get_is_closedPtr + .asFunction(); - void spine_path_attachment_set_is_closed( - spine_path_attachment attachment, - int isClosed, - ) { - return _spine_path_attachment_set_is_closed( - attachment, - isClosed, - ); + void spine_path_attachment_set_is_closed(spine_path_attachment attachment, int isClosed) { + return _spine_path_attachment_set_is_closed(attachment, isClosed); } late final _spine_path_attachment_set_is_closedPtr = _lookup>( - 'spine_path_attachment_set_is_closed'); - late final _spine_path_attachment_set_is_closed = - _spine_path_attachment_set_is_closedPtr.asFunction(); + 'spine_path_attachment_set_is_closed', + ); + late final _spine_path_attachment_set_is_closed = _spine_path_attachment_set_is_closedPtr + .asFunction(); - int spine_path_attachment_get_is_constant_speed( - spine_path_attachment attachment, - ) { - return _spine_path_attachment_get_is_constant_speed( - attachment, - ); + int spine_path_attachment_get_is_constant_speed(spine_path_attachment attachment) { + return _spine_path_attachment_get_is_constant_speed(attachment); } late final _spine_path_attachment_get_is_constant_speedPtr = _lookup>( - 'spine_path_attachment_get_is_constant_speed'); - late final _spine_path_attachment_get_is_constant_speed = - _spine_path_attachment_get_is_constant_speedPtr.asFunction(); + 'spine_path_attachment_get_is_constant_speed', + ); + late final _spine_path_attachment_get_is_constant_speed = _spine_path_attachment_get_is_constant_speedPtr + .asFunction(); - void spine_path_attachment_set_is_constant_speed( - spine_path_attachment attachment, - int isConstantSpeed, - ) { - return _spine_path_attachment_set_is_constant_speed( - attachment, - isConstantSpeed, - ); + void spine_path_attachment_set_is_constant_speed(spine_path_attachment attachment, int isConstantSpeed) { + return _spine_path_attachment_set_is_constant_speed(attachment, isConstantSpeed); } late final _spine_path_attachment_set_is_constant_speedPtr = _lookup>( - 'spine_path_attachment_set_is_constant_speed'); - late final _spine_path_attachment_set_is_constant_speed = - _spine_path_attachment_set_is_constant_speedPtr.asFunction(); + 'spine_path_attachment_set_is_constant_speed', + ); + late final _spine_path_attachment_set_is_constant_speed = _spine_path_attachment_set_is_constant_speedPtr + .asFunction(); - spine_color spine_path_attachment_get_color( - spine_path_attachment attachment, - ) { - return _spine_path_attachment_get_color( - attachment, - ); + spine_color spine_path_attachment_get_color(spine_path_attachment attachment) { + return _spine_path_attachment_get_color(attachment); } late final _spine_path_attachment_get_colorPtr = _lookup>('spine_path_attachment_get_color'); - late final _spine_path_attachment_get_color = - _spine_path_attachment_get_colorPtr.asFunction(); + late final _spine_path_attachment_get_color = _spine_path_attachment_get_colorPtr + .asFunction(); - void spine_path_attachment_set_color( - spine_path_attachment attachment, - double r, - double g, - double b, - double a, - ) { - return _spine_path_attachment_set_color( - attachment, - r, - g, - b, - a, - ); + void spine_path_attachment_set_color(spine_path_attachment attachment, double r, double g, double b, double a) { + return _spine_path_attachment_set_color(attachment, r, g, b, a); } late final _spine_path_attachment_set_colorPtr = _lookup>( - 'spine_path_attachment_set_color'); + 'spine_path_attachment_set_color', + ); late final _spine_path_attachment_set_color = _spine_path_attachment_set_colorPtr .asFunction(); - void spine_skin_set_attachment( - spine_skin skin, - int slotIndex, - ffi.Pointer name, - spine_attachment attachment, - ) { - return _spine_skin_set_attachment( - skin, - slotIndex, - name, - attachment, - ); + void spine_skin_set_attachment(spine_skin skin, int slotIndex, ffi.Pointer name, spine_attachment attachment) { + return _spine_skin_set_attachment(skin, slotIndex, name, attachment); } late final _spine_skin_set_attachmentPtr = _lookup, spine_attachment)>>( - 'spine_skin_set_attachment'); - late final _spine_skin_set_attachment = - _spine_skin_set_attachmentPtr.asFunction, spine_attachment)>(); + 'spine_skin_set_attachment', + ); + late final _spine_skin_set_attachment = _spine_skin_set_attachmentPtr + .asFunction, spine_attachment)>(); - spine_attachment spine_skin_get_attachment( - spine_skin skin, - int slotIndex, - ffi.Pointer name, - ) { - return _spine_skin_get_attachment( - skin, - slotIndex, - name, - ); + spine_attachment spine_skin_get_attachment(spine_skin skin, int slotIndex, ffi.Pointer name) { + return _spine_skin_get_attachment(skin, slotIndex, name); } late final _spine_skin_get_attachmentPtr = _lookup)>>( - 'spine_skin_get_attachment'); - late final _spine_skin_get_attachment = - _spine_skin_get_attachmentPtr.asFunction)>(); + 'spine_skin_get_attachment', + ); + late final _spine_skin_get_attachment = _spine_skin_get_attachmentPtr + .asFunction)>(); - void spine_skin_remove_attachment( - spine_skin skin, - int slotIndex, - ffi.Pointer name, - ) { - return _spine_skin_remove_attachment( - skin, - slotIndex, - name, - ); + void spine_skin_remove_attachment(spine_skin skin, int slotIndex, ffi.Pointer name) { + return _spine_skin_remove_attachment(skin, slotIndex, name); } late final _spine_skin_remove_attachmentPtr = _lookup)>>( - 'spine_skin_remove_attachment'); - late final _spine_skin_remove_attachment = - _spine_skin_remove_attachmentPtr.asFunction)>(); + 'spine_skin_remove_attachment', + ); + late final _spine_skin_remove_attachment = _spine_skin_remove_attachmentPtr + .asFunction)>(); /// OMITTED findNamesForSlot() /// OMITTED findAttachmentsForSlot() /// OMITTED getColor() - ffi.Pointer spine_skin_get_name( - spine_skin skin, - ) { - return _spine_skin_get_name( - skin, - ); + ffi.Pointer spine_skin_get_name(spine_skin skin) { + return _spine_skin_get_name(skin); } - late final _spine_skin_get_namePtr = - _lookup Function(spine_skin)>>('spine_skin_get_name'); + late final _spine_skin_get_namePtr = _lookup Function(spine_skin)>>( + 'spine_skin_get_name', + ); late final _spine_skin_get_name = _spine_skin_get_namePtr.asFunction Function(spine_skin)>(); - void spine_skin_add_skin( - spine_skin skin, - spine_skin other, - ) { - return _spine_skin_add_skin( - skin, - other, - ); + void spine_skin_add_skin(spine_skin skin, spine_skin other) { + return _spine_skin_add_skin(skin, other); } - late final _spine_skin_add_skinPtr = - _lookup>('spine_skin_add_skin'); + late final _spine_skin_add_skinPtr = _lookup>( + 'spine_skin_add_skin', + ); late final _spine_skin_add_skin = _spine_skin_add_skinPtr.asFunction(); - void spine_skin_copy_skin( - spine_skin skin, - spine_skin other, - ) { - return _spine_skin_copy_skin( - skin, - other, - ); + void spine_skin_copy_skin(spine_skin skin, spine_skin other) { + return _spine_skin_copy_skin(skin, other); } - late final _spine_skin_copy_skinPtr = - _lookup>('spine_skin_copy_skin'); + late final _spine_skin_copy_skinPtr = _lookup>( + 'spine_skin_copy_skin', + ); late final _spine_skin_copy_skin = _spine_skin_copy_skinPtr.asFunction(); - spine_skin_entries spine_skin_get_entries( - spine_skin skin, - ) { - return _spine_skin_get_entries( - skin, - ); + spine_skin_entries spine_skin_get_entries(spine_skin skin) { + return _spine_skin_get_entries(skin); } - late final _spine_skin_get_entriesPtr = - _lookup>('spine_skin_get_entries'); + late final _spine_skin_get_entriesPtr = _lookup>( + 'spine_skin_get_entries', + ); late final _spine_skin_get_entries = _spine_skin_get_entriesPtr.asFunction(); - int spine_skin_entries_get_num_entries( - spine_skin_entries entries, - ) { - return _spine_skin_entries_get_num_entries( - entries, - ); + int spine_skin_entries_get_num_entries(spine_skin_entries entries) { + return _spine_skin_entries_get_num_entries(entries); } late final _spine_skin_entries_get_num_entriesPtr = _lookup>('spine_skin_entries_get_num_entries'); - late final _spine_skin_entries_get_num_entries = - _spine_skin_entries_get_num_entriesPtr.asFunction(); + late final _spine_skin_entries_get_num_entries = _spine_skin_entries_get_num_entriesPtr + .asFunction(); - spine_skin_entry spine_skin_entries_get_entry( - spine_skin_entries entries, - int index, - ) { - return _spine_skin_entries_get_entry( - entries, - index, - ); + spine_skin_entry spine_skin_entries_get_entry(spine_skin_entries entries, int index) { + return _spine_skin_entries_get_entry(entries, index); } late final _spine_skin_entries_get_entryPtr = _lookup>( - 'spine_skin_entries_get_entry'); - late final _spine_skin_entries_get_entry = - _spine_skin_entries_get_entryPtr.asFunction(); + 'spine_skin_entries_get_entry', + ); + late final _spine_skin_entries_get_entry = _spine_skin_entries_get_entryPtr + .asFunction(); - void spine_skin_entries_dispose( - spine_skin_entries entries, - ) { - return _spine_skin_entries_dispose( - entries, - ); + void spine_skin_entries_dispose(spine_skin_entries entries) { + return _spine_skin_entries_dispose(entries); } - late final _spine_skin_entries_disposePtr = - _lookup>('spine_skin_entries_dispose'); - late final _spine_skin_entries_dispose = - _spine_skin_entries_disposePtr.asFunction(); + late final _spine_skin_entries_disposePtr = _lookup>( + 'spine_skin_entries_dispose', + ); + late final _spine_skin_entries_dispose = _spine_skin_entries_disposePtr + .asFunction(); - int spine_skin_entry_get_slot_index( - spine_skin_entry entry, - ) { - return _spine_skin_entry_get_slot_index( - entry, - ); + int spine_skin_entry_get_slot_index(spine_skin_entry entry) { + return _spine_skin_entry_get_slot_index(entry); } - late final _spine_skin_entry_get_slot_indexPtr = - _lookup>('spine_skin_entry_get_slot_index'); - late final _spine_skin_entry_get_slot_index = - _spine_skin_entry_get_slot_indexPtr.asFunction(); + late final _spine_skin_entry_get_slot_indexPtr = _lookup>( + 'spine_skin_entry_get_slot_index', + ); + late final _spine_skin_entry_get_slot_index = _spine_skin_entry_get_slot_indexPtr + .asFunction(); - ffi.Pointer spine_skin_entry_get_name( - spine_skin_entry entry, - ) { - return _spine_skin_entry_get_name( - entry, - ); + ffi.Pointer spine_skin_entry_get_name(spine_skin_entry entry) { + return _spine_skin_entry_get_name(entry); } - late final _spine_skin_entry_get_namePtr = - _lookup Function(spine_skin_entry)>>('spine_skin_entry_get_name'); - late final _spine_skin_entry_get_name = - _spine_skin_entry_get_namePtr.asFunction Function(spine_skin_entry)>(); + late final _spine_skin_entry_get_namePtr = _lookup Function(spine_skin_entry)>>( + 'spine_skin_entry_get_name', + ); + late final _spine_skin_entry_get_name = _spine_skin_entry_get_namePtr + .asFunction Function(spine_skin_entry)>(); - spine_attachment spine_skin_entry_get_attachment( - spine_skin_entry entry, - ) { - return _spine_skin_entry_get_attachment( - entry, - ); + spine_attachment spine_skin_entry_get_attachment(spine_skin_entry entry) { + return _spine_skin_entry_get_attachment(entry); } late final _spine_skin_entry_get_attachmentPtr = _lookup>('spine_skin_entry_get_attachment'); - late final _spine_skin_entry_get_attachment = - _spine_skin_entry_get_attachmentPtr.asFunction(); + late final _spine_skin_entry_get_attachment = _spine_skin_entry_get_attachmentPtr + .asFunction(); - int spine_skin_get_num_bones( - spine_skin skin, - ) { - return _spine_skin_get_num_bones( - skin, - ); + int spine_skin_get_num_bones(spine_skin skin) { + return _spine_skin_get_num_bones(skin); } - late final _spine_skin_get_num_bonesPtr = - _lookup>('spine_skin_get_num_bones'); + late final _spine_skin_get_num_bonesPtr = _lookup>( + 'spine_skin_get_num_bones', + ); late final _spine_skin_get_num_bones = _spine_skin_get_num_bonesPtr.asFunction(); - ffi.Pointer spine_skin_get_bones( - spine_skin skin, - ) { - return _spine_skin_get_bones( - skin, - ); + ffi.Pointer spine_skin_get_bones(spine_skin skin) { + return _spine_skin_get_bones(skin); } - late final _spine_skin_get_bonesPtr = - _lookup Function(spine_skin)>>('spine_skin_get_bones'); - late final _spine_skin_get_bones = - _spine_skin_get_bonesPtr.asFunction Function(spine_skin)>(); + late final _spine_skin_get_bonesPtr = _lookup Function(spine_skin)>>( + 'spine_skin_get_bones', + ); + late final _spine_skin_get_bones = _spine_skin_get_bonesPtr + .asFunction Function(spine_skin)>(); - int spine_skin_get_num_constraints( - spine_skin skin, - ) { - return _spine_skin_get_num_constraints( - skin, - ); + int spine_skin_get_num_constraints(spine_skin skin) { + return _spine_skin_get_num_constraints(skin); } - late final _spine_skin_get_num_constraintsPtr = - _lookup>('spine_skin_get_num_constraints'); - late final _spine_skin_get_num_constraints = - _spine_skin_get_num_constraintsPtr.asFunction(); + late final _spine_skin_get_num_constraintsPtr = _lookup>( + 'spine_skin_get_num_constraints', + ); + late final _spine_skin_get_num_constraints = _spine_skin_get_num_constraintsPtr + .asFunction(); - ffi.Pointer spine_skin_get_constraints( - spine_skin skin, - ) { - return _spine_skin_get_constraints( - skin, - ); + ffi.Pointer spine_skin_get_constraints(spine_skin skin) { + return _spine_skin_get_constraints(skin); } late final _spine_skin_get_constraintsPtr = _lookup Function(spine_skin)>>( - 'spine_skin_get_constraints'); - late final _spine_skin_get_constraints = - _spine_skin_get_constraintsPtr.asFunction Function(spine_skin)>(); + 'spine_skin_get_constraints', + ); + late final _spine_skin_get_constraints = _spine_skin_get_constraintsPtr + .asFunction Function(spine_skin)>(); - spine_skin spine_skin_create( - ffi.Pointer name, - ) { - return _spine_skin_create( - name, - ); + spine_skin spine_skin_create(ffi.Pointer name) { + return _spine_skin_create(name); } - late final _spine_skin_createPtr = - _lookup)>>('spine_skin_create'); + late final _spine_skin_createPtr = _lookup)>>( + 'spine_skin_create', + ); late final _spine_skin_create = _spine_skin_createPtr.asFunction)>(); - void spine_skin_dispose( - spine_skin skin, - ) { - return _spine_skin_dispose( - skin, - ); + void spine_skin_dispose(spine_skin skin) { + return _spine_skin_dispose(skin); } late final _spine_skin_disposePtr = _lookup>('spine_skin_dispose'); late final _spine_skin_dispose = _spine_skin_disposePtr.asFunction(); - int spine_constraint_data_get_type( - spine_constraint_data data, - ) { - return _spine_constraint_data_get_type( - data, - ); + int spine_constraint_data_get_type(spine_constraint_data data) { + return _spine_constraint_data_get_type(data); } late final _spine_constraint_data_get_typePtr = _lookup>('spine_constraint_data_get_type'); - late final _spine_constraint_data_get_type = - _spine_constraint_data_get_typePtr.asFunction(); + late final _spine_constraint_data_get_type = _spine_constraint_data_get_typePtr + .asFunction(); - ffi.Pointer spine_constraint_data_get_name( - spine_constraint_data data, - ) { - return _spine_constraint_data_get_name( - data, - ); + ffi.Pointer spine_constraint_data_get_name(spine_constraint_data data) { + return _spine_constraint_data_get_name(data); } late final _spine_constraint_data_get_namePtr = _lookup Function(spine_constraint_data)>>('spine_constraint_data_get_name'); - late final _spine_constraint_data_get_name = - _spine_constraint_data_get_namePtr.asFunction Function(spine_constraint_data)>(); + late final _spine_constraint_data_get_name = _spine_constraint_data_get_namePtr + .asFunction Function(spine_constraint_data)>(); - int spine_constraint_data_get_order( - spine_constraint_data data, - ) { - return _spine_constraint_data_get_order( - data, - ); + int spine_constraint_data_get_order(spine_constraint_data data) { + return _spine_constraint_data_get_order(data); } late final _spine_constraint_data_get_orderPtr = _lookup>('spine_constraint_data_get_order'); - late final _spine_constraint_data_get_order = - _spine_constraint_data_get_orderPtr.asFunction(); + late final _spine_constraint_data_get_order = _spine_constraint_data_get_orderPtr + .asFunction(); - void spine_constraint_data_set_order( - spine_constraint_data data, - int order, - ) { - return _spine_constraint_data_set_order( - data, - order, - ); + void spine_constraint_data_set_order(spine_constraint_data data, int order) { + return _spine_constraint_data_set_order(data, order); } late final _spine_constraint_data_set_orderPtr = _lookup>( - 'spine_constraint_data_set_order'); - late final _spine_constraint_data_set_order = - _spine_constraint_data_set_orderPtr.asFunction(); + 'spine_constraint_data_set_order', + ); + late final _spine_constraint_data_set_order = _spine_constraint_data_set_orderPtr + .asFunction(); - int spine_constraint_data_get_is_skin_required( - spine_constraint_data data, - ) { - return _spine_constraint_data_get_is_skin_required( - data, - ); + int spine_constraint_data_get_is_skin_required(spine_constraint_data data) { + return _spine_constraint_data_get_is_skin_required(data); } late final _spine_constraint_data_get_is_skin_requiredPtr = _lookup>( - 'spine_constraint_data_get_is_skin_required'); - late final _spine_constraint_data_get_is_skin_required = - _spine_constraint_data_get_is_skin_requiredPtr.asFunction(); + 'spine_constraint_data_get_is_skin_required', + ); + late final _spine_constraint_data_get_is_skin_required = _spine_constraint_data_get_is_skin_requiredPtr + .asFunction(); - void spine_constraint_data_set_is_skin_required( - spine_constraint_data data, - int isSkinRequired, - ) { - return _spine_constraint_data_set_is_skin_required( - data, - isSkinRequired, - ); + void spine_constraint_data_set_is_skin_required(spine_constraint_data data, int isSkinRequired) { + return _spine_constraint_data_set_is_skin_required(data, isSkinRequired); } late final _spine_constraint_data_set_is_skin_requiredPtr = _lookup>( - 'spine_constraint_data_set_is_skin_required'); - late final _spine_constraint_data_set_is_skin_required = - _spine_constraint_data_set_is_skin_requiredPtr.asFunction(); + 'spine_constraint_data_set_is_skin_required', + ); + late final _spine_constraint_data_set_is_skin_required = _spine_constraint_data_set_is_skin_requiredPtr + .asFunction(); - int spine_ik_constraint_data_get_num_bones( - spine_ik_constraint_data data, - ) { - return _spine_ik_constraint_data_get_num_bones( - data, - ); + int spine_ik_constraint_data_get_num_bones(spine_ik_constraint_data data) { + return _spine_ik_constraint_data_get_num_bones(data); } late final _spine_ik_constraint_data_get_num_bonesPtr = _lookup>( - 'spine_ik_constraint_data_get_num_bones'); - late final _spine_ik_constraint_data_get_num_bones = - _spine_ik_constraint_data_get_num_bonesPtr.asFunction(); + 'spine_ik_constraint_data_get_num_bones', + ); + late final _spine_ik_constraint_data_get_num_bones = _spine_ik_constraint_data_get_num_bonesPtr + .asFunction(); - ffi.Pointer spine_ik_constraint_data_get_bones( - spine_ik_constraint_data data, - ) { - return _spine_ik_constraint_data_get_bones( - data, - ); + ffi.Pointer spine_ik_constraint_data_get_bones(spine_ik_constraint_data data) { + return _spine_ik_constraint_data_get_bones(data); } late final _spine_ik_constraint_data_get_bonesPtr = _lookup Function(spine_ik_constraint_data)>>( - 'spine_ik_constraint_data_get_bones'); + 'spine_ik_constraint_data_get_bones', + ); late final _spine_ik_constraint_data_get_bones = _spine_ik_constraint_data_get_bonesPtr .asFunction Function(spine_ik_constraint_data)>(); - spine_bone_data spine_ik_constraint_data_get_target( - spine_ik_constraint_data data, - ) { - return _spine_ik_constraint_data_get_target( - data, - ); + spine_bone_data spine_ik_constraint_data_get_target(spine_ik_constraint_data data) { + return _spine_ik_constraint_data_get_target(data); } late final _spine_ik_constraint_data_get_targetPtr = _lookup>( - 'spine_ik_constraint_data_get_target'); - late final _spine_ik_constraint_data_get_target = - _spine_ik_constraint_data_get_targetPtr.asFunction(); + 'spine_ik_constraint_data_get_target', + ); + late final _spine_ik_constraint_data_get_target = _spine_ik_constraint_data_get_targetPtr + .asFunction(); - void spine_ik_constraint_data_set_target( - spine_ik_constraint_data data, - spine_bone_data target, - ) { - return _spine_ik_constraint_data_set_target( - data, - target, - ); + void spine_ik_constraint_data_set_target(spine_ik_constraint_data data, spine_bone_data target) { + return _spine_ik_constraint_data_set_target(data, target); } late final _spine_ik_constraint_data_set_targetPtr = _lookup>( - 'spine_ik_constraint_data_set_target'); - late final _spine_ik_constraint_data_set_target = - _spine_ik_constraint_data_set_targetPtr.asFunction(); + 'spine_ik_constraint_data_set_target', + ); + late final _spine_ik_constraint_data_set_target = _spine_ik_constraint_data_set_targetPtr + .asFunction(); - int spine_ik_constraint_data_get_bend_direction( - spine_ik_constraint_data data, - ) { - return _spine_ik_constraint_data_get_bend_direction( - data, - ); + int spine_ik_constraint_data_get_bend_direction(spine_ik_constraint_data data) { + return _spine_ik_constraint_data_get_bend_direction(data); } late final _spine_ik_constraint_data_get_bend_directionPtr = _lookup>( - 'spine_ik_constraint_data_get_bend_direction'); - late final _spine_ik_constraint_data_get_bend_direction = - _spine_ik_constraint_data_get_bend_directionPtr.asFunction(); + 'spine_ik_constraint_data_get_bend_direction', + ); + late final _spine_ik_constraint_data_get_bend_direction = _spine_ik_constraint_data_get_bend_directionPtr + .asFunction(); - void spine_ik_constraint_data_set_bend_direction( - spine_ik_constraint_data data, - int bendDirection, - ) { - return _spine_ik_constraint_data_set_bend_direction( - data, - bendDirection, - ); + void spine_ik_constraint_data_set_bend_direction(spine_ik_constraint_data data, int bendDirection) { + return _spine_ik_constraint_data_set_bend_direction(data, bendDirection); } late final _spine_ik_constraint_data_set_bend_directionPtr = _lookup>( - 'spine_ik_constraint_data_set_bend_direction'); - late final _spine_ik_constraint_data_set_bend_direction = - _spine_ik_constraint_data_set_bend_directionPtr.asFunction(); + 'spine_ik_constraint_data_set_bend_direction', + ); + late final _spine_ik_constraint_data_set_bend_direction = _spine_ik_constraint_data_set_bend_directionPtr + .asFunction(); - int spine_ik_constraint_data_get_compress( - spine_ik_constraint_data data, - ) { - return _spine_ik_constraint_data_get_compress( - data, - ); + int spine_ik_constraint_data_get_compress(spine_ik_constraint_data data) { + return _spine_ik_constraint_data_get_compress(data); } late final _spine_ik_constraint_data_get_compressPtr = _lookup>( - 'spine_ik_constraint_data_get_compress'); - late final _spine_ik_constraint_data_get_compress = - _spine_ik_constraint_data_get_compressPtr.asFunction(); + 'spine_ik_constraint_data_get_compress', + ); + late final _spine_ik_constraint_data_get_compress = _spine_ik_constraint_data_get_compressPtr + .asFunction(); - void spine_ik_constraint_data_set_compress( - spine_ik_constraint_data data, - int compress, - ) { - return _spine_ik_constraint_data_set_compress( - data, - compress, - ); + void spine_ik_constraint_data_set_compress(spine_ik_constraint_data data, int compress) { + return _spine_ik_constraint_data_set_compress(data, compress); } late final _spine_ik_constraint_data_set_compressPtr = _lookup>( - 'spine_ik_constraint_data_set_compress'); - late final _spine_ik_constraint_data_set_compress = - _spine_ik_constraint_data_set_compressPtr.asFunction(); + 'spine_ik_constraint_data_set_compress', + ); + late final _spine_ik_constraint_data_set_compress = _spine_ik_constraint_data_set_compressPtr + .asFunction(); - int spine_ik_constraint_data_get_stretch( - spine_ik_constraint_data data, - ) { - return _spine_ik_constraint_data_get_stretch( - data, - ); + int spine_ik_constraint_data_get_stretch(spine_ik_constraint_data data) { + return _spine_ik_constraint_data_get_stretch(data); } late final _spine_ik_constraint_data_get_stretchPtr = _lookup>( - 'spine_ik_constraint_data_get_stretch'); - late final _spine_ik_constraint_data_get_stretch = - _spine_ik_constraint_data_get_stretchPtr.asFunction(); + 'spine_ik_constraint_data_get_stretch', + ); + late final _spine_ik_constraint_data_get_stretch = _spine_ik_constraint_data_get_stretchPtr + .asFunction(); - void spine_ik_constraint_data_set_stretch( - spine_ik_constraint_data data, - int stretch, - ) { - return _spine_ik_constraint_data_set_stretch( - data, - stretch, - ); + void spine_ik_constraint_data_set_stretch(spine_ik_constraint_data data, int stretch) { + return _spine_ik_constraint_data_set_stretch(data, stretch); } late final _spine_ik_constraint_data_set_stretchPtr = _lookup>( - 'spine_ik_constraint_data_set_stretch'); - late final _spine_ik_constraint_data_set_stretch = - _spine_ik_constraint_data_set_stretchPtr.asFunction(); + 'spine_ik_constraint_data_set_stretch', + ); + late final _spine_ik_constraint_data_set_stretch = _spine_ik_constraint_data_set_stretchPtr + .asFunction(); - int spine_ik_constraint_data_get_uniform( - spine_ik_constraint_data data, - ) { - return _spine_ik_constraint_data_get_uniform( - data, - ); + int spine_ik_constraint_data_get_uniform(spine_ik_constraint_data data) { + return _spine_ik_constraint_data_get_uniform(data); } late final _spine_ik_constraint_data_get_uniformPtr = _lookup>( - 'spine_ik_constraint_data_get_uniform'); - late final _spine_ik_constraint_data_get_uniform = - _spine_ik_constraint_data_get_uniformPtr.asFunction(); + 'spine_ik_constraint_data_get_uniform', + ); + late final _spine_ik_constraint_data_get_uniform = _spine_ik_constraint_data_get_uniformPtr + .asFunction(); - void spine_ik_constraint_data_set_uniform( - spine_ik_constraint_data data, - int uniform, - ) { - return _spine_ik_constraint_data_set_uniform( - data, - uniform, - ); + void spine_ik_constraint_data_set_uniform(spine_ik_constraint_data data, int uniform) { + return _spine_ik_constraint_data_set_uniform(data, uniform); } late final _spine_ik_constraint_data_set_uniformPtr = _lookup>( - 'spine_ik_constraint_data_set_uniform'); - late final _spine_ik_constraint_data_set_uniform = - _spine_ik_constraint_data_set_uniformPtr.asFunction(); + 'spine_ik_constraint_data_set_uniform', + ); + late final _spine_ik_constraint_data_set_uniform = _spine_ik_constraint_data_set_uniformPtr + .asFunction(); - double spine_ik_constraint_data_get_mix( - spine_ik_constraint_data data, - ) { - return _spine_ik_constraint_data_get_mix( - data, - ); + double spine_ik_constraint_data_get_mix(spine_ik_constraint_data data) { + return _spine_ik_constraint_data_get_mix(data); } late final _spine_ik_constraint_data_get_mixPtr = _lookup>('spine_ik_constraint_data_get_mix'); - late final _spine_ik_constraint_data_get_mix = - _spine_ik_constraint_data_get_mixPtr.asFunction(); + late final _spine_ik_constraint_data_get_mix = _spine_ik_constraint_data_get_mixPtr + .asFunction(); - void spine_ik_constraint_data_set_mix( - spine_ik_constraint_data data, - double mix, - ) { - return _spine_ik_constraint_data_set_mix( - data, - mix, - ); + void spine_ik_constraint_data_set_mix(spine_ik_constraint_data data, double mix) { + return _spine_ik_constraint_data_set_mix(data, mix); } late final _spine_ik_constraint_data_set_mixPtr = _lookup>( - 'spine_ik_constraint_data_set_mix'); - late final _spine_ik_constraint_data_set_mix = - _spine_ik_constraint_data_set_mixPtr.asFunction(); + 'spine_ik_constraint_data_set_mix', + ); + late final _spine_ik_constraint_data_set_mix = _spine_ik_constraint_data_set_mixPtr + .asFunction(); - double spine_ik_constraint_data_get_softness( - spine_ik_constraint_data data, - ) { - return _spine_ik_constraint_data_get_softness( - data, - ); + double spine_ik_constraint_data_get_softness(spine_ik_constraint_data data) { + return _spine_ik_constraint_data_get_softness(data); } late final _spine_ik_constraint_data_get_softnessPtr = _lookup>( - 'spine_ik_constraint_data_get_softness'); - late final _spine_ik_constraint_data_get_softness = - _spine_ik_constraint_data_get_softnessPtr.asFunction(); + 'spine_ik_constraint_data_get_softness', + ); + late final _spine_ik_constraint_data_get_softness = _spine_ik_constraint_data_get_softnessPtr + .asFunction(); - void spine_ik_constraint_data_set_softness( - spine_ik_constraint_data data, - double softness, - ) { - return _spine_ik_constraint_data_set_softness( - data, - softness, - ); + void spine_ik_constraint_data_set_softness(spine_ik_constraint_data data, double softness) { + return _spine_ik_constraint_data_set_softness(data, softness); } late final _spine_ik_constraint_data_set_softnessPtr = _lookup>( - 'spine_ik_constraint_data_set_softness'); - late final _spine_ik_constraint_data_set_softness = - _spine_ik_constraint_data_set_softnessPtr.asFunction(); + 'spine_ik_constraint_data_set_softness', + ); + late final _spine_ik_constraint_data_set_softness = _spine_ik_constraint_data_set_softnessPtr + .asFunction(); - void spine_ik_constraint_update( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_update( - constraint, - ); + void spine_ik_constraint_update(spine_ik_constraint constraint) { + return _spine_ik_constraint_update(constraint); } - late final _spine_ik_constraint_updatePtr = - _lookup>('spine_ik_constraint_update'); - late final _spine_ik_constraint_update = - _spine_ik_constraint_updatePtr.asFunction(); + late final _spine_ik_constraint_updatePtr = _lookup>( + 'spine_ik_constraint_update', + ); + late final _spine_ik_constraint_update = _spine_ik_constraint_updatePtr + .asFunction(); - int spine_ik_constraint_get_order( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_order( - constraint, - ); + int spine_ik_constraint_get_order(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_order(constraint); } - late final _spine_ik_constraint_get_orderPtr = - _lookup>('spine_ik_constraint_get_order'); - late final _spine_ik_constraint_get_order = - _spine_ik_constraint_get_orderPtr.asFunction(); + late final _spine_ik_constraint_get_orderPtr = _lookup>( + 'spine_ik_constraint_get_order', + ); + late final _spine_ik_constraint_get_order = _spine_ik_constraint_get_orderPtr + .asFunction(); - spine_ik_constraint_data spine_ik_constraint_get_data( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_data( - constraint, - ); + spine_ik_constraint_data spine_ik_constraint_get_data(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_data(constraint); } late final _spine_ik_constraint_get_dataPtr = _lookup>( - 'spine_ik_constraint_get_data'); - late final _spine_ik_constraint_get_data = - _spine_ik_constraint_get_dataPtr.asFunction(); + 'spine_ik_constraint_get_data', + ); + late final _spine_ik_constraint_get_data = _spine_ik_constraint_get_dataPtr + .asFunction(); - int spine_ik_constraint_get_num_bones( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_num_bones( - constraint, - ); + int spine_ik_constraint_get_num_bones(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_num_bones(constraint); } late final _spine_ik_constraint_get_num_bonesPtr = _lookup>('spine_ik_constraint_get_num_bones'); - late final _spine_ik_constraint_get_num_bones = - _spine_ik_constraint_get_num_bonesPtr.asFunction(); + late final _spine_ik_constraint_get_num_bones = _spine_ik_constraint_get_num_bonesPtr + .asFunction(); - ffi.Pointer spine_ik_constraint_get_bones( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_bones( - constraint, - ); + ffi.Pointer spine_ik_constraint_get_bones(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_bones(constraint); } late final _spine_ik_constraint_get_bonesPtr = _lookup Function(spine_ik_constraint)>>( - 'spine_ik_constraint_get_bones'); - late final _spine_ik_constraint_get_bones = - _spine_ik_constraint_get_bonesPtr.asFunction Function(spine_ik_constraint)>(); + 'spine_ik_constraint_get_bones', + ); + late final _spine_ik_constraint_get_bones = _spine_ik_constraint_get_bonesPtr + .asFunction Function(spine_ik_constraint)>(); - spine_bone spine_ik_constraint_get_target( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_target( - constraint, - ); + spine_bone spine_ik_constraint_get_target(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_target(constraint); } - late final _spine_ik_constraint_get_targetPtr = - _lookup>('spine_ik_constraint_get_target'); - late final _spine_ik_constraint_get_target = - _spine_ik_constraint_get_targetPtr.asFunction(); + late final _spine_ik_constraint_get_targetPtr = _lookup>( + 'spine_ik_constraint_get_target', + ); + late final _spine_ik_constraint_get_target = _spine_ik_constraint_get_targetPtr + .asFunction(); - void spine_ik_constraint_set_target( - spine_ik_constraint constraint, - spine_bone target, - ) { - return _spine_ik_constraint_set_target( - constraint, - target, - ); + void spine_ik_constraint_set_target(spine_ik_constraint constraint, spine_bone target) { + return _spine_ik_constraint_set_target(constraint, target); } late final _spine_ik_constraint_set_targetPtr = _lookup>('spine_ik_constraint_set_target'); - late final _spine_ik_constraint_set_target = - _spine_ik_constraint_set_targetPtr.asFunction(); + late final _spine_ik_constraint_set_target = _spine_ik_constraint_set_targetPtr + .asFunction(); - int spine_ik_constraint_get_bend_direction( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_bend_direction( - constraint, - ); + int spine_ik_constraint_get_bend_direction(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_bend_direction(constraint); } late final _spine_ik_constraint_get_bend_directionPtr = _lookup>('spine_ik_constraint_get_bend_direction'); - late final _spine_ik_constraint_get_bend_direction = - _spine_ik_constraint_get_bend_directionPtr.asFunction(); + late final _spine_ik_constraint_get_bend_direction = _spine_ik_constraint_get_bend_directionPtr + .asFunction(); - void spine_ik_constraint_set_bend_direction( - spine_ik_constraint constraint, - int bendDirection, - ) { - return _spine_ik_constraint_set_bend_direction( - constraint, - bendDirection, - ); + void spine_ik_constraint_set_bend_direction(spine_ik_constraint constraint, int bendDirection) { + return _spine_ik_constraint_set_bend_direction(constraint, bendDirection); } late final _spine_ik_constraint_set_bend_directionPtr = _lookup>( - 'spine_ik_constraint_set_bend_direction'); - late final _spine_ik_constraint_set_bend_direction = - _spine_ik_constraint_set_bend_directionPtr.asFunction(); + 'spine_ik_constraint_set_bend_direction', + ); + late final _spine_ik_constraint_set_bend_direction = _spine_ik_constraint_set_bend_directionPtr + .asFunction(); - int spine_ik_constraint_get_compress( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_compress( - constraint, - ); + int spine_ik_constraint_get_compress(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_compress(constraint); } late final _spine_ik_constraint_get_compressPtr = _lookup>('spine_ik_constraint_get_compress'); - late final _spine_ik_constraint_get_compress = - _spine_ik_constraint_get_compressPtr.asFunction(); + late final _spine_ik_constraint_get_compress = _spine_ik_constraint_get_compressPtr + .asFunction(); - void spine_ik_constraint_set_compress( - spine_ik_constraint constraint, - int compress, - ) { - return _spine_ik_constraint_set_compress( - constraint, - compress, - ); + void spine_ik_constraint_set_compress(spine_ik_constraint constraint, int compress) { + return _spine_ik_constraint_set_compress(constraint, compress); } late final _spine_ik_constraint_set_compressPtr = _lookup>( - 'spine_ik_constraint_set_compress'); - late final _spine_ik_constraint_set_compress = - _spine_ik_constraint_set_compressPtr.asFunction(); + 'spine_ik_constraint_set_compress', + ); + late final _spine_ik_constraint_set_compress = _spine_ik_constraint_set_compressPtr + .asFunction(); - int spine_ik_constraint_get_stretch( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_stretch( - constraint, - ); + int spine_ik_constraint_get_stretch(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_stretch(constraint); } late final _spine_ik_constraint_get_stretchPtr = _lookup>('spine_ik_constraint_get_stretch'); - late final _spine_ik_constraint_get_stretch = - _spine_ik_constraint_get_stretchPtr.asFunction(); + late final _spine_ik_constraint_get_stretch = _spine_ik_constraint_get_stretchPtr + .asFunction(); - void spine_ik_constraint_set_stretch( - spine_ik_constraint constraint, - int stretch, - ) { - return _spine_ik_constraint_set_stretch( - constraint, - stretch, - ); + void spine_ik_constraint_set_stretch(spine_ik_constraint constraint, int stretch) { + return _spine_ik_constraint_set_stretch(constraint, stretch); } late final _spine_ik_constraint_set_stretchPtr = _lookup>( - 'spine_ik_constraint_set_stretch'); - late final _spine_ik_constraint_set_stretch = - _spine_ik_constraint_set_stretchPtr.asFunction(); + 'spine_ik_constraint_set_stretch', + ); + late final _spine_ik_constraint_set_stretch = _spine_ik_constraint_set_stretchPtr + .asFunction(); - double spine_ik_constraint_get_mix( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_mix( - constraint, - ); + double spine_ik_constraint_get_mix(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_mix(constraint); } - late final _spine_ik_constraint_get_mixPtr = - _lookup>('spine_ik_constraint_get_mix'); - late final _spine_ik_constraint_get_mix = - _spine_ik_constraint_get_mixPtr.asFunction(); + late final _spine_ik_constraint_get_mixPtr = _lookup>( + 'spine_ik_constraint_get_mix', + ); + late final _spine_ik_constraint_get_mix = _spine_ik_constraint_get_mixPtr + .asFunction(); - void spine_ik_constraint_set_mix( - spine_ik_constraint constraint, - double mix, - ) { - return _spine_ik_constraint_set_mix( - constraint, - mix, - ); + void spine_ik_constraint_set_mix(spine_ik_constraint constraint, double mix) { + return _spine_ik_constraint_set_mix(constraint, mix); } late final _spine_ik_constraint_set_mixPtr = _lookup>('spine_ik_constraint_set_mix'); - late final _spine_ik_constraint_set_mix = - _spine_ik_constraint_set_mixPtr.asFunction(); + late final _spine_ik_constraint_set_mix = _spine_ik_constraint_set_mixPtr + .asFunction(); - double spine_ik_constraint_get_softness( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_softness( - constraint, - ); + double spine_ik_constraint_get_softness(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_softness(constraint); } late final _spine_ik_constraint_get_softnessPtr = _lookup>('spine_ik_constraint_get_softness'); - late final _spine_ik_constraint_get_softness = - _spine_ik_constraint_get_softnessPtr.asFunction(); + late final _spine_ik_constraint_get_softness = _spine_ik_constraint_get_softnessPtr + .asFunction(); - void spine_ik_constraint_set_softness( - spine_ik_constraint constraint, - double softness, - ) { - return _spine_ik_constraint_set_softness( - constraint, - softness, - ); + void spine_ik_constraint_set_softness(spine_ik_constraint constraint, double softness) { + return _spine_ik_constraint_set_softness(constraint, softness); } late final _spine_ik_constraint_set_softnessPtr = _lookup>( - 'spine_ik_constraint_set_softness'); - late final _spine_ik_constraint_set_softness = - _spine_ik_constraint_set_softnessPtr.asFunction(); + 'spine_ik_constraint_set_softness', + ); + late final _spine_ik_constraint_set_softness = _spine_ik_constraint_set_softnessPtr + .asFunction(); - int spine_ik_constraint_get_is_active( - spine_ik_constraint constraint, - ) { - return _spine_ik_constraint_get_is_active( - constraint, - ); + int spine_ik_constraint_get_is_active(spine_ik_constraint constraint) { + return _spine_ik_constraint_get_is_active(constraint); } late final _spine_ik_constraint_get_is_activePtr = _lookup>('spine_ik_constraint_get_is_active'); - late final _spine_ik_constraint_get_is_active = - _spine_ik_constraint_get_is_activePtr.asFunction(); + late final _spine_ik_constraint_get_is_active = _spine_ik_constraint_get_is_activePtr + .asFunction(); - void spine_ik_constraint_set_is_active( - spine_ik_constraint constraint, - int isActive, - ) { - return _spine_ik_constraint_set_is_active( - constraint, - isActive, - ); + void spine_ik_constraint_set_is_active(spine_ik_constraint constraint, int isActive) { + return _spine_ik_constraint_set_is_active(constraint, isActive); } late final _spine_ik_constraint_set_is_activePtr = _lookup>( - 'spine_ik_constraint_set_is_active'); - late final _spine_ik_constraint_set_is_active = - _spine_ik_constraint_set_is_activePtr.asFunction(); + 'spine_ik_constraint_set_is_active', + ); + late final _spine_ik_constraint_set_is_active = _spine_ik_constraint_set_is_activePtr + .asFunction(); /// OMITTED setToSetupPose() - int spine_transform_constraint_data_get_num_bones( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_num_bones( - data, - ); + int spine_transform_constraint_data_get_num_bones(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_num_bones(data); } late final _spine_transform_constraint_data_get_num_bonesPtr = _lookup>( - 'spine_transform_constraint_data_get_num_bones'); - late final _spine_transform_constraint_data_get_num_bones = - _spine_transform_constraint_data_get_num_bonesPtr.asFunction(); + 'spine_transform_constraint_data_get_num_bones', + ); + late final _spine_transform_constraint_data_get_num_bones = _spine_transform_constraint_data_get_num_bonesPtr + .asFunction(); - ffi.Pointer spine_transform_constraint_data_get_bones( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_bones( - data, - ); + ffi.Pointer spine_transform_constraint_data_get_bones(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_bones(data); } late final _spine_transform_constraint_data_get_bonesPtr = _lookup Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_bones'); + 'spine_transform_constraint_data_get_bones', + ); late final _spine_transform_constraint_data_get_bones = _spine_transform_constraint_data_get_bonesPtr .asFunction Function(spine_transform_constraint_data)>(); - spine_bone_data spine_transform_constraint_data_get_target( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_target( - data, - ); + spine_bone_data spine_transform_constraint_data_get_target(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_target(data); } late final _spine_transform_constraint_data_get_targetPtr = _lookup>( - 'spine_transform_constraint_data_get_target'); + 'spine_transform_constraint_data_get_target', + ); late final _spine_transform_constraint_data_get_target = _spine_transform_constraint_data_get_targetPtr .asFunction(); - void spine_transform_constraint_data_set_target( - spine_transform_constraint_data data, - spine_bone_data target, - ) { - return _spine_transform_constraint_data_set_target( - data, - target, - ); + void spine_transform_constraint_data_set_target(spine_transform_constraint_data data, spine_bone_data target) { + return _spine_transform_constraint_data_set_target(data, target); } late final _spine_transform_constraint_data_set_targetPtr = _lookup>( - 'spine_transform_constraint_data_set_target'); + 'spine_transform_constraint_data_set_target', + ); late final _spine_transform_constraint_data_set_target = _spine_transform_constraint_data_set_targetPtr .asFunction(); - double spine_transform_constraint_data_get_mix_rotate( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_mix_rotate( - data, - ); + double spine_transform_constraint_data_get_mix_rotate(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_mix_rotate(data); } late final _spine_transform_constraint_data_get_mix_rotatePtr = _lookup>( - 'spine_transform_constraint_data_get_mix_rotate'); - late final _spine_transform_constraint_data_get_mix_rotate = - _spine_transform_constraint_data_get_mix_rotatePtr.asFunction(); + 'spine_transform_constraint_data_get_mix_rotate', + ); + late final _spine_transform_constraint_data_get_mix_rotate = _spine_transform_constraint_data_get_mix_rotatePtr + .asFunction(); - void spine_transform_constraint_data_set_mix_rotate( - spine_transform_constraint_data data, - double mixRotate, - ) { - return _spine_transform_constraint_data_set_mix_rotate( - data, - mixRotate, - ); + void spine_transform_constraint_data_set_mix_rotate(spine_transform_constraint_data data, double mixRotate) { + return _spine_transform_constraint_data_set_mix_rotate(data, mixRotate); } late final _spine_transform_constraint_data_set_mix_rotatePtr = _lookup>( - 'spine_transform_constraint_data_set_mix_rotate'); + 'spine_transform_constraint_data_set_mix_rotate', + ); late final _spine_transform_constraint_data_set_mix_rotate = _spine_transform_constraint_data_set_mix_rotatePtr .asFunction(); - double spine_transform_constraint_data_get_mix_x( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_mix_x( - data, - ); + double spine_transform_constraint_data_get_mix_x(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_mix_x(data); } late final _spine_transform_constraint_data_get_mix_xPtr = _lookup>( - 'spine_transform_constraint_data_get_mix_x'); - late final _spine_transform_constraint_data_get_mix_x = - _spine_transform_constraint_data_get_mix_xPtr.asFunction(); + 'spine_transform_constraint_data_get_mix_x', + ); + late final _spine_transform_constraint_data_get_mix_x = _spine_transform_constraint_data_get_mix_xPtr + .asFunction(); - void spine_transform_constraint_data_set_mix_x( - spine_transform_constraint_data data, - double mixX, - ) { - return _spine_transform_constraint_data_set_mix_x( - data, - mixX, - ); + void spine_transform_constraint_data_set_mix_x(spine_transform_constraint_data data, double mixX) { + return _spine_transform_constraint_data_set_mix_x(data, mixX); } late final _spine_transform_constraint_data_set_mix_xPtr = _lookup>( - 'spine_transform_constraint_data_set_mix_x'); + 'spine_transform_constraint_data_set_mix_x', + ); late final _spine_transform_constraint_data_set_mix_x = _spine_transform_constraint_data_set_mix_xPtr .asFunction(); - double spine_transform_constraint_data_get_mix_y( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_mix_y( - data, - ); + double spine_transform_constraint_data_get_mix_y(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_mix_y(data); } late final _spine_transform_constraint_data_get_mix_yPtr = _lookup>( - 'spine_transform_constraint_data_get_mix_y'); - late final _spine_transform_constraint_data_get_mix_y = - _spine_transform_constraint_data_get_mix_yPtr.asFunction(); + 'spine_transform_constraint_data_get_mix_y', + ); + late final _spine_transform_constraint_data_get_mix_y = _spine_transform_constraint_data_get_mix_yPtr + .asFunction(); - void spine_transform_constraint_data_set_mix_y( - spine_transform_constraint_data data, - double mixY, - ) { - return _spine_transform_constraint_data_set_mix_y( - data, - mixY, - ); + void spine_transform_constraint_data_set_mix_y(spine_transform_constraint_data data, double mixY) { + return _spine_transform_constraint_data_set_mix_y(data, mixY); } late final _spine_transform_constraint_data_set_mix_yPtr = _lookup>( - 'spine_transform_constraint_data_set_mix_y'); + 'spine_transform_constraint_data_set_mix_y', + ); late final _spine_transform_constraint_data_set_mix_y = _spine_transform_constraint_data_set_mix_yPtr .asFunction(); - double spine_transform_constraint_data_get_mix_scale_x( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_mix_scale_x( - data, - ); + double spine_transform_constraint_data_get_mix_scale_x(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_mix_scale_x(data); } late final _spine_transform_constraint_data_get_mix_scale_xPtr = _lookup>( - 'spine_transform_constraint_data_get_mix_scale_x'); + 'spine_transform_constraint_data_get_mix_scale_x', + ); late final _spine_transform_constraint_data_get_mix_scale_x = _spine_transform_constraint_data_get_mix_scale_xPtr .asFunction(); - void spine_transform_constraint_data_set_mix_scale_x( - spine_transform_constraint_data data, - double mixScaleX, - ) { - return _spine_transform_constraint_data_set_mix_scale_x( - data, - mixScaleX, - ); + void spine_transform_constraint_data_set_mix_scale_x(spine_transform_constraint_data data, double mixScaleX) { + return _spine_transform_constraint_data_set_mix_scale_x(data, mixScaleX); } late final _spine_transform_constraint_data_set_mix_scale_xPtr = _lookup>( - 'spine_transform_constraint_data_set_mix_scale_x'); + 'spine_transform_constraint_data_set_mix_scale_x', + ); late final _spine_transform_constraint_data_set_mix_scale_x = _spine_transform_constraint_data_set_mix_scale_xPtr .asFunction(); - double spine_transform_constraint_data_get_mix_scale_y( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_mix_scale_y( - data, - ); + double spine_transform_constraint_data_get_mix_scale_y(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_mix_scale_y(data); } late final _spine_transform_constraint_data_get_mix_scale_yPtr = _lookup>( - 'spine_transform_constraint_data_get_mix_scale_y'); + 'spine_transform_constraint_data_get_mix_scale_y', + ); late final _spine_transform_constraint_data_get_mix_scale_y = _spine_transform_constraint_data_get_mix_scale_yPtr .asFunction(); - void spine_transform_constraint_data_set_mix_scale_y( - spine_transform_constraint_data data, - double mixScaleY, - ) { - return _spine_transform_constraint_data_set_mix_scale_y( - data, - mixScaleY, - ); + void spine_transform_constraint_data_set_mix_scale_y(spine_transform_constraint_data data, double mixScaleY) { + return _spine_transform_constraint_data_set_mix_scale_y(data, mixScaleY); } late final _spine_transform_constraint_data_set_mix_scale_yPtr = _lookup>( - 'spine_transform_constraint_data_set_mix_scale_y'); + 'spine_transform_constraint_data_set_mix_scale_y', + ); late final _spine_transform_constraint_data_set_mix_scale_y = _spine_transform_constraint_data_set_mix_scale_yPtr .asFunction(); - double spine_transform_constraint_data_get_mix_shear_y( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_mix_shear_y( - data, - ); + double spine_transform_constraint_data_get_mix_shear_y(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_mix_shear_y(data); } late final _spine_transform_constraint_data_get_mix_shear_yPtr = _lookup>( - 'spine_transform_constraint_data_get_mix_shear_y'); + 'spine_transform_constraint_data_get_mix_shear_y', + ); late final _spine_transform_constraint_data_get_mix_shear_y = _spine_transform_constraint_data_get_mix_shear_yPtr .asFunction(); - void spine_transform_constraint_data_set_mix_shear_y( - spine_transform_constraint_data data, - double mixShearY, - ) { - return _spine_transform_constraint_data_set_mix_shear_y( - data, - mixShearY, - ); + void spine_transform_constraint_data_set_mix_shear_y(spine_transform_constraint_data data, double mixShearY) { + return _spine_transform_constraint_data_set_mix_shear_y(data, mixShearY); } late final _spine_transform_constraint_data_set_mix_shear_yPtr = _lookup>( - 'spine_transform_constraint_data_set_mix_shear_y'); + 'spine_transform_constraint_data_set_mix_shear_y', + ); late final _spine_transform_constraint_data_set_mix_shear_y = _spine_transform_constraint_data_set_mix_shear_yPtr .asFunction(); - double spine_transform_constraint_data_get_offset_rotation( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_offset_rotation( - data, - ); + double spine_transform_constraint_data_get_offset_rotation(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_offset_rotation(data); } late final _spine_transform_constraint_data_get_offset_rotationPtr = _lookup>( - 'spine_transform_constraint_data_get_offset_rotation'); + 'spine_transform_constraint_data_get_offset_rotation', + ); late final _spine_transform_constraint_data_get_offset_rotation = _spine_transform_constraint_data_get_offset_rotationPtr .asFunction(); @@ -7483,3152 +5345,2265 @@ class SpineFlutterBindings { spine_transform_constraint_data data, double offsetRotation, ) { - return _spine_transform_constraint_data_set_offset_rotation( - data, - offsetRotation, - ); + return _spine_transform_constraint_data_set_offset_rotation(data, offsetRotation); } late final _spine_transform_constraint_data_set_offset_rotationPtr = _lookup>( - 'spine_transform_constraint_data_set_offset_rotation'); + 'spine_transform_constraint_data_set_offset_rotation', + ); late final _spine_transform_constraint_data_set_offset_rotation = _spine_transform_constraint_data_set_offset_rotationPtr .asFunction(); - double spine_transform_constraint_data_get_offset_x( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_offset_x( - data, - ); + double spine_transform_constraint_data_get_offset_x(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_offset_x(data); } late final _spine_transform_constraint_data_get_offset_xPtr = _lookup>( - 'spine_transform_constraint_data_get_offset_x'); - late final _spine_transform_constraint_data_get_offset_x = - _spine_transform_constraint_data_get_offset_xPtr.asFunction(); + 'spine_transform_constraint_data_get_offset_x', + ); + late final _spine_transform_constraint_data_get_offset_x = _spine_transform_constraint_data_get_offset_xPtr + .asFunction(); - void spine_transform_constraint_data_set_offset_x( - spine_transform_constraint_data data, - double offsetX, - ) { - return _spine_transform_constraint_data_set_offset_x( - data, - offsetX, - ); + void spine_transform_constraint_data_set_offset_x(spine_transform_constraint_data data, double offsetX) { + return _spine_transform_constraint_data_set_offset_x(data, offsetX); } late final _spine_transform_constraint_data_set_offset_xPtr = _lookup>( - 'spine_transform_constraint_data_set_offset_x'); + 'spine_transform_constraint_data_set_offset_x', + ); late final _spine_transform_constraint_data_set_offset_x = _spine_transform_constraint_data_set_offset_xPtr .asFunction(); - double spine_transform_constraint_data_get_offset_y( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_offset_y( - data, - ); + double spine_transform_constraint_data_get_offset_y(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_offset_y(data); } late final _spine_transform_constraint_data_get_offset_yPtr = _lookup>( - 'spine_transform_constraint_data_get_offset_y'); - late final _spine_transform_constraint_data_get_offset_y = - _spine_transform_constraint_data_get_offset_yPtr.asFunction(); + 'spine_transform_constraint_data_get_offset_y', + ); + late final _spine_transform_constraint_data_get_offset_y = _spine_transform_constraint_data_get_offset_yPtr + .asFunction(); - void spine_transform_constraint_data_set_offset_y( - spine_transform_constraint_data data, - double offsetY, - ) { - return _spine_transform_constraint_data_set_offset_y( - data, - offsetY, - ); + void spine_transform_constraint_data_set_offset_y(spine_transform_constraint_data data, double offsetY) { + return _spine_transform_constraint_data_set_offset_y(data, offsetY); } late final _spine_transform_constraint_data_set_offset_yPtr = _lookup>( - 'spine_transform_constraint_data_set_offset_y'); + 'spine_transform_constraint_data_set_offset_y', + ); late final _spine_transform_constraint_data_set_offset_y = _spine_transform_constraint_data_set_offset_yPtr .asFunction(); - double spine_transform_constraint_data_get_offset_scale_x( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_offset_scale_x( - data, - ); + double spine_transform_constraint_data_get_offset_scale_x(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_offset_scale_x(data); } late final _spine_transform_constraint_data_get_offset_scale_xPtr = _lookup>( - 'spine_transform_constraint_data_get_offset_scale_x'); + 'spine_transform_constraint_data_get_offset_scale_x', + ); late final _spine_transform_constraint_data_get_offset_scale_x = _spine_transform_constraint_data_get_offset_scale_xPtr .asFunction(); - void spine_transform_constraint_data_set_offset_scale_x( - spine_transform_constraint_data data, - double offsetScaleX, - ) { - return _spine_transform_constraint_data_set_offset_scale_x( - data, - offsetScaleX, - ); + void spine_transform_constraint_data_set_offset_scale_x(spine_transform_constraint_data data, double offsetScaleX) { + return _spine_transform_constraint_data_set_offset_scale_x(data, offsetScaleX); } late final _spine_transform_constraint_data_set_offset_scale_xPtr = _lookup>( - 'spine_transform_constraint_data_set_offset_scale_x'); + 'spine_transform_constraint_data_set_offset_scale_x', + ); late final _spine_transform_constraint_data_set_offset_scale_x = _spine_transform_constraint_data_set_offset_scale_xPtr .asFunction(); - double spine_transform_constraint_data_get_offset_scale_y( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_offset_scale_y( - data, - ); + double spine_transform_constraint_data_get_offset_scale_y(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_offset_scale_y(data); } late final _spine_transform_constraint_data_get_offset_scale_yPtr = _lookup>( - 'spine_transform_constraint_data_get_offset_scale_y'); + 'spine_transform_constraint_data_get_offset_scale_y', + ); late final _spine_transform_constraint_data_get_offset_scale_y = _spine_transform_constraint_data_get_offset_scale_yPtr .asFunction(); - void spine_transform_constraint_data_set_offset_scale_y( - spine_transform_constraint_data data, - double offsetScaleY, - ) { - return _spine_transform_constraint_data_set_offset_scale_y( - data, - offsetScaleY, - ); + void spine_transform_constraint_data_set_offset_scale_y(spine_transform_constraint_data data, double offsetScaleY) { + return _spine_transform_constraint_data_set_offset_scale_y(data, offsetScaleY); } late final _spine_transform_constraint_data_set_offset_scale_yPtr = _lookup>( - 'spine_transform_constraint_data_set_offset_scale_y'); + 'spine_transform_constraint_data_set_offset_scale_y', + ); late final _spine_transform_constraint_data_set_offset_scale_y = _spine_transform_constraint_data_set_offset_scale_yPtr .asFunction(); - double spine_transform_constraint_data_get_offset_shear_y( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_offset_shear_y( - data, - ); + double spine_transform_constraint_data_get_offset_shear_y(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_offset_shear_y(data); } late final _spine_transform_constraint_data_get_offset_shear_yPtr = _lookup>( - 'spine_transform_constraint_data_get_offset_shear_y'); + 'spine_transform_constraint_data_get_offset_shear_y', + ); late final _spine_transform_constraint_data_get_offset_shear_y = _spine_transform_constraint_data_get_offset_shear_yPtr .asFunction(); - void spine_transform_constraint_data_set_offset_shear_y( - spine_transform_constraint_data data, - double offsetShearY, - ) { - return _spine_transform_constraint_data_set_offset_shear_y( - data, - offsetShearY, - ); + void spine_transform_constraint_data_set_offset_shear_y(spine_transform_constraint_data data, double offsetShearY) { + return _spine_transform_constraint_data_set_offset_shear_y(data, offsetShearY); } late final _spine_transform_constraint_data_set_offset_shear_yPtr = _lookup>( - 'spine_transform_constraint_data_set_offset_shear_y'); + 'spine_transform_constraint_data_set_offset_shear_y', + ); late final _spine_transform_constraint_data_set_offset_shear_y = _spine_transform_constraint_data_set_offset_shear_yPtr .asFunction(); - int spine_transform_constraint_data_get_is_relative( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_is_relative( - data, - ); + int spine_transform_constraint_data_get_is_relative(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_is_relative(data); } late final _spine_transform_constraint_data_get_is_relativePtr = _lookup>( - 'spine_transform_constraint_data_get_is_relative'); - late final _spine_transform_constraint_data_get_is_relative = - _spine_transform_constraint_data_get_is_relativePtr.asFunction(); + 'spine_transform_constraint_data_get_is_relative', + ); + late final _spine_transform_constraint_data_get_is_relative = _spine_transform_constraint_data_get_is_relativePtr + .asFunction(); - void spine_transform_constraint_data_set_is_relative( - spine_transform_constraint_data data, - int isRelative, - ) { - return _spine_transform_constraint_data_set_is_relative( - data, - isRelative, - ); + void spine_transform_constraint_data_set_is_relative(spine_transform_constraint_data data, int isRelative) { + return _spine_transform_constraint_data_set_is_relative(data, isRelative); } late final _spine_transform_constraint_data_set_is_relativePtr = _lookup>( - 'spine_transform_constraint_data_set_is_relative'); + 'spine_transform_constraint_data_set_is_relative', + ); late final _spine_transform_constraint_data_set_is_relative = _spine_transform_constraint_data_set_is_relativePtr .asFunction(); - int spine_transform_constraint_data_get_is_local( - spine_transform_constraint_data data, - ) { - return _spine_transform_constraint_data_get_is_local( - data, - ); + int spine_transform_constraint_data_get_is_local(spine_transform_constraint_data data) { + return _spine_transform_constraint_data_get_is_local(data); } late final _spine_transform_constraint_data_get_is_localPtr = _lookup>( - 'spine_transform_constraint_data_get_is_local'); - late final _spine_transform_constraint_data_get_is_local = - _spine_transform_constraint_data_get_is_localPtr.asFunction(); + 'spine_transform_constraint_data_get_is_local', + ); + late final _spine_transform_constraint_data_get_is_local = _spine_transform_constraint_data_get_is_localPtr + .asFunction(); - void spine_transform_constraint_data_set_is_local( - spine_transform_constraint_data data, - int isLocal, - ) { - return _spine_transform_constraint_data_set_is_local( - data, - isLocal, - ); + void spine_transform_constraint_data_set_is_local(spine_transform_constraint_data data, int isLocal) { + return _spine_transform_constraint_data_set_is_local(data, isLocal); } late final _spine_transform_constraint_data_set_is_localPtr = _lookup>( - 'spine_transform_constraint_data_set_is_local'); + 'spine_transform_constraint_data_set_is_local', + ); late final _spine_transform_constraint_data_set_is_local = _spine_transform_constraint_data_set_is_localPtr .asFunction(); - void spine_transform_constraint_update( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_update( - constraint, - ); + void spine_transform_constraint_update(spine_transform_constraint constraint) { + return _spine_transform_constraint_update(constraint); } late final _spine_transform_constraint_updatePtr = _lookup>('spine_transform_constraint_update'); - late final _spine_transform_constraint_update = - _spine_transform_constraint_updatePtr.asFunction(); + late final _spine_transform_constraint_update = _spine_transform_constraint_updatePtr + .asFunction(); - int spine_transform_constraint_get_order( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_order( - constraint, - ); + int spine_transform_constraint_get_order(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_order(constraint); } late final _spine_transform_constraint_get_orderPtr = _lookup>( - 'spine_transform_constraint_get_order'); - late final _spine_transform_constraint_get_order = - _spine_transform_constraint_get_orderPtr.asFunction(); + 'spine_transform_constraint_get_order', + ); + late final _spine_transform_constraint_get_order = _spine_transform_constraint_get_orderPtr + .asFunction(); - spine_transform_constraint_data spine_transform_constraint_get_data( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_data( - constraint, - ); + spine_transform_constraint_data spine_transform_constraint_get_data(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_data(constraint); } late final _spine_transform_constraint_get_dataPtr = _lookup>( - 'spine_transform_constraint_get_data'); + 'spine_transform_constraint_get_data', + ); late final _spine_transform_constraint_get_data = _spine_transform_constraint_get_dataPtr .asFunction(); - int spine_transform_constraint_get_num_bones( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_num_bones( - constraint, - ); + int spine_transform_constraint_get_num_bones(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_num_bones(constraint); } late final _spine_transform_constraint_get_num_bonesPtr = _lookup>( - 'spine_transform_constraint_get_num_bones'); - late final _spine_transform_constraint_get_num_bones = - _spine_transform_constraint_get_num_bonesPtr.asFunction(); + 'spine_transform_constraint_get_num_bones', + ); + late final _spine_transform_constraint_get_num_bones = _spine_transform_constraint_get_num_bonesPtr + .asFunction(); - ffi.Pointer spine_transform_constraint_get_bones( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_bones( - constraint, - ); + ffi.Pointer spine_transform_constraint_get_bones(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_bones(constraint); } late final _spine_transform_constraint_get_bonesPtr = _lookup Function(spine_transform_constraint)>>( - 'spine_transform_constraint_get_bones'); + 'spine_transform_constraint_get_bones', + ); late final _spine_transform_constraint_get_bones = _spine_transform_constraint_get_bonesPtr .asFunction Function(spine_transform_constraint)>(); - spine_bone spine_transform_constraint_get_target( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_target( - constraint, - ); + spine_bone spine_transform_constraint_get_target(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_target(constraint); } late final _spine_transform_constraint_get_targetPtr = _lookup>( - 'spine_transform_constraint_get_target'); - late final _spine_transform_constraint_get_target = - _spine_transform_constraint_get_targetPtr.asFunction(); + 'spine_transform_constraint_get_target', + ); + late final _spine_transform_constraint_get_target = _spine_transform_constraint_get_targetPtr + .asFunction(); - void spine_transform_constraint_set_target( - spine_transform_constraint constraint, - spine_bone target, - ) { - return _spine_transform_constraint_set_target( - constraint, - target, - ); + void spine_transform_constraint_set_target(spine_transform_constraint constraint, spine_bone target) { + return _spine_transform_constraint_set_target(constraint, target); } late final _spine_transform_constraint_set_targetPtr = _lookup>( - 'spine_transform_constraint_set_target'); - late final _spine_transform_constraint_set_target = - _spine_transform_constraint_set_targetPtr.asFunction(); + 'spine_transform_constraint_set_target', + ); + late final _spine_transform_constraint_set_target = _spine_transform_constraint_set_targetPtr + .asFunction(); - double spine_transform_constraint_get_mix_rotate( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_mix_rotate( - constraint, - ); + double spine_transform_constraint_get_mix_rotate(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_mix_rotate(constraint); } late final _spine_transform_constraint_get_mix_rotatePtr = _lookup>( - 'spine_transform_constraint_get_mix_rotate'); - late final _spine_transform_constraint_get_mix_rotate = - _spine_transform_constraint_get_mix_rotatePtr.asFunction(); + 'spine_transform_constraint_get_mix_rotate', + ); + late final _spine_transform_constraint_get_mix_rotate = _spine_transform_constraint_get_mix_rotatePtr + .asFunction(); - void spine_transform_constraint_set_mix_rotate( - spine_transform_constraint constraint, - double mixRotate, - ) { - return _spine_transform_constraint_set_mix_rotate( - constraint, - mixRotate, - ); + void spine_transform_constraint_set_mix_rotate(spine_transform_constraint constraint, double mixRotate) { + return _spine_transform_constraint_set_mix_rotate(constraint, mixRotate); } late final _spine_transform_constraint_set_mix_rotatePtr = _lookup>( - 'spine_transform_constraint_set_mix_rotate'); - late final _spine_transform_constraint_set_mix_rotate = - _spine_transform_constraint_set_mix_rotatePtr.asFunction(); + 'spine_transform_constraint_set_mix_rotate', + ); + late final _spine_transform_constraint_set_mix_rotate = _spine_transform_constraint_set_mix_rotatePtr + .asFunction(); - double spine_transform_constraint_get_mix_x( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_mix_x( - constraint, - ); + double spine_transform_constraint_get_mix_x(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_mix_x(constraint); } late final _spine_transform_constraint_get_mix_xPtr = _lookup>( - 'spine_transform_constraint_get_mix_x'); - late final _spine_transform_constraint_get_mix_x = - _spine_transform_constraint_get_mix_xPtr.asFunction(); + 'spine_transform_constraint_get_mix_x', + ); + late final _spine_transform_constraint_get_mix_x = _spine_transform_constraint_get_mix_xPtr + .asFunction(); - void spine_transform_constraint_set_mix_x( - spine_transform_constraint constraint, - double mixX, - ) { - return _spine_transform_constraint_set_mix_x( - constraint, - mixX, - ); + void spine_transform_constraint_set_mix_x(spine_transform_constraint constraint, double mixX) { + return _spine_transform_constraint_set_mix_x(constraint, mixX); } late final _spine_transform_constraint_set_mix_xPtr = _lookup>( - 'spine_transform_constraint_set_mix_x'); - late final _spine_transform_constraint_set_mix_x = - _spine_transform_constraint_set_mix_xPtr.asFunction(); + 'spine_transform_constraint_set_mix_x', + ); + late final _spine_transform_constraint_set_mix_x = _spine_transform_constraint_set_mix_xPtr + .asFunction(); - double spine_transform_constraint_get_mix_y( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_mix_y( - constraint, - ); + double spine_transform_constraint_get_mix_y(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_mix_y(constraint); } late final _spine_transform_constraint_get_mix_yPtr = _lookup>( - 'spine_transform_constraint_get_mix_y'); - late final _spine_transform_constraint_get_mix_y = - _spine_transform_constraint_get_mix_yPtr.asFunction(); + 'spine_transform_constraint_get_mix_y', + ); + late final _spine_transform_constraint_get_mix_y = _spine_transform_constraint_get_mix_yPtr + .asFunction(); - void spine_transform_constraint_set_mix_y( - spine_transform_constraint constraint, - double mixY, - ) { - return _spine_transform_constraint_set_mix_y( - constraint, - mixY, - ); + void spine_transform_constraint_set_mix_y(spine_transform_constraint constraint, double mixY) { + return _spine_transform_constraint_set_mix_y(constraint, mixY); } late final _spine_transform_constraint_set_mix_yPtr = _lookup>( - 'spine_transform_constraint_set_mix_y'); - late final _spine_transform_constraint_set_mix_y = - _spine_transform_constraint_set_mix_yPtr.asFunction(); + 'spine_transform_constraint_set_mix_y', + ); + late final _spine_transform_constraint_set_mix_y = _spine_transform_constraint_set_mix_yPtr + .asFunction(); - double spine_transform_constraint_get_mix_scale_x( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_mix_scale_x( - constraint, - ); + double spine_transform_constraint_get_mix_scale_x(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_mix_scale_x(constraint); } late final _spine_transform_constraint_get_mix_scale_xPtr = _lookup>( - 'spine_transform_constraint_get_mix_scale_x'); - late final _spine_transform_constraint_get_mix_scale_x = - _spine_transform_constraint_get_mix_scale_xPtr.asFunction(); + 'spine_transform_constraint_get_mix_scale_x', + ); + late final _spine_transform_constraint_get_mix_scale_x = _spine_transform_constraint_get_mix_scale_xPtr + .asFunction(); - void spine_transform_constraint_set_mix_scale_x( - spine_transform_constraint constraint, - double mixScaleX, - ) { - return _spine_transform_constraint_set_mix_scale_x( - constraint, - mixScaleX, - ); + void spine_transform_constraint_set_mix_scale_x(spine_transform_constraint constraint, double mixScaleX) { + return _spine_transform_constraint_set_mix_scale_x(constraint, mixScaleX); } late final _spine_transform_constraint_set_mix_scale_xPtr = _lookup>( - 'spine_transform_constraint_set_mix_scale_x'); - late final _spine_transform_constraint_set_mix_scale_x = - _spine_transform_constraint_set_mix_scale_xPtr.asFunction(); + 'spine_transform_constraint_set_mix_scale_x', + ); + late final _spine_transform_constraint_set_mix_scale_x = _spine_transform_constraint_set_mix_scale_xPtr + .asFunction(); - double spine_transform_constraint_get_mix_scale_y( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_mix_scale_y( - constraint, - ); + double spine_transform_constraint_get_mix_scale_y(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_mix_scale_y(constraint); } late final _spine_transform_constraint_get_mix_scale_yPtr = _lookup>( - 'spine_transform_constraint_get_mix_scale_y'); - late final _spine_transform_constraint_get_mix_scale_y = - _spine_transform_constraint_get_mix_scale_yPtr.asFunction(); + 'spine_transform_constraint_get_mix_scale_y', + ); + late final _spine_transform_constraint_get_mix_scale_y = _spine_transform_constraint_get_mix_scale_yPtr + .asFunction(); - void spine_transform_constraint_set_mix_scale_y( - spine_transform_constraint constraint, - double mixScaleY, - ) { - return _spine_transform_constraint_set_mix_scale_y( - constraint, - mixScaleY, - ); + void spine_transform_constraint_set_mix_scale_y(spine_transform_constraint constraint, double mixScaleY) { + return _spine_transform_constraint_set_mix_scale_y(constraint, mixScaleY); } late final _spine_transform_constraint_set_mix_scale_yPtr = _lookup>( - 'spine_transform_constraint_set_mix_scale_y'); - late final _spine_transform_constraint_set_mix_scale_y = - _spine_transform_constraint_set_mix_scale_yPtr.asFunction(); + 'spine_transform_constraint_set_mix_scale_y', + ); + late final _spine_transform_constraint_set_mix_scale_y = _spine_transform_constraint_set_mix_scale_yPtr + .asFunction(); - double spine_transform_constraint_get_mix_shear_y( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_mix_shear_y( - constraint, - ); + double spine_transform_constraint_get_mix_shear_y(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_mix_shear_y(constraint); } late final _spine_transform_constraint_get_mix_shear_yPtr = _lookup>( - 'spine_transform_constraint_get_mix_shear_y'); - late final _spine_transform_constraint_get_mix_shear_y = - _spine_transform_constraint_get_mix_shear_yPtr.asFunction(); + 'spine_transform_constraint_get_mix_shear_y', + ); + late final _spine_transform_constraint_get_mix_shear_y = _spine_transform_constraint_get_mix_shear_yPtr + .asFunction(); - void spine_transform_constraint_set_mix_shear_y( - spine_transform_constraint constraint, - double mixShearY, - ) { - return _spine_transform_constraint_set_mix_shear_y( - constraint, - mixShearY, - ); + void spine_transform_constraint_set_mix_shear_y(spine_transform_constraint constraint, double mixShearY) { + return _spine_transform_constraint_set_mix_shear_y(constraint, mixShearY); } late final _spine_transform_constraint_set_mix_shear_yPtr = _lookup>( - 'spine_transform_constraint_set_mix_shear_y'); - late final _spine_transform_constraint_set_mix_shear_y = - _spine_transform_constraint_set_mix_shear_yPtr.asFunction(); + 'spine_transform_constraint_set_mix_shear_y', + ); + late final _spine_transform_constraint_set_mix_shear_y = _spine_transform_constraint_set_mix_shear_yPtr + .asFunction(); - int spine_transform_constraint_get_is_active( - spine_transform_constraint constraint, - ) { - return _spine_transform_constraint_get_is_active( - constraint, - ); + int spine_transform_constraint_get_is_active(spine_transform_constraint constraint) { + return _spine_transform_constraint_get_is_active(constraint); } late final _spine_transform_constraint_get_is_activePtr = _lookup>( - 'spine_transform_constraint_get_is_active'); - late final _spine_transform_constraint_get_is_active = - _spine_transform_constraint_get_is_activePtr.asFunction(); + 'spine_transform_constraint_get_is_active', + ); + late final _spine_transform_constraint_get_is_active = _spine_transform_constraint_get_is_activePtr + .asFunction(); - void spine_transform_constraint_set_is_active( - spine_transform_constraint constraint, - int isActive, - ) { - return _spine_transform_constraint_set_is_active( - constraint, - isActive, - ); + void spine_transform_constraint_set_is_active(spine_transform_constraint constraint, int isActive) { + return _spine_transform_constraint_set_is_active(constraint, isActive); } late final _spine_transform_constraint_set_is_activePtr = _lookup>( - 'spine_transform_constraint_set_is_active'); - late final _spine_transform_constraint_set_is_active = - _spine_transform_constraint_set_is_activePtr.asFunction(); + 'spine_transform_constraint_set_is_active', + ); + late final _spine_transform_constraint_set_is_active = _spine_transform_constraint_set_is_activePtr + .asFunction(); /// OMITTED setToSetupPose() - int spine_path_constraint_data_get_num_bones( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_num_bones( - data, - ); + int spine_path_constraint_data_get_num_bones(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_num_bones(data); } late final _spine_path_constraint_data_get_num_bonesPtr = _lookup>( - 'spine_path_constraint_data_get_num_bones'); - late final _spine_path_constraint_data_get_num_bones = - _spine_path_constraint_data_get_num_bonesPtr.asFunction(); + 'spine_path_constraint_data_get_num_bones', + ); + late final _spine_path_constraint_data_get_num_bones = _spine_path_constraint_data_get_num_bonesPtr + .asFunction(); - ffi.Pointer spine_path_constraint_data_get_bones( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_bones( - data, - ); + ffi.Pointer spine_path_constraint_data_get_bones(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_bones(data); } late final _spine_path_constraint_data_get_bonesPtr = _lookup Function(spine_path_constraint_data)>>( - 'spine_path_constraint_data_get_bones'); + 'spine_path_constraint_data_get_bones', + ); late final _spine_path_constraint_data_get_bones = _spine_path_constraint_data_get_bonesPtr .asFunction Function(spine_path_constraint_data)>(); - spine_slot_data spine_path_constraint_data_get_target( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_target( - data, - ); + spine_slot_data spine_path_constraint_data_get_target(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_target(data); } late final _spine_path_constraint_data_get_targetPtr = _lookup>( - 'spine_path_constraint_data_get_target'); - late final _spine_path_constraint_data_get_target = - _spine_path_constraint_data_get_targetPtr.asFunction(); + 'spine_path_constraint_data_get_target', + ); + late final _spine_path_constraint_data_get_target = _spine_path_constraint_data_get_targetPtr + .asFunction(); - void spine_path_constraint_data_set_target( - spine_path_constraint_data data, - spine_slot_data target, - ) { - return _spine_path_constraint_data_set_target( - data, - target, - ); + void spine_path_constraint_data_set_target(spine_path_constraint_data data, spine_slot_data target) { + return _spine_path_constraint_data_set_target(data, target); } late final _spine_path_constraint_data_set_targetPtr = _lookup>( - 'spine_path_constraint_data_set_target'); + 'spine_path_constraint_data_set_target', + ); late final _spine_path_constraint_data_set_target = _spine_path_constraint_data_set_targetPtr .asFunction(); - int spine_path_constraint_data_get_position_mode( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_position_mode( - data, - ); + int spine_path_constraint_data_get_position_mode(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_position_mode(data); } late final _spine_path_constraint_data_get_position_modePtr = _lookup>( - 'spine_path_constraint_data_get_position_mode'); - late final _spine_path_constraint_data_get_position_mode = - _spine_path_constraint_data_get_position_modePtr.asFunction(); + 'spine_path_constraint_data_get_position_mode', + ); + late final _spine_path_constraint_data_get_position_mode = _spine_path_constraint_data_get_position_modePtr + .asFunction(); - void spine_path_constraint_data_set_position_mode( - spine_path_constraint_data data, - int positionMode, - ) { - return _spine_path_constraint_data_set_position_mode( - data, - positionMode, - ); + void spine_path_constraint_data_set_position_mode(spine_path_constraint_data data, int positionMode) { + return _spine_path_constraint_data_set_position_mode(data, positionMode); } late final _spine_path_constraint_data_set_position_modePtr = _lookup>( - 'spine_path_constraint_data_set_position_mode'); - late final _spine_path_constraint_data_set_position_mode = - _spine_path_constraint_data_set_position_modePtr.asFunction(); + 'spine_path_constraint_data_set_position_mode', + ); + late final _spine_path_constraint_data_set_position_mode = _spine_path_constraint_data_set_position_modePtr + .asFunction(); - int spine_path_constraint_data_get_spacing_mode( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_spacing_mode( - data, - ); + int spine_path_constraint_data_get_spacing_mode(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_spacing_mode(data); } late final _spine_path_constraint_data_get_spacing_modePtr = _lookup>( - 'spine_path_constraint_data_get_spacing_mode'); - late final _spine_path_constraint_data_get_spacing_mode = - _spine_path_constraint_data_get_spacing_modePtr.asFunction(); + 'spine_path_constraint_data_get_spacing_mode', + ); + late final _spine_path_constraint_data_get_spacing_mode = _spine_path_constraint_data_get_spacing_modePtr + .asFunction(); - void spine_path_constraint_data_set_spacing_mode( - spine_path_constraint_data data, - int spacingMode, - ) { - return _spine_path_constraint_data_set_spacing_mode( - data, - spacingMode, - ); + void spine_path_constraint_data_set_spacing_mode(spine_path_constraint_data data, int spacingMode) { + return _spine_path_constraint_data_set_spacing_mode(data, spacingMode); } late final _spine_path_constraint_data_set_spacing_modePtr = _lookup>( - 'spine_path_constraint_data_set_spacing_mode'); - late final _spine_path_constraint_data_set_spacing_mode = - _spine_path_constraint_data_set_spacing_modePtr.asFunction(); + 'spine_path_constraint_data_set_spacing_mode', + ); + late final _spine_path_constraint_data_set_spacing_mode = _spine_path_constraint_data_set_spacing_modePtr + .asFunction(); - int spine_path_constraint_data_get_rotate_mode( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_rotate_mode( - data, - ); + int spine_path_constraint_data_get_rotate_mode(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_rotate_mode(data); } late final _spine_path_constraint_data_get_rotate_modePtr = _lookup>( - 'spine_path_constraint_data_get_rotate_mode'); - late final _spine_path_constraint_data_get_rotate_mode = - _spine_path_constraint_data_get_rotate_modePtr.asFunction(); + 'spine_path_constraint_data_get_rotate_mode', + ); + late final _spine_path_constraint_data_get_rotate_mode = _spine_path_constraint_data_get_rotate_modePtr + .asFunction(); - void spine_path_constraint_data_set_rotate_mode( - spine_path_constraint_data data, - int rotateMode, - ) { - return _spine_path_constraint_data_set_rotate_mode( - data, - rotateMode, - ); + void spine_path_constraint_data_set_rotate_mode(spine_path_constraint_data data, int rotateMode) { + return _spine_path_constraint_data_set_rotate_mode(data, rotateMode); } late final _spine_path_constraint_data_set_rotate_modePtr = _lookup>( - 'spine_path_constraint_data_set_rotate_mode'); - late final _spine_path_constraint_data_set_rotate_mode = - _spine_path_constraint_data_set_rotate_modePtr.asFunction(); + 'spine_path_constraint_data_set_rotate_mode', + ); + late final _spine_path_constraint_data_set_rotate_mode = _spine_path_constraint_data_set_rotate_modePtr + .asFunction(); - double spine_path_constraint_data_get_offset_rotation( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_offset_rotation( - data, - ); + double spine_path_constraint_data_get_offset_rotation(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_offset_rotation(data); } late final _spine_path_constraint_data_get_offset_rotationPtr = _lookup>( - 'spine_path_constraint_data_get_offset_rotation'); - late final _spine_path_constraint_data_get_offset_rotation = - _spine_path_constraint_data_get_offset_rotationPtr.asFunction(); + 'spine_path_constraint_data_get_offset_rotation', + ); + late final _spine_path_constraint_data_get_offset_rotation = _spine_path_constraint_data_get_offset_rotationPtr + .asFunction(); - void spine_path_constraint_data_set_offset_rotation( - spine_path_constraint_data data, - double offsetRotation, - ) { - return _spine_path_constraint_data_set_offset_rotation( - data, - offsetRotation, - ); + void spine_path_constraint_data_set_offset_rotation(spine_path_constraint_data data, double offsetRotation) { + return _spine_path_constraint_data_set_offset_rotation(data, offsetRotation); } late final _spine_path_constraint_data_set_offset_rotationPtr = _lookup>( - 'spine_path_constraint_data_set_offset_rotation'); + 'spine_path_constraint_data_set_offset_rotation', + ); late final _spine_path_constraint_data_set_offset_rotation = _spine_path_constraint_data_set_offset_rotationPtr .asFunction(); - double spine_path_constraint_data_get_position( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_position( - data, - ); + double spine_path_constraint_data_get_position(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_position(data); } late final _spine_path_constraint_data_get_positionPtr = _lookup>( - 'spine_path_constraint_data_get_position'); - late final _spine_path_constraint_data_get_position = - _spine_path_constraint_data_get_positionPtr.asFunction(); + 'spine_path_constraint_data_get_position', + ); + late final _spine_path_constraint_data_get_position = _spine_path_constraint_data_get_positionPtr + .asFunction(); - void spine_path_constraint_data_set_position( - spine_path_constraint_data data, - double position, - ) { - return _spine_path_constraint_data_set_position( - data, - position, - ); + void spine_path_constraint_data_set_position(spine_path_constraint_data data, double position) { + return _spine_path_constraint_data_set_position(data, position); } late final _spine_path_constraint_data_set_positionPtr = _lookup>( - 'spine_path_constraint_data_set_position'); - late final _spine_path_constraint_data_set_position = - _spine_path_constraint_data_set_positionPtr.asFunction(); + 'spine_path_constraint_data_set_position', + ); + late final _spine_path_constraint_data_set_position = _spine_path_constraint_data_set_positionPtr + .asFunction(); - double spine_path_constraint_data_get_spacing( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_spacing( - data, - ); + double spine_path_constraint_data_get_spacing(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_spacing(data); } late final _spine_path_constraint_data_get_spacingPtr = _lookup>( - 'spine_path_constraint_data_get_spacing'); - late final _spine_path_constraint_data_get_spacing = - _spine_path_constraint_data_get_spacingPtr.asFunction(); + 'spine_path_constraint_data_get_spacing', + ); + late final _spine_path_constraint_data_get_spacing = _spine_path_constraint_data_get_spacingPtr + .asFunction(); - void spine_path_constraint_data_set_spacing( - spine_path_constraint_data data, - double spacing, - ) { - return _spine_path_constraint_data_set_spacing( - data, - spacing, - ); + void spine_path_constraint_data_set_spacing(spine_path_constraint_data data, double spacing) { + return _spine_path_constraint_data_set_spacing(data, spacing); } late final _spine_path_constraint_data_set_spacingPtr = _lookup>( - 'spine_path_constraint_data_set_spacing'); - late final _spine_path_constraint_data_set_spacing = - _spine_path_constraint_data_set_spacingPtr.asFunction(); + 'spine_path_constraint_data_set_spacing', + ); + late final _spine_path_constraint_data_set_spacing = _spine_path_constraint_data_set_spacingPtr + .asFunction(); - double spine_path_constraint_data_get_mix_rotate( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_mix_rotate( - data, - ); + double spine_path_constraint_data_get_mix_rotate(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_mix_rotate(data); } late final _spine_path_constraint_data_get_mix_rotatePtr = _lookup>( - 'spine_path_constraint_data_get_mix_rotate'); - late final _spine_path_constraint_data_get_mix_rotate = - _spine_path_constraint_data_get_mix_rotatePtr.asFunction(); + 'spine_path_constraint_data_get_mix_rotate', + ); + late final _spine_path_constraint_data_get_mix_rotate = _spine_path_constraint_data_get_mix_rotatePtr + .asFunction(); - void spine_path_constraint_data_set_mix_rotate( - spine_path_constraint_data data, - double mixRotate, - ) { - return _spine_path_constraint_data_set_mix_rotate( - data, - mixRotate, - ); + void spine_path_constraint_data_set_mix_rotate(spine_path_constraint_data data, double mixRotate) { + return _spine_path_constraint_data_set_mix_rotate(data, mixRotate); } late final _spine_path_constraint_data_set_mix_rotatePtr = _lookup>( - 'spine_path_constraint_data_set_mix_rotate'); - late final _spine_path_constraint_data_set_mix_rotate = - _spine_path_constraint_data_set_mix_rotatePtr.asFunction(); + 'spine_path_constraint_data_set_mix_rotate', + ); + late final _spine_path_constraint_data_set_mix_rotate = _spine_path_constraint_data_set_mix_rotatePtr + .asFunction(); - double spine_path_constraint_data_get_mix_x( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_mix_x( - data, - ); + double spine_path_constraint_data_get_mix_x(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_mix_x(data); } late final _spine_path_constraint_data_get_mix_xPtr = _lookup>( - 'spine_path_constraint_data_get_mix_x'); - late final _spine_path_constraint_data_get_mix_x = - _spine_path_constraint_data_get_mix_xPtr.asFunction(); + 'spine_path_constraint_data_get_mix_x', + ); + late final _spine_path_constraint_data_get_mix_x = _spine_path_constraint_data_get_mix_xPtr + .asFunction(); - void spine_path_constraint_data_set_mix_x( - spine_path_constraint_data data, - double mixX, - ) { - return _spine_path_constraint_data_set_mix_x( - data, - mixX, - ); + void spine_path_constraint_data_set_mix_x(spine_path_constraint_data data, double mixX) { + return _spine_path_constraint_data_set_mix_x(data, mixX); } late final _spine_path_constraint_data_set_mix_xPtr = _lookup>( - 'spine_path_constraint_data_set_mix_x'); - late final _spine_path_constraint_data_set_mix_x = - _spine_path_constraint_data_set_mix_xPtr.asFunction(); + 'spine_path_constraint_data_set_mix_x', + ); + late final _spine_path_constraint_data_set_mix_x = _spine_path_constraint_data_set_mix_xPtr + .asFunction(); - double spine_path_constraint_data_get_mix_y( - spine_path_constraint_data data, - ) { - return _spine_path_constraint_data_get_mix_y( - data, - ); + double spine_path_constraint_data_get_mix_y(spine_path_constraint_data data) { + return _spine_path_constraint_data_get_mix_y(data); } late final _spine_path_constraint_data_get_mix_yPtr = _lookup>( - 'spine_path_constraint_data_get_mix_y'); - late final _spine_path_constraint_data_get_mix_y = - _spine_path_constraint_data_get_mix_yPtr.asFunction(); + 'spine_path_constraint_data_get_mix_y', + ); + late final _spine_path_constraint_data_get_mix_y = _spine_path_constraint_data_get_mix_yPtr + .asFunction(); - void spine_path_constraint_data_set_mix_y( - spine_path_constraint_data data, - double mixY, - ) { - return _spine_path_constraint_data_set_mix_y( - data, - mixY, - ); + void spine_path_constraint_data_set_mix_y(spine_path_constraint_data data, double mixY) { + return _spine_path_constraint_data_set_mix_y(data, mixY); } late final _spine_path_constraint_data_set_mix_yPtr = _lookup>( - 'spine_path_constraint_data_set_mix_y'); - late final _spine_path_constraint_data_set_mix_y = - _spine_path_constraint_data_set_mix_yPtr.asFunction(); + 'spine_path_constraint_data_set_mix_y', + ); + late final _spine_path_constraint_data_set_mix_y = _spine_path_constraint_data_set_mix_yPtr + .asFunction(); - void spine_path_constraint_update( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_update( - constraint, - ); + void spine_path_constraint_update(spine_path_constraint constraint) { + return _spine_path_constraint_update(constraint); } - late final _spine_path_constraint_updatePtr = - _lookup>('spine_path_constraint_update'); - late final _spine_path_constraint_update = - _spine_path_constraint_updatePtr.asFunction(); + late final _spine_path_constraint_updatePtr = _lookup>( + 'spine_path_constraint_update', + ); + late final _spine_path_constraint_update = _spine_path_constraint_updatePtr + .asFunction(); - int spine_path_constraint_get_order( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_order( - constraint, - ); + int spine_path_constraint_get_order(spine_path_constraint constraint) { + return _spine_path_constraint_get_order(constraint); } late final _spine_path_constraint_get_orderPtr = _lookup>('spine_path_constraint_get_order'); - late final _spine_path_constraint_get_order = - _spine_path_constraint_get_orderPtr.asFunction(); + late final _spine_path_constraint_get_order = _spine_path_constraint_get_orderPtr + .asFunction(); - spine_path_constraint_data spine_path_constraint_get_data( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_data( - constraint, - ); + spine_path_constraint_data spine_path_constraint_get_data(spine_path_constraint constraint) { + return _spine_path_constraint_get_data(constraint); } late final _spine_path_constraint_get_dataPtr = _lookup>( - 'spine_path_constraint_get_data'); - late final _spine_path_constraint_get_data = - _spine_path_constraint_get_dataPtr.asFunction(); + 'spine_path_constraint_get_data', + ); + late final _spine_path_constraint_get_data = _spine_path_constraint_get_dataPtr + .asFunction(); - int spine_path_constraint_get_num_bones( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_num_bones( - constraint, - ); + int spine_path_constraint_get_num_bones(spine_path_constraint constraint) { + return _spine_path_constraint_get_num_bones(constraint); } late final _spine_path_constraint_get_num_bonesPtr = _lookup>('spine_path_constraint_get_num_bones'); - late final _spine_path_constraint_get_num_bones = - _spine_path_constraint_get_num_bonesPtr.asFunction(); + late final _spine_path_constraint_get_num_bones = _spine_path_constraint_get_num_bonesPtr + .asFunction(); - ffi.Pointer spine_path_constraint_get_bones( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_bones( - constraint, - ); + ffi.Pointer spine_path_constraint_get_bones(spine_path_constraint constraint) { + return _spine_path_constraint_get_bones(constraint); } late final _spine_path_constraint_get_bonesPtr = _lookup Function(spine_path_constraint)>>( - 'spine_path_constraint_get_bones'); - late final _spine_path_constraint_get_bones = - _spine_path_constraint_get_bonesPtr.asFunction Function(spine_path_constraint)>(); + 'spine_path_constraint_get_bones', + ); + late final _spine_path_constraint_get_bones = _spine_path_constraint_get_bonesPtr + .asFunction Function(spine_path_constraint)>(); - spine_slot spine_path_constraint_get_target( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_target( - constraint, - ); + spine_slot spine_path_constraint_get_target(spine_path_constraint constraint) { + return _spine_path_constraint_get_target(constraint); } late final _spine_path_constraint_get_targetPtr = _lookup>('spine_path_constraint_get_target'); - late final _spine_path_constraint_get_target = - _spine_path_constraint_get_targetPtr.asFunction(); + late final _spine_path_constraint_get_target = _spine_path_constraint_get_targetPtr + .asFunction(); - void spine_path_constraint_set_target( - spine_path_constraint constraint, - spine_slot target, - ) { - return _spine_path_constraint_set_target( - constraint, - target, - ); + void spine_path_constraint_set_target(spine_path_constraint constraint, spine_slot target) { + return _spine_path_constraint_set_target(constraint, target); } late final _spine_path_constraint_set_targetPtr = _lookup>( - 'spine_path_constraint_set_target'); - late final _spine_path_constraint_set_target = - _spine_path_constraint_set_targetPtr.asFunction(); + 'spine_path_constraint_set_target', + ); + late final _spine_path_constraint_set_target = _spine_path_constraint_set_targetPtr + .asFunction(); - double spine_path_constraint_get_position( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_position( - constraint, - ); + double spine_path_constraint_get_position(spine_path_constraint constraint) { + return _spine_path_constraint_get_position(constraint); } late final _spine_path_constraint_get_positionPtr = _lookup>('spine_path_constraint_get_position'); - late final _spine_path_constraint_get_position = - _spine_path_constraint_get_positionPtr.asFunction(); + late final _spine_path_constraint_get_position = _spine_path_constraint_get_positionPtr + .asFunction(); - void spine_path_constraint_set_position( - spine_path_constraint constraint, - double position, - ) { - return _spine_path_constraint_set_position( - constraint, - position, - ); + void spine_path_constraint_set_position(spine_path_constraint constraint, double position) { + return _spine_path_constraint_set_position(constraint, position); } late final _spine_path_constraint_set_positionPtr = _lookup>( - 'spine_path_constraint_set_position'); - late final _spine_path_constraint_set_position = - _spine_path_constraint_set_positionPtr.asFunction(); + 'spine_path_constraint_set_position', + ); + late final _spine_path_constraint_set_position = _spine_path_constraint_set_positionPtr + .asFunction(); - double spine_path_constraint_get_spacing( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_spacing( - constraint, - ); + double spine_path_constraint_get_spacing(spine_path_constraint constraint) { + return _spine_path_constraint_get_spacing(constraint); } late final _spine_path_constraint_get_spacingPtr = _lookup>('spine_path_constraint_get_spacing'); - late final _spine_path_constraint_get_spacing = - _spine_path_constraint_get_spacingPtr.asFunction(); + late final _spine_path_constraint_get_spacing = _spine_path_constraint_get_spacingPtr + .asFunction(); - void spine_path_constraint_set_spacing( - spine_path_constraint constraint, - double spacing, - ) { - return _spine_path_constraint_set_spacing( - constraint, - spacing, - ); + void spine_path_constraint_set_spacing(spine_path_constraint constraint, double spacing) { + return _spine_path_constraint_set_spacing(constraint, spacing); } late final _spine_path_constraint_set_spacingPtr = _lookup>( - 'spine_path_constraint_set_spacing'); - late final _spine_path_constraint_set_spacing = - _spine_path_constraint_set_spacingPtr.asFunction(); + 'spine_path_constraint_set_spacing', + ); + late final _spine_path_constraint_set_spacing = _spine_path_constraint_set_spacingPtr + .asFunction(); - double spine_path_constraint_get_mix_rotate( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_mix_rotate( - constraint, - ); + double spine_path_constraint_get_mix_rotate(spine_path_constraint constraint) { + return _spine_path_constraint_get_mix_rotate(constraint); } late final _spine_path_constraint_get_mix_rotatePtr = _lookup>('spine_path_constraint_get_mix_rotate'); - late final _spine_path_constraint_get_mix_rotate = - _spine_path_constraint_get_mix_rotatePtr.asFunction(); + late final _spine_path_constraint_get_mix_rotate = _spine_path_constraint_get_mix_rotatePtr + .asFunction(); - void spine_path_constraint_set_mix_rotate( - spine_path_constraint constraint, - double mixRotate, - ) { - return _spine_path_constraint_set_mix_rotate( - constraint, - mixRotate, - ); + void spine_path_constraint_set_mix_rotate(spine_path_constraint constraint, double mixRotate) { + return _spine_path_constraint_set_mix_rotate(constraint, mixRotate); } late final _spine_path_constraint_set_mix_rotatePtr = _lookup>( - 'spine_path_constraint_set_mix_rotate'); - late final _spine_path_constraint_set_mix_rotate = - _spine_path_constraint_set_mix_rotatePtr.asFunction(); + 'spine_path_constraint_set_mix_rotate', + ); + late final _spine_path_constraint_set_mix_rotate = _spine_path_constraint_set_mix_rotatePtr + .asFunction(); - double spine_path_constraint_get_mix_x( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_mix_x( - constraint, - ); + double spine_path_constraint_get_mix_x(spine_path_constraint constraint) { + return _spine_path_constraint_get_mix_x(constraint); } late final _spine_path_constraint_get_mix_xPtr = _lookup>('spine_path_constraint_get_mix_x'); - late final _spine_path_constraint_get_mix_x = - _spine_path_constraint_get_mix_xPtr.asFunction(); + late final _spine_path_constraint_get_mix_x = _spine_path_constraint_get_mix_xPtr + .asFunction(); - void spine_path_constraint_set_mix_x( - spine_path_constraint constraint, - double mixX, - ) { - return _spine_path_constraint_set_mix_x( - constraint, - mixX, - ); + void spine_path_constraint_set_mix_x(spine_path_constraint constraint, double mixX) { + return _spine_path_constraint_set_mix_x(constraint, mixX); } late final _spine_path_constraint_set_mix_xPtr = _lookup>( - 'spine_path_constraint_set_mix_x'); - late final _spine_path_constraint_set_mix_x = - _spine_path_constraint_set_mix_xPtr.asFunction(); + 'spine_path_constraint_set_mix_x', + ); + late final _spine_path_constraint_set_mix_x = _spine_path_constraint_set_mix_xPtr + .asFunction(); - double spine_path_constraint_get_mix_y( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_mix_y( - constraint, - ); + double spine_path_constraint_get_mix_y(spine_path_constraint constraint) { + return _spine_path_constraint_get_mix_y(constraint); } late final _spine_path_constraint_get_mix_yPtr = _lookup>('spine_path_constraint_get_mix_y'); - late final _spine_path_constraint_get_mix_y = - _spine_path_constraint_get_mix_yPtr.asFunction(); + late final _spine_path_constraint_get_mix_y = _spine_path_constraint_get_mix_yPtr + .asFunction(); - void spine_path_constraint_set_mix_y( - spine_path_constraint constraint, - double mixY, - ) { - return _spine_path_constraint_set_mix_y( - constraint, - mixY, - ); + void spine_path_constraint_set_mix_y(spine_path_constraint constraint, double mixY) { + return _spine_path_constraint_set_mix_y(constraint, mixY); } late final _spine_path_constraint_set_mix_yPtr = _lookup>( - 'spine_path_constraint_set_mix_y'); - late final _spine_path_constraint_set_mix_y = - _spine_path_constraint_set_mix_yPtr.asFunction(); + 'spine_path_constraint_set_mix_y', + ); + late final _spine_path_constraint_set_mix_y = _spine_path_constraint_set_mix_yPtr + .asFunction(); - int spine_path_constraint_get_is_active( - spine_path_constraint constraint, - ) { - return _spine_path_constraint_get_is_active( - constraint, - ); + int spine_path_constraint_get_is_active(spine_path_constraint constraint) { + return _spine_path_constraint_get_is_active(constraint); } late final _spine_path_constraint_get_is_activePtr = _lookup>('spine_path_constraint_get_is_active'); - late final _spine_path_constraint_get_is_active = - _spine_path_constraint_get_is_activePtr.asFunction(); + late final _spine_path_constraint_get_is_active = _spine_path_constraint_get_is_activePtr + .asFunction(); - void spine_path_constraint_set_is_active( - spine_path_constraint constraint, - int isActive, - ) { - return _spine_path_constraint_set_is_active( - constraint, - isActive, - ); + void spine_path_constraint_set_is_active(spine_path_constraint constraint, int isActive) { + return _spine_path_constraint_set_is_active(constraint, isActive); } late final _spine_path_constraint_set_is_activePtr = _lookup>( - 'spine_path_constraint_set_is_active'); - late final _spine_path_constraint_set_is_active = - _spine_path_constraint_set_is_activePtr.asFunction(); + 'spine_path_constraint_set_is_active', + ); + late final _spine_path_constraint_set_is_active = _spine_path_constraint_set_is_activePtr + .asFunction(); /// OMITTED setToSetupPose() - void spine_physics_constraint_data_set_bone( - spine_physics_constraint_data data, - spine_bone_data bone, - ) { - return _spine_physics_constraint_data_set_bone( - data, - bone, - ); + void spine_physics_constraint_data_set_bone(spine_physics_constraint_data data, spine_bone_data bone) { + return _spine_physics_constraint_data_set_bone(data, bone); } late final _spine_physics_constraint_data_set_bonePtr = _lookup>( - 'spine_physics_constraint_data_set_bone'); + 'spine_physics_constraint_data_set_bone', + ); late final _spine_physics_constraint_data_set_bone = _spine_physics_constraint_data_set_bonePtr .asFunction(); - spine_bone_data spine_physics_constraint_data_get_bone( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_bone( - data, - ); + spine_bone_data spine_physics_constraint_data_get_bone(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_bone(data); } late final _spine_physics_constraint_data_get_bonePtr = _lookup>( - 'spine_physics_constraint_data_get_bone'); - late final _spine_physics_constraint_data_get_bone = - _spine_physics_constraint_data_get_bonePtr.asFunction(); + 'spine_physics_constraint_data_get_bone', + ); + late final _spine_physics_constraint_data_get_bone = _spine_physics_constraint_data_get_bonePtr + .asFunction(); - void spine_physics_constraint_data_set_x( - spine_physics_constraint_data data, - double x, - ) { - return _spine_physics_constraint_data_set_x( - data, - x, - ); + void spine_physics_constraint_data_set_x(spine_physics_constraint_data data, double x) { + return _spine_physics_constraint_data_set_x(data, x); } late final _spine_physics_constraint_data_set_xPtr = _lookup>( - 'spine_physics_constraint_data_set_x'); - late final _spine_physics_constraint_data_set_x = - _spine_physics_constraint_data_set_xPtr.asFunction(); + 'spine_physics_constraint_data_set_x', + ); + late final _spine_physics_constraint_data_set_x = _spine_physics_constraint_data_set_xPtr + .asFunction(); - double spine_physics_constraint_data_get_x( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_x( - data, - ); + double spine_physics_constraint_data_get_x(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_x(data); } late final _spine_physics_constraint_data_get_xPtr = _lookup>( - 'spine_physics_constraint_data_get_x'); - late final _spine_physics_constraint_data_get_x = - _spine_physics_constraint_data_get_xPtr.asFunction(); + 'spine_physics_constraint_data_get_x', + ); + late final _spine_physics_constraint_data_get_x = _spine_physics_constraint_data_get_xPtr + .asFunction(); - void spine_physics_constraint_data_set_y( - spine_physics_constraint_data data, - double y, - ) { - return _spine_physics_constraint_data_set_y( - data, - y, - ); + void spine_physics_constraint_data_set_y(spine_physics_constraint_data data, double y) { + return _spine_physics_constraint_data_set_y(data, y); } late final _spine_physics_constraint_data_set_yPtr = _lookup>( - 'spine_physics_constraint_data_set_y'); - late final _spine_physics_constraint_data_set_y = - _spine_physics_constraint_data_set_yPtr.asFunction(); + 'spine_physics_constraint_data_set_y', + ); + late final _spine_physics_constraint_data_set_y = _spine_physics_constraint_data_set_yPtr + .asFunction(); - double spine_physics_constraint_data_get_y( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_y( - data, - ); + double spine_physics_constraint_data_get_y(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_y(data); } late final _spine_physics_constraint_data_get_yPtr = _lookup>( - 'spine_physics_constraint_data_get_y'); - late final _spine_physics_constraint_data_get_y = - _spine_physics_constraint_data_get_yPtr.asFunction(); + 'spine_physics_constraint_data_get_y', + ); + late final _spine_physics_constraint_data_get_y = _spine_physics_constraint_data_get_yPtr + .asFunction(); - void spine_physics_constraint_data_set_rotate( - spine_physics_constraint_data data, - double rotate, - ) { - return _spine_physics_constraint_data_set_rotate( - data, - rotate, - ); + void spine_physics_constraint_data_set_rotate(spine_physics_constraint_data data, double rotate) { + return _spine_physics_constraint_data_set_rotate(data, rotate); } late final _spine_physics_constraint_data_set_rotatePtr = _lookup>( - 'spine_physics_constraint_data_set_rotate'); - late final _spine_physics_constraint_data_set_rotate = - _spine_physics_constraint_data_set_rotatePtr.asFunction(); + 'spine_physics_constraint_data_set_rotate', + ); + late final _spine_physics_constraint_data_set_rotate = _spine_physics_constraint_data_set_rotatePtr + .asFunction(); - double spine_physics_constraint_data_get_rotate( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_rotate( - data, - ); + double spine_physics_constraint_data_get_rotate(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_rotate(data); } late final _spine_physics_constraint_data_get_rotatePtr = _lookup>( - 'spine_physics_constraint_data_get_rotate'); - late final _spine_physics_constraint_data_get_rotate = - _spine_physics_constraint_data_get_rotatePtr.asFunction(); + 'spine_physics_constraint_data_get_rotate', + ); + late final _spine_physics_constraint_data_get_rotate = _spine_physics_constraint_data_get_rotatePtr + .asFunction(); - void spine_physics_constraint_data_set_scale_x( - spine_physics_constraint_data data, - double scaleX, - ) { - return _spine_physics_constraint_data_set_scale_x( - data, - scaleX, - ); + void spine_physics_constraint_data_set_scale_x(spine_physics_constraint_data data, double scaleX) { + return _spine_physics_constraint_data_set_scale_x(data, scaleX); } late final _spine_physics_constraint_data_set_scale_xPtr = _lookup>( - 'spine_physics_constraint_data_set_scale_x'); - late final _spine_physics_constraint_data_set_scale_x = - _spine_physics_constraint_data_set_scale_xPtr.asFunction(); + 'spine_physics_constraint_data_set_scale_x', + ); + late final _spine_physics_constraint_data_set_scale_x = _spine_physics_constraint_data_set_scale_xPtr + .asFunction(); - double spine_physics_constraint_data_get_scale_x( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_scale_x( - data, - ); + double spine_physics_constraint_data_get_scale_x(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_scale_x(data); } late final _spine_physics_constraint_data_get_scale_xPtr = _lookup>( - 'spine_physics_constraint_data_get_scale_x'); - late final _spine_physics_constraint_data_get_scale_x = - _spine_physics_constraint_data_get_scale_xPtr.asFunction(); + 'spine_physics_constraint_data_get_scale_x', + ); + late final _spine_physics_constraint_data_get_scale_x = _spine_physics_constraint_data_get_scale_xPtr + .asFunction(); - void spine_physics_constraint_data_set_shear_x( - spine_physics_constraint_data data, - double shearX, - ) { - return _spine_physics_constraint_data_set_shear_x( - data, - shearX, - ); + void spine_physics_constraint_data_set_shear_x(spine_physics_constraint_data data, double shearX) { + return _spine_physics_constraint_data_set_shear_x(data, shearX); } late final _spine_physics_constraint_data_set_shear_xPtr = _lookup>( - 'spine_physics_constraint_data_set_shear_x'); - late final _spine_physics_constraint_data_set_shear_x = - _spine_physics_constraint_data_set_shear_xPtr.asFunction(); + 'spine_physics_constraint_data_set_shear_x', + ); + late final _spine_physics_constraint_data_set_shear_x = _spine_physics_constraint_data_set_shear_xPtr + .asFunction(); - double spine_physics_constraint_data_get_shear_x( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_shear_x( - data, - ); + double spine_physics_constraint_data_get_shear_x(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_shear_x(data); } late final _spine_physics_constraint_data_get_shear_xPtr = _lookup>( - 'spine_physics_constraint_data_get_shear_x'); - late final _spine_physics_constraint_data_get_shear_x = - _spine_physics_constraint_data_get_shear_xPtr.asFunction(); + 'spine_physics_constraint_data_get_shear_x', + ); + late final _spine_physics_constraint_data_get_shear_x = _spine_physics_constraint_data_get_shear_xPtr + .asFunction(); - void spine_physics_constraint_data_set_limit( - spine_physics_constraint_data data, - double limit, - ) { - return _spine_physics_constraint_data_set_limit( - data, - limit, - ); + void spine_physics_constraint_data_set_limit(spine_physics_constraint_data data, double limit) { + return _spine_physics_constraint_data_set_limit(data, limit); } late final _spine_physics_constraint_data_set_limitPtr = _lookup>( - 'spine_physics_constraint_data_set_limit'); - late final _spine_physics_constraint_data_set_limit = - _spine_physics_constraint_data_set_limitPtr.asFunction(); + 'spine_physics_constraint_data_set_limit', + ); + late final _spine_physics_constraint_data_set_limit = _spine_physics_constraint_data_set_limitPtr + .asFunction(); - double spine_physics_constraint_data_get_limit( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_limit( - data, - ); + double spine_physics_constraint_data_get_limit(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_limit(data); } late final _spine_physics_constraint_data_get_limitPtr = _lookup>( - 'spine_physics_constraint_data_get_limit'); - late final _spine_physics_constraint_data_get_limit = - _spine_physics_constraint_data_get_limitPtr.asFunction(); + 'spine_physics_constraint_data_get_limit', + ); + late final _spine_physics_constraint_data_get_limit = _spine_physics_constraint_data_get_limitPtr + .asFunction(); - void spine_physics_constraint_data_set_step( - spine_physics_constraint_data data, - double step, - ) { - return _spine_physics_constraint_data_set_step( - data, - step, - ); + void spine_physics_constraint_data_set_step(spine_physics_constraint_data data, double step) { + return _spine_physics_constraint_data_set_step(data, step); } late final _spine_physics_constraint_data_set_stepPtr = _lookup>( - 'spine_physics_constraint_data_set_step'); - late final _spine_physics_constraint_data_set_step = - _spine_physics_constraint_data_set_stepPtr.asFunction(); + 'spine_physics_constraint_data_set_step', + ); + late final _spine_physics_constraint_data_set_step = _spine_physics_constraint_data_set_stepPtr + .asFunction(); - double spine_physics_constraint_data_get_step( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_step( - data, - ); + double spine_physics_constraint_data_get_step(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_step(data); } late final _spine_physics_constraint_data_get_stepPtr = _lookup>( - 'spine_physics_constraint_data_get_step'); - late final _spine_physics_constraint_data_get_step = - _spine_physics_constraint_data_get_stepPtr.asFunction(); + 'spine_physics_constraint_data_get_step', + ); + late final _spine_physics_constraint_data_get_step = _spine_physics_constraint_data_get_stepPtr + .asFunction(); - void spine_physics_constraint_data_set_inertia( - spine_physics_constraint_data data, - double inertia, - ) { - return _spine_physics_constraint_data_set_inertia( - data, - inertia, - ); + void spine_physics_constraint_data_set_inertia(spine_physics_constraint_data data, double inertia) { + return _spine_physics_constraint_data_set_inertia(data, inertia); } late final _spine_physics_constraint_data_set_inertiaPtr = _lookup>( - 'spine_physics_constraint_data_set_inertia'); - late final _spine_physics_constraint_data_set_inertia = - _spine_physics_constraint_data_set_inertiaPtr.asFunction(); + 'spine_physics_constraint_data_set_inertia', + ); + late final _spine_physics_constraint_data_set_inertia = _spine_physics_constraint_data_set_inertiaPtr + .asFunction(); - double spine_physics_constraint_data_get_inertia( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_inertia( - data, - ); + double spine_physics_constraint_data_get_inertia(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_inertia(data); } late final _spine_physics_constraint_data_get_inertiaPtr = _lookup>( - 'spine_physics_constraint_data_get_inertia'); - late final _spine_physics_constraint_data_get_inertia = - _spine_physics_constraint_data_get_inertiaPtr.asFunction(); + 'spine_physics_constraint_data_get_inertia', + ); + late final _spine_physics_constraint_data_get_inertia = _spine_physics_constraint_data_get_inertiaPtr + .asFunction(); - void spine_physics_constraint_data_set_strength( - spine_physics_constraint_data data, - double strength, - ) { - return _spine_physics_constraint_data_set_strength( - data, - strength, - ); + void spine_physics_constraint_data_set_strength(spine_physics_constraint_data data, double strength) { + return _spine_physics_constraint_data_set_strength(data, strength); } late final _spine_physics_constraint_data_set_strengthPtr = _lookup>( - 'spine_physics_constraint_data_set_strength'); - late final _spine_physics_constraint_data_set_strength = - _spine_physics_constraint_data_set_strengthPtr.asFunction(); + 'spine_physics_constraint_data_set_strength', + ); + late final _spine_physics_constraint_data_set_strength = _spine_physics_constraint_data_set_strengthPtr + .asFunction(); - double spine_physics_constraint_data_get_strength( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_strength( - data, - ); + double spine_physics_constraint_data_get_strength(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_strength(data); } late final _spine_physics_constraint_data_get_strengthPtr = _lookup>( - 'spine_physics_constraint_data_get_strength'); - late final _spine_physics_constraint_data_get_strength = - _spine_physics_constraint_data_get_strengthPtr.asFunction(); + 'spine_physics_constraint_data_get_strength', + ); + late final _spine_physics_constraint_data_get_strength = _spine_physics_constraint_data_get_strengthPtr + .asFunction(); - void spine_physics_constraint_data_set_damping( - spine_physics_constraint_data data, - double damping, - ) { - return _spine_physics_constraint_data_set_damping( - data, - damping, - ); + void spine_physics_constraint_data_set_damping(spine_physics_constraint_data data, double damping) { + return _spine_physics_constraint_data_set_damping(data, damping); } late final _spine_physics_constraint_data_set_dampingPtr = _lookup>( - 'spine_physics_constraint_data_set_damping'); - late final _spine_physics_constraint_data_set_damping = - _spine_physics_constraint_data_set_dampingPtr.asFunction(); + 'spine_physics_constraint_data_set_damping', + ); + late final _spine_physics_constraint_data_set_damping = _spine_physics_constraint_data_set_dampingPtr + .asFunction(); - double spine_physics_constraint_data_get_damping( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_damping( - data, - ); + double spine_physics_constraint_data_get_damping(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_damping(data); } late final _spine_physics_constraint_data_get_dampingPtr = _lookup>( - 'spine_physics_constraint_data_get_damping'); - late final _spine_physics_constraint_data_get_damping = - _spine_physics_constraint_data_get_dampingPtr.asFunction(); + 'spine_physics_constraint_data_get_damping', + ); + late final _spine_physics_constraint_data_get_damping = _spine_physics_constraint_data_get_dampingPtr + .asFunction(); - void spine_physics_constraint_data_set_mass_inverse( - spine_physics_constraint_data data, - double massInverse, - ) { - return _spine_physics_constraint_data_set_mass_inverse( - data, - massInverse, - ); + void spine_physics_constraint_data_set_mass_inverse(spine_physics_constraint_data data, double massInverse) { + return _spine_physics_constraint_data_set_mass_inverse(data, massInverse); } late final _spine_physics_constraint_data_set_mass_inversePtr = _lookup>( - 'spine_physics_constraint_data_set_mass_inverse'); + 'spine_physics_constraint_data_set_mass_inverse', + ); late final _spine_physics_constraint_data_set_mass_inverse = _spine_physics_constraint_data_set_mass_inversePtr .asFunction(); - double spine_physics_constraint_data_get_mass_inverse( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_mass_inverse( - data, - ); + double spine_physics_constraint_data_get_mass_inverse(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_mass_inverse(data); } late final _spine_physics_constraint_data_get_mass_inversePtr = _lookup>( - 'spine_physics_constraint_data_get_mass_inverse'); - late final _spine_physics_constraint_data_get_mass_inverse = - _spine_physics_constraint_data_get_mass_inversePtr.asFunction(); + 'spine_physics_constraint_data_get_mass_inverse', + ); + late final _spine_physics_constraint_data_get_mass_inverse = _spine_physics_constraint_data_get_mass_inversePtr + .asFunction(); - void spine_physics_constraint_data_set_wind( - spine_physics_constraint_data data, - double wind, - ) { - return _spine_physics_constraint_data_set_wind( - data, - wind, - ); + void spine_physics_constraint_data_set_wind(spine_physics_constraint_data data, double wind) { + return _spine_physics_constraint_data_set_wind(data, wind); } late final _spine_physics_constraint_data_set_windPtr = _lookup>( - 'spine_physics_constraint_data_set_wind'); - late final _spine_physics_constraint_data_set_wind = - _spine_physics_constraint_data_set_windPtr.asFunction(); + 'spine_physics_constraint_data_set_wind', + ); + late final _spine_physics_constraint_data_set_wind = _spine_physics_constraint_data_set_windPtr + .asFunction(); - double spine_physics_constraint_data_get_wind( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_wind( - data, - ); + double spine_physics_constraint_data_get_wind(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_wind(data); } late final _spine_physics_constraint_data_get_windPtr = _lookup>( - 'spine_physics_constraint_data_get_wind'); - late final _spine_physics_constraint_data_get_wind = - _spine_physics_constraint_data_get_windPtr.asFunction(); + 'spine_physics_constraint_data_get_wind', + ); + late final _spine_physics_constraint_data_get_wind = _spine_physics_constraint_data_get_windPtr + .asFunction(); - void spine_physics_constraint_data_set_gravity( - spine_physics_constraint_data data, - double gravity, - ) { - return _spine_physics_constraint_data_set_gravity( - data, - gravity, - ); + void spine_physics_constraint_data_set_gravity(spine_physics_constraint_data data, double gravity) { + return _spine_physics_constraint_data_set_gravity(data, gravity); } late final _spine_physics_constraint_data_set_gravityPtr = _lookup>( - 'spine_physics_constraint_data_set_gravity'); - late final _spine_physics_constraint_data_set_gravity = - _spine_physics_constraint_data_set_gravityPtr.asFunction(); + 'spine_physics_constraint_data_set_gravity', + ); + late final _spine_physics_constraint_data_set_gravity = _spine_physics_constraint_data_set_gravityPtr + .asFunction(); - double spine_physics_constraint_data_get_gravity( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_gravity( - data, - ); + double spine_physics_constraint_data_get_gravity(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_gravity(data); } late final _spine_physics_constraint_data_get_gravityPtr = _lookup>( - 'spine_physics_constraint_data_get_gravity'); - late final _spine_physics_constraint_data_get_gravity = - _spine_physics_constraint_data_get_gravityPtr.asFunction(); + 'spine_physics_constraint_data_get_gravity', + ); + late final _spine_physics_constraint_data_get_gravity = _spine_physics_constraint_data_get_gravityPtr + .asFunction(); - void spine_physics_constraint_data_set_mix( - spine_physics_constraint_data data, - double mix, - ) { - return _spine_physics_constraint_data_set_mix( - data, - mix, - ); + void spine_physics_constraint_data_set_mix(spine_physics_constraint_data data, double mix) { + return _spine_physics_constraint_data_set_mix(data, mix); } late final _spine_physics_constraint_data_set_mixPtr = _lookup>( - 'spine_physics_constraint_data_set_mix'); - late final _spine_physics_constraint_data_set_mix = - _spine_physics_constraint_data_set_mixPtr.asFunction(); + 'spine_physics_constraint_data_set_mix', + ); + late final _spine_physics_constraint_data_set_mix = _spine_physics_constraint_data_set_mixPtr + .asFunction(); - double spine_physics_constraint_data_get_mix( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_get_mix( - data, - ); + double spine_physics_constraint_data_get_mix(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_get_mix(data); } late final _spine_physics_constraint_data_get_mixPtr = _lookup>( - 'spine_physics_constraint_data_get_mix'); - late final _spine_physics_constraint_data_get_mix = - _spine_physics_constraint_data_get_mixPtr.asFunction(); + 'spine_physics_constraint_data_get_mix', + ); + late final _spine_physics_constraint_data_get_mix = _spine_physics_constraint_data_get_mixPtr + .asFunction(); - void spine_physics_constraint_data_set_inertia_global( - spine_physics_constraint_data data, - int inertiaGlobal, - ) { - return _spine_physics_constraint_data_set_inertia_global( - data, - inertiaGlobal, - ); + void spine_physics_constraint_data_set_inertia_global(spine_physics_constraint_data data, int inertiaGlobal) { + return _spine_physics_constraint_data_set_inertia_global(data, inertiaGlobal); } late final _spine_physics_constraint_data_set_inertia_globalPtr = _lookup>( - 'spine_physics_constraint_data_set_inertia_global'); + 'spine_physics_constraint_data_set_inertia_global', + ); late final _spine_physics_constraint_data_set_inertia_global = _spine_physics_constraint_data_set_inertia_globalPtr .asFunction(); - int spine_physics_constraint_data_is_inertia_global( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_is_inertia_global( - data, - ); + int spine_physics_constraint_data_is_inertia_global(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_is_inertia_global(data); } late final _spine_physics_constraint_data_is_inertia_globalPtr = _lookup>( - 'spine_physics_constraint_data_is_inertia_global'); - late final _spine_physics_constraint_data_is_inertia_global = - _spine_physics_constraint_data_is_inertia_globalPtr.asFunction(); + 'spine_physics_constraint_data_is_inertia_global', + ); + late final _spine_physics_constraint_data_is_inertia_global = _spine_physics_constraint_data_is_inertia_globalPtr + .asFunction(); - void spine_physics_constraint_data_set_strength_global( - spine_physics_constraint_data data, - int strengthGlobal, - ) { - return _spine_physics_constraint_data_set_strength_global( - data, - strengthGlobal, - ); + void spine_physics_constraint_data_set_strength_global(spine_physics_constraint_data data, int strengthGlobal) { + return _spine_physics_constraint_data_set_strength_global(data, strengthGlobal); } late final _spine_physics_constraint_data_set_strength_globalPtr = _lookup>( - 'spine_physics_constraint_data_set_strength_global'); + 'spine_physics_constraint_data_set_strength_global', + ); late final _spine_physics_constraint_data_set_strength_global = _spine_physics_constraint_data_set_strength_globalPtr .asFunction(); - int spine_physics_constraint_data_is_strength_global( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_is_strength_global( - data, - ); + int spine_physics_constraint_data_is_strength_global(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_is_strength_global(data); } late final _spine_physics_constraint_data_is_strength_globalPtr = _lookup>( - 'spine_physics_constraint_data_is_strength_global'); - late final _spine_physics_constraint_data_is_strength_global = - _spine_physics_constraint_data_is_strength_globalPtr.asFunction(); + 'spine_physics_constraint_data_is_strength_global', + ); + late final _spine_physics_constraint_data_is_strength_global = _spine_physics_constraint_data_is_strength_globalPtr + .asFunction(); - void spine_physics_constraint_data_set_damping_global( - spine_physics_constraint_data data, - int dampingGlobal, - ) { - return _spine_physics_constraint_data_set_damping_global( - data, - dampingGlobal, - ); + void spine_physics_constraint_data_set_damping_global(spine_physics_constraint_data data, int dampingGlobal) { + return _spine_physics_constraint_data_set_damping_global(data, dampingGlobal); } late final _spine_physics_constraint_data_set_damping_globalPtr = _lookup>( - 'spine_physics_constraint_data_set_damping_global'); + 'spine_physics_constraint_data_set_damping_global', + ); late final _spine_physics_constraint_data_set_damping_global = _spine_physics_constraint_data_set_damping_globalPtr .asFunction(); - int spine_physics_constraint_data_is_damping_global( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_is_damping_global( - data, - ); + int spine_physics_constraint_data_is_damping_global(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_is_damping_global(data); } late final _spine_physics_constraint_data_is_damping_globalPtr = _lookup>( - 'spine_physics_constraint_data_is_damping_global'); - late final _spine_physics_constraint_data_is_damping_global = - _spine_physics_constraint_data_is_damping_globalPtr.asFunction(); + 'spine_physics_constraint_data_is_damping_global', + ); + late final _spine_physics_constraint_data_is_damping_global = _spine_physics_constraint_data_is_damping_globalPtr + .asFunction(); - void spine_physics_constraint_data_set_mass_global( - spine_physics_constraint_data data, - int massGlobal, - ) { - return _spine_physics_constraint_data_set_mass_global( - data, - massGlobal, - ); + void spine_physics_constraint_data_set_mass_global(spine_physics_constraint_data data, int massGlobal) { + return _spine_physics_constraint_data_set_mass_global(data, massGlobal); } late final _spine_physics_constraint_data_set_mass_globalPtr = _lookup>( - 'spine_physics_constraint_data_set_mass_global'); - late final _spine_physics_constraint_data_set_mass_global = - _spine_physics_constraint_data_set_mass_globalPtr.asFunction(); + 'spine_physics_constraint_data_set_mass_global', + ); + late final _spine_physics_constraint_data_set_mass_global = _spine_physics_constraint_data_set_mass_globalPtr + .asFunction(); - int spine_physics_constraint_data_is_mass_global( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_is_mass_global( - data, - ); + int spine_physics_constraint_data_is_mass_global(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_is_mass_global(data); } late final _spine_physics_constraint_data_is_mass_globalPtr = _lookup>( - 'spine_physics_constraint_data_is_mass_global'); - late final _spine_physics_constraint_data_is_mass_global = - _spine_physics_constraint_data_is_mass_globalPtr.asFunction(); + 'spine_physics_constraint_data_is_mass_global', + ); + late final _spine_physics_constraint_data_is_mass_global = _spine_physics_constraint_data_is_mass_globalPtr + .asFunction(); - void spine_physics_constraint_data_set_wind_global( - spine_physics_constraint_data data, - int windGlobal, - ) { - return _spine_physics_constraint_data_set_wind_global( - data, - windGlobal, - ); + void spine_physics_constraint_data_set_wind_global(spine_physics_constraint_data data, int windGlobal) { + return _spine_physics_constraint_data_set_wind_global(data, windGlobal); } late final _spine_physics_constraint_data_set_wind_globalPtr = _lookup>( - 'spine_physics_constraint_data_set_wind_global'); - late final _spine_physics_constraint_data_set_wind_global = - _spine_physics_constraint_data_set_wind_globalPtr.asFunction(); + 'spine_physics_constraint_data_set_wind_global', + ); + late final _spine_physics_constraint_data_set_wind_global = _spine_physics_constraint_data_set_wind_globalPtr + .asFunction(); - int spine_physics_constraint_data_is_wind_global( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_is_wind_global( - data, - ); + int spine_physics_constraint_data_is_wind_global(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_is_wind_global(data); } late final _spine_physics_constraint_data_is_wind_globalPtr = _lookup>( - 'spine_physics_constraint_data_is_wind_global'); - late final _spine_physics_constraint_data_is_wind_global = - _spine_physics_constraint_data_is_wind_globalPtr.asFunction(); + 'spine_physics_constraint_data_is_wind_global', + ); + late final _spine_physics_constraint_data_is_wind_global = _spine_physics_constraint_data_is_wind_globalPtr + .asFunction(); - void spine_physics_constraint_data_set_gravity_global( - spine_physics_constraint_data data, - int gravityGlobal, - ) { - return _spine_physics_constraint_data_set_gravity_global( - data, - gravityGlobal, - ); + void spine_physics_constraint_data_set_gravity_global(spine_physics_constraint_data data, int gravityGlobal) { + return _spine_physics_constraint_data_set_gravity_global(data, gravityGlobal); } late final _spine_physics_constraint_data_set_gravity_globalPtr = _lookup>( - 'spine_physics_constraint_data_set_gravity_global'); + 'spine_physics_constraint_data_set_gravity_global', + ); late final _spine_physics_constraint_data_set_gravity_global = _spine_physics_constraint_data_set_gravity_globalPtr .asFunction(); - int spine_physics_constraint_data_is_gravity_global( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_is_gravity_global( - data, - ); + int spine_physics_constraint_data_is_gravity_global(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_is_gravity_global(data); } late final _spine_physics_constraint_data_is_gravity_globalPtr = _lookup>( - 'spine_physics_constraint_data_is_gravity_global'); - late final _spine_physics_constraint_data_is_gravity_global = - _spine_physics_constraint_data_is_gravity_globalPtr.asFunction(); + 'spine_physics_constraint_data_is_gravity_global', + ); + late final _spine_physics_constraint_data_is_gravity_global = _spine_physics_constraint_data_is_gravity_globalPtr + .asFunction(); - void spine_physics_constraint_data_set_mix_global( - spine_physics_constraint_data data, - int mixGlobal, - ) { - return _spine_physics_constraint_data_set_mix_global( - data, - mixGlobal, - ); + void spine_physics_constraint_data_set_mix_global(spine_physics_constraint_data data, int mixGlobal) { + return _spine_physics_constraint_data_set_mix_global(data, mixGlobal); } late final _spine_physics_constraint_data_set_mix_globalPtr = _lookup>( - 'spine_physics_constraint_data_set_mix_global'); - late final _spine_physics_constraint_data_set_mix_global = - _spine_physics_constraint_data_set_mix_globalPtr.asFunction(); + 'spine_physics_constraint_data_set_mix_global', + ); + late final _spine_physics_constraint_data_set_mix_global = _spine_physics_constraint_data_set_mix_globalPtr + .asFunction(); - int spine_physics_constraint_data_is_mix_global( - spine_physics_constraint_data data, - ) { - return _spine_physics_constraint_data_is_mix_global( - data, - ); + int spine_physics_constraint_data_is_mix_global(spine_physics_constraint_data data) { + return _spine_physics_constraint_data_is_mix_global(data); } late final _spine_physics_constraint_data_is_mix_globalPtr = _lookup>( - 'spine_physics_constraint_data_is_mix_global'); - late final _spine_physics_constraint_data_is_mix_global = - _spine_physics_constraint_data_is_mix_globalPtr.asFunction(); + 'spine_physics_constraint_data_is_mix_global', + ); + late final _spine_physics_constraint_data_is_mix_global = _spine_physics_constraint_data_is_mix_globalPtr + .asFunction(); - void spine_physics_constraint_set_bone( - spine_physics_constraint constraint, - spine_bone bone, - ) { - return _spine_physics_constraint_set_bone( - constraint, - bone, - ); + void spine_physics_constraint_set_bone(spine_physics_constraint constraint, spine_bone bone) { + return _spine_physics_constraint_set_bone(constraint, bone); } late final _spine_physics_constraint_set_bonePtr = _lookup>( - 'spine_physics_constraint_set_bone'); - late final _spine_physics_constraint_set_bone = - _spine_physics_constraint_set_bonePtr.asFunction(); + 'spine_physics_constraint_set_bone', + ); + late final _spine_physics_constraint_set_bone = _spine_physics_constraint_set_bonePtr + .asFunction(); - spine_bone spine_physics_constraint_get_bone( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_bone( - constraint, - ); + spine_bone spine_physics_constraint_get_bone(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_bone(constraint); } late final _spine_physics_constraint_get_bonePtr = _lookup>('spine_physics_constraint_get_bone'); - late final _spine_physics_constraint_get_bone = - _spine_physics_constraint_get_bonePtr.asFunction(); + late final _spine_physics_constraint_get_bone = _spine_physics_constraint_get_bonePtr + .asFunction(); - void spine_physics_constraint_set_inertia( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_inertia( - constraint, - value, - ); + void spine_physics_constraint_set_inertia(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_inertia(constraint, value); } late final _spine_physics_constraint_set_inertiaPtr = _lookup>( - 'spine_physics_constraint_set_inertia'); - late final _spine_physics_constraint_set_inertia = - _spine_physics_constraint_set_inertiaPtr.asFunction(); + 'spine_physics_constraint_set_inertia', + ); + late final _spine_physics_constraint_set_inertia = _spine_physics_constraint_set_inertiaPtr + .asFunction(); - double spine_physics_constraint_get_inertia( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_inertia( - constraint, - ); + double spine_physics_constraint_get_inertia(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_inertia(constraint); } late final _spine_physics_constraint_get_inertiaPtr = _lookup>('spine_physics_constraint_get_inertia'); - late final _spine_physics_constraint_get_inertia = - _spine_physics_constraint_get_inertiaPtr.asFunction(); + late final _spine_physics_constraint_get_inertia = _spine_physics_constraint_get_inertiaPtr + .asFunction(); - void spine_physics_constraint_set_strength( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_strength( - constraint, - value, - ); + void spine_physics_constraint_set_strength(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_strength(constraint, value); } late final _spine_physics_constraint_set_strengthPtr = _lookup>( - 'spine_physics_constraint_set_strength'); - late final _spine_physics_constraint_set_strength = - _spine_physics_constraint_set_strengthPtr.asFunction(); + 'spine_physics_constraint_set_strength', + ); + late final _spine_physics_constraint_set_strength = _spine_physics_constraint_set_strengthPtr + .asFunction(); - double spine_physics_constraint_get_strength( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_strength( - constraint, - ); + double spine_physics_constraint_get_strength(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_strength(constraint); } late final _spine_physics_constraint_get_strengthPtr = _lookup>( - 'spine_physics_constraint_get_strength'); - late final _spine_physics_constraint_get_strength = - _spine_physics_constraint_get_strengthPtr.asFunction(); + 'spine_physics_constraint_get_strength', + ); + late final _spine_physics_constraint_get_strength = _spine_physics_constraint_get_strengthPtr + .asFunction(); - void spine_physics_constraint_set_damping( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_damping( - constraint, - value, - ); + void spine_physics_constraint_set_damping(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_damping(constraint, value); } late final _spine_physics_constraint_set_dampingPtr = _lookup>( - 'spine_physics_constraint_set_damping'); - late final _spine_physics_constraint_set_damping = - _spine_physics_constraint_set_dampingPtr.asFunction(); + 'spine_physics_constraint_set_damping', + ); + late final _spine_physics_constraint_set_damping = _spine_physics_constraint_set_dampingPtr + .asFunction(); - double spine_physics_constraint_get_damping( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_damping( - constraint, - ); + double spine_physics_constraint_get_damping(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_damping(constraint); } late final _spine_physics_constraint_get_dampingPtr = _lookup>('spine_physics_constraint_get_damping'); - late final _spine_physics_constraint_get_damping = - _spine_physics_constraint_get_dampingPtr.asFunction(); + late final _spine_physics_constraint_get_damping = _spine_physics_constraint_get_dampingPtr + .asFunction(); - void spine_physics_constraint_set_mass_inverse( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_mass_inverse( - constraint, - value, - ); + void spine_physics_constraint_set_mass_inverse(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_mass_inverse(constraint, value); } late final _spine_physics_constraint_set_mass_inversePtr = _lookup>( - 'spine_physics_constraint_set_mass_inverse'); - late final _spine_physics_constraint_set_mass_inverse = - _spine_physics_constraint_set_mass_inversePtr.asFunction(); + 'spine_physics_constraint_set_mass_inverse', + ); + late final _spine_physics_constraint_set_mass_inverse = _spine_physics_constraint_set_mass_inversePtr + .asFunction(); - double spine_physics_constraint_get_mass_inverse( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_mass_inverse( - constraint, - ); + double spine_physics_constraint_get_mass_inverse(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_mass_inverse(constraint); } late final _spine_physics_constraint_get_mass_inversePtr = _lookup>( - 'spine_physics_constraint_get_mass_inverse'); - late final _spine_physics_constraint_get_mass_inverse = - _spine_physics_constraint_get_mass_inversePtr.asFunction(); + 'spine_physics_constraint_get_mass_inverse', + ); + late final _spine_physics_constraint_get_mass_inverse = _spine_physics_constraint_get_mass_inversePtr + .asFunction(); - void spine_physics_constraint_set_wind( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_wind( - constraint, - value, - ); + void spine_physics_constraint_set_wind(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_wind(constraint, value); } late final _spine_physics_constraint_set_windPtr = _lookup>( - 'spine_physics_constraint_set_wind'); - late final _spine_physics_constraint_set_wind = - _spine_physics_constraint_set_windPtr.asFunction(); + 'spine_physics_constraint_set_wind', + ); + late final _spine_physics_constraint_set_wind = _spine_physics_constraint_set_windPtr + .asFunction(); - double spine_physics_constraint_get_wind( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_wind( - constraint, - ); + double spine_physics_constraint_get_wind(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_wind(constraint); } late final _spine_physics_constraint_get_windPtr = _lookup>('spine_physics_constraint_get_wind'); - late final _spine_physics_constraint_get_wind = - _spine_physics_constraint_get_windPtr.asFunction(); + late final _spine_physics_constraint_get_wind = _spine_physics_constraint_get_windPtr + .asFunction(); - void spine_physics_constraint_set_gravity( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_gravity( - constraint, - value, - ); + void spine_physics_constraint_set_gravity(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_gravity(constraint, value); } late final _spine_physics_constraint_set_gravityPtr = _lookup>( - 'spine_physics_constraint_set_gravity'); - late final _spine_physics_constraint_set_gravity = - _spine_physics_constraint_set_gravityPtr.asFunction(); + 'spine_physics_constraint_set_gravity', + ); + late final _spine_physics_constraint_set_gravity = _spine_physics_constraint_set_gravityPtr + .asFunction(); - double spine_physics_constraint_get_gravity( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_gravity( - constraint, - ); + double spine_physics_constraint_get_gravity(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_gravity(constraint); } late final _spine_physics_constraint_get_gravityPtr = _lookup>('spine_physics_constraint_get_gravity'); - late final _spine_physics_constraint_get_gravity = - _spine_physics_constraint_get_gravityPtr.asFunction(); + late final _spine_physics_constraint_get_gravity = _spine_physics_constraint_get_gravityPtr + .asFunction(); - void spine_physics_constraint_set_mix( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_mix( - constraint, - value, - ); + void spine_physics_constraint_set_mix(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_mix(constraint, value); } late final _spine_physics_constraint_set_mixPtr = _lookup>( - 'spine_physics_constraint_set_mix'); - late final _spine_physics_constraint_set_mix = - _spine_physics_constraint_set_mixPtr.asFunction(); + 'spine_physics_constraint_set_mix', + ); + late final _spine_physics_constraint_set_mix = _spine_physics_constraint_set_mixPtr + .asFunction(); - double spine_physics_constraint_get_mix( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_mix( - constraint, - ); + double spine_physics_constraint_get_mix(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_mix(constraint); } late final _spine_physics_constraint_get_mixPtr = _lookup>('spine_physics_constraint_get_mix'); - late final _spine_physics_constraint_get_mix = - _spine_physics_constraint_get_mixPtr.asFunction(); + late final _spine_physics_constraint_get_mix = _spine_physics_constraint_get_mixPtr + .asFunction(); - void spine_physics_constraint_set_reset( - spine_physics_constraint constraint, - int value, - ) { - return _spine_physics_constraint_set_reset( - constraint, - value, - ); + void spine_physics_constraint_set_reset(spine_physics_constraint constraint, int value) { + return _spine_physics_constraint_set_reset(constraint, value); } late final _spine_physics_constraint_set_resetPtr = _lookup>( - 'spine_physics_constraint_set_reset'); - late final _spine_physics_constraint_set_reset = - _spine_physics_constraint_set_resetPtr.asFunction(); + 'spine_physics_constraint_set_reset', + ); + late final _spine_physics_constraint_set_reset = _spine_physics_constraint_set_resetPtr + .asFunction(); - int spine_physics_constraint_get_reset( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_reset( - constraint, - ); + int spine_physics_constraint_get_reset(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_reset(constraint); } late final _spine_physics_constraint_get_resetPtr = _lookup>('spine_physics_constraint_get_reset'); - late final _spine_physics_constraint_get_reset = - _spine_physics_constraint_get_resetPtr.asFunction(); + late final _spine_physics_constraint_get_reset = _spine_physics_constraint_get_resetPtr + .asFunction(); - void spine_physics_constraint_set_ux( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_ux( - constraint, - value, - ); + void spine_physics_constraint_set_ux(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_ux(constraint, value); } late final _spine_physics_constraint_set_uxPtr = _lookup>( - 'spine_physics_constraint_set_ux'); - late final _spine_physics_constraint_set_ux = - _spine_physics_constraint_set_uxPtr.asFunction(); + 'spine_physics_constraint_set_ux', + ); + late final _spine_physics_constraint_set_ux = _spine_physics_constraint_set_uxPtr + .asFunction(); - double spine_physics_constraint_get_ux( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_ux( - constraint, - ); + double spine_physics_constraint_get_ux(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_ux(constraint); } late final _spine_physics_constraint_get_uxPtr = _lookup>('spine_physics_constraint_get_ux'); - late final _spine_physics_constraint_get_ux = - _spine_physics_constraint_get_uxPtr.asFunction(); + late final _spine_physics_constraint_get_ux = _spine_physics_constraint_get_uxPtr + .asFunction(); - void spine_physics_constraint_set_uy( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_uy( - constraint, - value, - ); + void spine_physics_constraint_set_uy(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_uy(constraint, value); } late final _spine_physics_constraint_set_uyPtr = _lookup>( - 'spine_physics_constraint_set_uy'); - late final _spine_physics_constraint_set_uy = - _spine_physics_constraint_set_uyPtr.asFunction(); + 'spine_physics_constraint_set_uy', + ); + late final _spine_physics_constraint_set_uy = _spine_physics_constraint_set_uyPtr + .asFunction(); - double spine_physics_constraint_get_uy( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_uy( - constraint, - ); + double spine_physics_constraint_get_uy(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_uy(constraint); } late final _spine_physics_constraint_get_uyPtr = _lookup>('spine_physics_constraint_get_uy'); - late final _spine_physics_constraint_get_uy = - _spine_physics_constraint_get_uyPtr.asFunction(); + late final _spine_physics_constraint_get_uy = _spine_physics_constraint_get_uyPtr + .asFunction(); - void spine_physics_constraint_set_cx( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_cx( - constraint, - value, - ); + void spine_physics_constraint_set_cx(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_cx(constraint, value); } late final _spine_physics_constraint_set_cxPtr = _lookup>( - 'spine_physics_constraint_set_cx'); - late final _spine_physics_constraint_set_cx = - _spine_physics_constraint_set_cxPtr.asFunction(); + 'spine_physics_constraint_set_cx', + ); + late final _spine_physics_constraint_set_cx = _spine_physics_constraint_set_cxPtr + .asFunction(); - double spine_physics_constraint_get_cx( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_cx( - constraint, - ); + double spine_physics_constraint_get_cx(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_cx(constraint); } late final _spine_physics_constraint_get_cxPtr = _lookup>('spine_physics_constraint_get_cx'); - late final _spine_physics_constraint_get_cx = - _spine_physics_constraint_get_cxPtr.asFunction(); + late final _spine_physics_constraint_get_cx = _spine_physics_constraint_get_cxPtr + .asFunction(); - void spine_physics_constraint_set_cy( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_cy( - constraint, - value, - ); + void spine_physics_constraint_set_cy(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_cy(constraint, value); } late final _spine_physics_constraint_set_cyPtr = _lookup>( - 'spine_physics_constraint_set_cy'); - late final _spine_physics_constraint_set_cy = - _spine_physics_constraint_set_cyPtr.asFunction(); + 'spine_physics_constraint_set_cy', + ); + late final _spine_physics_constraint_set_cy = _spine_physics_constraint_set_cyPtr + .asFunction(); - double spine_physics_constraint_get_cy( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_cy( - constraint, - ); + double spine_physics_constraint_get_cy(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_cy(constraint); } late final _spine_physics_constraint_get_cyPtr = _lookup>('spine_physics_constraint_get_cy'); - late final _spine_physics_constraint_get_cy = - _spine_physics_constraint_get_cyPtr.asFunction(); + late final _spine_physics_constraint_get_cy = _spine_physics_constraint_get_cyPtr + .asFunction(); - void spine_physics_constraint_set_tx( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_tx( - constraint, - value, - ); + void spine_physics_constraint_set_tx(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_tx(constraint, value); } late final _spine_physics_constraint_set_txPtr = _lookup>( - 'spine_physics_constraint_set_tx'); - late final _spine_physics_constraint_set_tx = - _spine_physics_constraint_set_txPtr.asFunction(); + 'spine_physics_constraint_set_tx', + ); + late final _spine_physics_constraint_set_tx = _spine_physics_constraint_set_txPtr + .asFunction(); - double spine_physics_constraint_get_tx( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_tx( - constraint, - ); + double spine_physics_constraint_get_tx(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_tx(constraint); } late final _spine_physics_constraint_get_txPtr = _lookup>('spine_physics_constraint_get_tx'); - late final _spine_physics_constraint_get_tx = - _spine_physics_constraint_get_txPtr.asFunction(); + late final _spine_physics_constraint_get_tx = _spine_physics_constraint_get_txPtr + .asFunction(); - void spine_physics_constraint_set_ty( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_ty( - constraint, - value, - ); + void spine_physics_constraint_set_ty(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_ty(constraint, value); } late final _spine_physics_constraint_set_tyPtr = _lookup>( - 'spine_physics_constraint_set_ty'); - late final _spine_physics_constraint_set_ty = - _spine_physics_constraint_set_tyPtr.asFunction(); + 'spine_physics_constraint_set_ty', + ); + late final _spine_physics_constraint_set_ty = _spine_physics_constraint_set_tyPtr + .asFunction(); - double spine_physics_constraint_get_ty( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_ty( - constraint, - ); + double spine_physics_constraint_get_ty(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_ty(constraint); } late final _spine_physics_constraint_get_tyPtr = _lookup>('spine_physics_constraint_get_ty'); - late final _spine_physics_constraint_get_ty = - _spine_physics_constraint_get_tyPtr.asFunction(); + late final _spine_physics_constraint_get_ty = _spine_physics_constraint_get_tyPtr + .asFunction(); - void spine_physics_constraint_set_x_offset( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_x_offset( - constraint, - value, - ); + void spine_physics_constraint_set_x_offset(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_x_offset(constraint, value); } late final _spine_physics_constraint_set_x_offsetPtr = _lookup>( - 'spine_physics_constraint_set_x_offset'); - late final _spine_physics_constraint_set_x_offset = - _spine_physics_constraint_set_x_offsetPtr.asFunction(); + 'spine_physics_constraint_set_x_offset', + ); + late final _spine_physics_constraint_set_x_offset = _spine_physics_constraint_set_x_offsetPtr + .asFunction(); - double spine_physics_constraint_get_x_offset( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_x_offset( - constraint, - ); + double spine_physics_constraint_get_x_offset(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_x_offset(constraint); } late final _spine_physics_constraint_get_x_offsetPtr = _lookup>( - 'spine_physics_constraint_get_x_offset'); - late final _spine_physics_constraint_get_x_offset = - _spine_physics_constraint_get_x_offsetPtr.asFunction(); + 'spine_physics_constraint_get_x_offset', + ); + late final _spine_physics_constraint_get_x_offset = _spine_physics_constraint_get_x_offsetPtr + .asFunction(); - void spine_physics_constraint_set_x_velocity( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_x_velocity( - constraint, - value, - ); + void spine_physics_constraint_set_x_velocity(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_x_velocity(constraint, value); } late final _spine_physics_constraint_set_x_velocityPtr = _lookup>( - 'spine_physics_constraint_set_x_velocity'); - late final _spine_physics_constraint_set_x_velocity = - _spine_physics_constraint_set_x_velocityPtr.asFunction(); + 'spine_physics_constraint_set_x_velocity', + ); + late final _spine_physics_constraint_set_x_velocity = _spine_physics_constraint_set_x_velocityPtr + .asFunction(); - double spine_physics_constraint_get_x_velocity( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_x_velocity( - constraint, - ); + double spine_physics_constraint_get_x_velocity(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_x_velocity(constraint); } late final _spine_physics_constraint_get_x_velocityPtr = _lookup>( - 'spine_physics_constraint_get_x_velocity'); - late final _spine_physics_constraint_get_x_velocity = - _spine_physics_constraint_get_x_velocityPtr.asFunction(); + 'spine_physics_constraint_get_x_velocity', + ); + late final _spine_physics_constraint_get_x_velocity = _spine_physics_constraint_get_x_velocityPtr + .asFunction(); - void spine_physics_constraint_set_y_offset( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_y_offset( - constraint, - value, - ); + void spine_physics_constraint_set_y_offset(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_y_offset(constraint, value); } late final _spine_physics_constraint_set_y_offsetPtr = _lookup>( - 'spine_physics_constraint_set_y_offset'); - late final _spine_physics_constraint_set_y_offset = - _spine_physics_constraint_set_y_offsetPtr.asFunction(); + 'spine_physics_constraint_set_y_offset', + ); + late final _spine_physics_constraint_set_y_offset = _spine_physics_constraint_set_y_offsetPtr + .asFunction(); - double spine_physics_constraint_get_y_offset( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_y_offset( - constraint, - ); + double spine_physics_constraint_get_y_offset(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_y_offset(constraint); } late final _spine_physics_constraint_get_y_offsetPtr = _lookup>( - 'spine_physics_constraint_get_y_offset'); - late final _spine_physics_constraint_get_y_offset = - _spine_physics_constraint_get_y_offsetPtr.asFunction(); + 'spine_physics_constraint_get_y_offset', + ); + late final _spine_physics_constraint_get_y_offset = _spine_physics_constraint_get_y_offsetPtr + .asFunction(); - void spine_physics_constraint_set_y_velocity( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_y_velocity( - constraint, - value, - ); + void spine_physics_constraint_set_y_velocity(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_y_velocity(constraint, value); } late final _spine_physics_constraint_set_y_velocityPtr = _lookup>( - 'spine_physics_constraint_set_y_velocity'); - late final _spine_physics_constraint_set_y_velocity = - _spine_physics_constraint_set_y_velocityPtr.asFunction(); + 'spine_physics_constraint_set_y_velocity', + ); + late final _spine_physics_constraint_set_y_velocity = _spine_physics_constraint_set_y_velocityPtr + .asFunction(); - double spine_physics_constraint_get_y_velocity( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_y_velocity( - constraint, - ); + double spine_physics_constraint_get_y_velocity(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_y_velocity(constraint); } late final _spine_physics_constraint_get_y_velocityPtr = _lookup>( - 'spine_physics_constraint_get_y_velocity'); - late final _spine_physics_constraint_get_y_velocity = - _spine_physics_constraint_get_y_velocityPtr.asFunction(); + 'spine_physics_constraint_get_y_velocity', + ); + late final _spine_physics_constraint_get_y_velocity = _spine_physics_constraint_get_y_velocityPtr + .asFunction(); - void spine_physics_constraint_set_rotate_offset( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_rotate_offset( - constraint, - value, - ); + void spine_physics_constraint_set_rotate_offset(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_rotate_offset(constraint, value); } late final _spine_physics_constraint_set_rotate_offsetPtr = _lookup>( - 'spine_physics_constraint_set_rotate_offset'); - late final _spine_physics_constraint_set_rotate_offset = - _spine_physics_constraint_set_rotate_offsetPtr.asFunction(); + 'spine_physics_constraint_set_rotate_offset', + ); + late final _spine_physics_constraint_set_rotate_offset = _spine_physics_constraint_set_rotate_offsetPtr + .asFunction(); - double spine_physics_constraint_get_rotate_offset( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_rotate_offset( - constraint, - ); + double spine_physics_constraint_get_rotate_offset(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_rotate_offset(constraint); } late final _spine_physics_constraint_get_rotate_offsetPtr = _lookup>( - 'spine_physics_constraint_get_rotate_offset'); - late final _spine_physics_constraint_get_rotate_offset = - _spine_physics_constraint_get_rotate_offsetPtr.asFunction(); + 'spine_physics_constraint_get_rotate_offset', + ); + late final _spine_physics_constraint_get_rotate_offset = _spine_physics_constraint_get_rotate_offsetPtr + .asFunction(); - void spine_physics_constraint_set_rotate_velocity( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_rotate_velocity( - constraint, - value, - ); + void spine_physics_constraint_set_rotate_velocity(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_rotate_velocity(constraint, value); } late final _spine_physics_constraint_set_rotate_velocityPtr = _lookup>( - 'spine_physics_constraint_set_rotate_velocity'); - late final _spine_physics_constraint_set_rotate_velocity = - _spine_physics_constraint_set_rotate_velocityPtr.asFunction(); + 'spine_physics_constraint_set_rotate_velocity', + ); + late final _spine_physics_constraint_set_rotate_velocity = _spine_physics_constraint_set_rotate_velocityPtr + .asFunction(); - double spine_physics_constraint_get_rotate_velocity( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_rotate_velocity( - constraint, - ); + double spine_physics_constraint_get_rotate_velocity(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_rotate_velocity(constraint); } late final _spine_physics_constraint_get_rotate_velocityPtr = _lookup>( - 'spine_physics_constraint_get_rotate_velocity'); - late final _spine_physics_constraint_get_rotate_velocity = - _spine_physics_constraint_get_rotate_velocityPtr.asFunction(); + 'spine_physics_constraint_get_rotate_velocity', + ); + late final _spine_physics_constraint_get_rotate_velocity = _spine_physics_constraint_get_rotate_velocityPtr + .asFunction(); - void spine_physics_constraint_set_scale_offset( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_scale_offset( - constraint, - value, - ); + void spine_physics_constraint_set_scale_offset(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_scale_offset(constraint, value); } late final _spine_physics_constraint_set_scale_offsetPtr = _lookup>( - 'spine_physics_constraint_set_scale_offset'); - late final _spine_physics_constraint_set_scale_offset = - _spine_physics_constraint_set_scale_offsetPtr.asFunction(); + 'spine_physics_constraint_set_scale_offset', + ); + late final _spine_physics_constraint_set_scale_offset = _spine_physics_constraint_set_scale_offsetPtr + .asFunction(); - double spine_physics_constraint_get_scale_offset( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_scale_offset( - constraint, - ); + double spine_physics_constraint_get_scale_offset(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_scale_offset(constraint); } late final _spine_physics_constraint_get_scale_offsetPtr = _lookup>( - 'spine_physics_constraint_get_scale_offset'); - late final _spine_physics_constraint_get_scale_offset = - _spine_physics_constraint_get_scale_offsetPtr.asFunction(); + 'spine_physics_constraint_get_scale_offset', + ); + late final _spine_physics_constraint_get_scale_offset = _spine_physics_constraint_get_scale_offsetPtr + .asFunction(); - void spine_physics_constraint_set_scale_velocity( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_scale_velocity( - constraint, - value, - ); + void spine_physics_constraint_set_scale_velocity(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_scale_velocity(constraint, value); } late final _spine_physics_constraint_set_scale_velocityPtr = _lookup>( - 'spine_physics_constraint_set_scale_velocity'); - late final _spine_physics_constraint_set_scale_velocity = - _spine_physics_constraint_set_scale_velocityPtr.asFunction(); + 'spine_physics_constraint_set_scale_velocity', + ); + late final _spine_physics_constraint_set_scale_velocity = _spine_physics_constraint_set_scale_velocityPtr + .asFunction(); - double spine_physics_constraint_get_scale_velocity( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_scale_velocity( - constraint, - ); + double spine_physics_constraint_get_scale_velocity(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_scale_velocity(constraint); } late final _spine_physics_constraint_get_scale_velocityPtr = _lookup>( - 'spine_physics_constraint_get_scale_velocity'); - late final _spine_physics_constraint_get_scale_velocity = - _spine_physics_constraint_get_scale_velocityPtr.asFunction(); + 'spine_physics_constraint_get_scale_velocity', + ); + late final _spine_physics_constraint_get_scale_velocity = _spine_physics_constraint_get_scale_velocityPtr + .asFunction(); - void spine_physics_constraint_set_active( - spine_physics_constraint constraint, - int value, - ) { - return _spine_physics_constraint_set_active( - constraint, - value, - ); + void spine_physics_constraint_set_active(spine_physics_constraint constraint, int value) { + return _spine_physics_constraint_set_active(constraint, value); } late final _spine_physics_constraint_set_activePtr = _lookup>( - 'spine_physics_constraint_set_active'); - late final _spine_physics_constraint_set_active = - _spine_physics_constraint_set_activePtr.asFunction(); + 'spine_physics_constraint_set_active', + ); + late final _spine_physics_constraint_set_active = _spine_physics_constraint_set_activePtr + .asFunction(); - int spine_physics_constraint_is_active( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_is_active( - constraint, - ); + int spine_physics_constraint_is_active(spine_physics_constraint constraint) { + return _spine_physics_constraint_is_active(constraint); } late final _spine_physics_constraint_is_activePtr = _lookup>('spine_physics_constraint_is_active'); - late final _spine_physics_constraint_is_active = - _spine_physics_constraint_is_activePtr.asFunction(); + late final _spine_physics_constraint_is_active = _spine_physics_constraint_is_activePtr + .asFunction(); - void spine_physics_constraint_set_remaining( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_remaining( - constraint, - value, - ); + void spine_physics_constraint_set_remaining(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_remaining(constraint, value); } late final _spine_physics_constraint_set_remainingPtr = _lookup>( - 'spine_physics_constraint_set_remaining'); - late final _spine_physics_constraint_set_remaining = - _spine_physics_constraint_set_remainingPtr.asFunction(); + 'spine_physics_constraint_set_remaining', + ); + late final _spine_physics_constraint_set_remaining = _spine_physics_constraint_set_remainingPtr + .asFunction(); - double spine_physics_constraint_get_remaining( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_remaining( - constraint, - ); + double spine_physics_constraint_get_remaining(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_remaining(constraint); } late final _spine_physics_constraint_get_remainingPtr = _lookup>( - 'spine_physics_constraint_get_remaining'); - late final _spine_physics_constraint_get_remaining = - _spine_physics_constraint_get_remainingPtr.asFunction(); + 'spine_physics_constraint_get_remaining', + ); + late final _spine_physics_constraint_get_remaining = _spine_physics_constraint_get_remainingPtr + .asFunction(); - void spine_physics_constraint_set_last_time( - spine_physics_constraint constraint, - double value, - ) { - return _spine_physics_constraint_set_last_time( - constraint, - value, - ); + void spine_physics_constraint_set_last_time(spine_physics_constraint constraint, double value) { + return _spine_physics_constraint_set_last_time(constraint, value); } late final _spine_physics_constraint_set_last_timePtr = _lookup>( - 'spine_physics_constraint_set_last_time'); - late final _spine_physics_constraint_set_last_time = - _spine_physics_constraint_set_last_timePtr.asFunction(); + 'spine_physics_constraint_set_last_time', + ); + late final _spine_physics_constraint_set_last_time = _spine_physics_constraint_set_last_timePtr + .asFunction(); - double spine_physics_constraint_get_last_time( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_get_last_time( - constraint, - ); + double spine_physics_constraint_get_last_time(spine_physics_constraint constraint) { + return _spine_physics_constraint_get_last_time(constraint); } late final _spine_physics_constraint_get_last_timePtr = _lookup>( - 'spine_physics_constraint_get_last_time'); - late final _spine_physics_constraint_get_last_time = - _spine_physics_constraint_get_last_timePtr.asFunction(); + 'spine_physics_constraint_get_last_time', + ); + late final _spine_physics_constraint_get_last_time = _spine_physics_constraint_get_last_timePtr + .asFunction(); - void spine_physics_constraint_reset( - spine_physics_constraint constraint, - ) { - return _spine_physics_constraint_reset( - constraint, - ); + void spine_physics_constraint_reset(spine_physics_constraint constraint) { + return _spine_physics_constraint_reset(constraint); } late final _spine_physics_constraint_resetPtr = _lookup>('spine_physics_constraint_reset'); - late final _spine_physics_constraint_reset = - _spine_physics_constraint_resetPtr.asFunction(); + late final _spine_physics_constraint_reset = _spine_physics_constraint_resetPtr + .asFunction(); /// Omitted setToSetupPose() - void spine_physics_constraint_update( - spine_physics_constraint data, - int physics, - ) { - return _spine_physics_constraint_update( - data, - physics, - ); + void spine_physics_constraint_update(spine_physics_constraint data, int physics) { + return _spine_physics_constraint_update(data, physics); } late final _spine_physics_constraint_updatePtr = _lookup>( - 'spine_physics_constraint_update'); - late final _spine_physics_constraint_update = - _spine_physics_constraint_updatePtr.asFunction(); + 'spine_physics_constraint_update', + ); + late final _spine_physics_constraint_update = _spine_physics_constraint_updatePtr + .asFunction(); - void spine_physics_constraint_translate( - spine_physics_constraint data, - double x, - double y, - ) { - return _spine_physics_constraint_translate( - data, - x, - y, - ); + void spine_physics_constraint_translate(spine_physics_constraint data, double x, double y) { + return _spine_physics_constraint_translate(data, x, y); } late final _spine_physics_constraint_translatePtr = _lookup>( - 'spine_physics_constraint_translate'); - late final _spine_physics_constraint_translate = - _spine_physics_constraint_translatePtr.asFunction(); + 'spine_physics_constraint_translate', + ); + late final _spine_physics_constraint_translate = _spine_physics_constraint_translatePtr + .asFunction(); - void spine_physics_constraint_rotate( - spine_physics_constraint data, - double x, - double y, - double degrees, - ) { - return _spine_physics_constraint_rotate( - data, - x, - y, - degrees, - ); + void spine_physics_constraint_rotate(spine_physics_constraint data, double x, double y, double degrees) { + return _spine_physics_constraint_rotate(data, x, y, degrees); } late final _spine_physics_constraint_rotatePtr = _lookup>( - 'spine_physics_constraint_rotate'); - late final _spine_physics_constraint_rotate = - _spine_physics_constraint_rotatePtr.asFunction(); + 'spine_physics_constraint_rotate', + ); + late final _spine_physics_constraint_rotate = _spine_physics_constraint_rotatePtr + .asFunction(); /// OMITTED copy() - void spine_sequence_apply( - spine_sequence sequence, - spine_slot slot, - spine_attachment attachment, - ) { - return _spine_sequence_apply( - sequence, - slot, - attachment, - ); + void spine_sequence_apply(spine_sequence sequence, spine_slot slot, spine_attachment attachment) { + return _spine_sequence_apply(sequence, slot, attachment); } late final _spine_sequence_applyPtr = _lookup>( - 'spine_sequence_apply'); - late final _spine_sequence_apply = - _spine_sequence_applyPtr.asFunction(); + 'spine_sequence_apply', + ); + late final _spine_sequence_apply = _spine_sequence_applyPtr + .asFunction(); - ffi.Pointer spine_sequence_get_path( - spine_sequence sequence, - ffi.Pointer basePath, - int index, - ) { - return _spine_sequence_get_path( - sequence, - basePath, - index, - ); + ffi.Pointer spine_sequence_get_path(spine_sequence sequence, ffi.Pointer basePath, int index) { + return _spine_sequence_get_path(sequence, basePath, index); } late final _spine_sequence_get_pathPtr = _lookup Function(spine_sequence, ffi.Pointer, ffi.Int32)>>( - 'spine_sequence_get_path'); - late final _spine_sequence_get_path = - _spine_sequence_get_pathPtr.asFunction Function(spine_sequence, ffi.Pointer, int)>(); + 'spine_sequence_get_path', + ); + late final _spine_sequence_get_path = _spine_sequence_get_pathPtr + .asFunction Function(spine_sequence, ffi.Pointer, int)>(); - int spine_sequence_get_id( - spine_sequence sequence, - ) { - return _spine_sequence_get_id( - sequence, - ); + int spine_sequence_get_id(spine_sequence sequence) { + return _spine_sequence_get_id(sequence); } - late final _spine_sequence_get_idPtr = - _lookup>('spine_sequence_get_id'); + late final _spine_sequence_get_idPtr = _lookup>( + 'spine_sequence_get_id', + ); late final _spine_sequence_get_id = _spine_sequence_get_idPtr.asFunction(); - void spine_sequence_set_id( - spine_sequence sequence, - int id, - ) { - return _spine_sequence_set_id( - sequence, - id, - ); + void spine_sequence_set_id(spine_sequence sequence, int id) { + return _spine_sequence_set_id(sequence, id); } - late final _spine_sequence_set_idPtr = - _lookup>('spine_sequence_set_id'); + late final _spine_sequence_set_idPtr = _lookup>( + 'spine_sequence_set_id', + ); late final _spine_sequence_set_id = _spine_sequence_set_idPtr.asFunction(); - int spine_sequence_get_start( - spine_sequence sequence, - ) { - return _spine_sequence_get_start( - sequence, - ); + int spine_sequence_get_start(spine_sequence sequence) { + return _spine_sequence_get_start(sequence); } - late final _spine_sequence_get_startPtr = - _lookup>('spine_sequence_get_start'); + late final _spine_sequence_get_startPtr = _lookup>( + 'spine_sequence_get_start', + ); late final _spine_sequence_get_start = _spine_sequence_get_startPtr.asFunction(); - void spine_sequence_set_start( - spine_sequence sequence, - int start, - ) { - return _spine_sequence_set_start( - sequence, - start, - ); + void spine_sequence_set_start(spine_sequence sequence, int start) { + return _spine_sequence_set_start(sequence, start); } - late final _spine_sequence_set_startPtr = - _lookup>('spine_sequence_set_start'); + late final _spine_sequence_set_startPtr = _lookup>( + 'spine_sequence_set_start', + ); late final _spine_sequence_set_start = _spine_sequence_set_startPtr.asFunction(); - int spine_sequence_get_digits( - spine_sequence sequence, - ) { - return _spine_sequence_get_digits( - sequence, - ); + int spine_sequence_get_digits(spine_sequence sequence) { + return _spine_sequence_get_digits(sequence); } - late final _spine_sequence_get_digitsPtr = - _lookup>('spine_sequence_get_digits'); + late final _spine_sequence_get_digitsPtr = _lookup>( + 'spine_sequence_get_digits', + ); late final _spine_sequence_get_digits = _spine_sequence_get_digitsPtr.asFunction(); - void spine_sequence_set_digits( - spine_sequence sequence, - int digits, - ) { - return _spine_sequence_set_digits( - sequence, - digits, - ); + void spine_sequence_set_digits(spine_sequence sequence, int digits) { + return _spine_sequence_set_digits(sequence, digits); } - late final _spine_sequence_set_digitsPtr = - _lookup>('spine_sequence_set_digits'); - late final _spine_sequence_set_digits = - _spine_sequence_set_digitsPtr.asFunction(); + late final _spine_sequence_set_digitsPtr = _lookup>( + 'spine_sequence_set_digits', + ); + late final _spine_sequence_set_digits = _spine_sequence_set_digitsPtr + .asFunction(); - int spine_sequence_get_setup_index( - spine_sequence sequence, - ) { - return _spine_sequence_get_setup_index( - sequence, - ); + int spine_sequence_get_setup_index(spine_sequence sequence) { + return _spine_sequence_get_setup_index(sequence); } - late final _spine_sequence_get_setup_indexPtr = - _lookup>('spine_sequence_get_setup_index'); - late final _spine_sequence_get_setup_index = - _spine_sequence_get_setup_indexPtr.asFunction(); + late final _spine_sequence_get_setup_indexPtr = _lookup>( + 'spine_sequence_get_setup_index', + ); + late final _spine_sequence_get_setup_index = _spine_sequence_get_setup_indexPtr + .asFunction(); - void spine_sequence_set_setup_index( - spine_sequence sequence, - int setupIndex, - ) { - return _spine_sequence_set_setup_index( - sequence, - setupIndex, - ); + void spine_sequence_set_setup_index(spine_sequence sequence, int setupIndex) { + return _spine_sequence_set_setup_index(sequence, setupIndex); } late final _spine_sequence_set_setup_indexPtr = _lookup>('spine_sequence_set_setup_index'); - late final _spine_sequence_set_setup_index = - _spine_sequence_set_setup_indexPtr.asFunction(); + late final _spine_sequence_set_setup_index = _spine_sequence_set_setup_indexPtr + .asFunction(); - int spine_sequence_get_num_regions( - spine_sequence sequence, - ) { - return _spine_sequence_get_num_regions( - sequence, - ); + int spine_sequence_get_num_regions(spine_sequence sequence) { + return _spine_sequence_get_num_regions(sequence); } - late final _spine_sequence_get_num_regionsPtr = - _lookup>('spine_sequence_get_num_regions'); - late final _spine_sequence_get_num_regions = - _spine_sequence_get_num_regionsPtr.asFunction(); + late final _spine_sequence_get_num_regionsPtr = _lookup>( + 'spine_sequence_get_num_regions', + ); + late final _spine_sequence_get_num_regions = _spine_sequence_get_num_regionsPtr + .asFunction(); - ffi.Pointer spine_sequence_get_regions( - spine_sequence sequence, - ) { - return _spine_sequence_get_regions( - sequence, - ); + ffi.Pointer spine_sequence_get_regions(spine_sequence sequence) { + return _spine_sequence_get_regions(sequence); } late final _spine_sequence_get_regionsPtr = _lookup Function(spine_sequence)>>( - 'spine_sequence_get_regions'); - late final _spine_sequence_get_regions = - _spine_sequence_get_regionsPtr.asFunction Function(spine_sequence)>(); + 'spine_sequence_get_regions', + ); + late final _spine_sequence_get_regions = _spine_sequence_get_regionsPtr + .asFunction Function(spine_sequence)>(); - ffi.Pointer spine_texture_region_get_texture( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_texture( - textureRegion, - ); + ffi.Pointer spine_texture_region_get_texture(spine_texture_region textureRegion) { + return _spine_texture_region_get_texture(textureRegion); } late final _spine_texture_region_get_texturePtr = _lookup Function(spine_texture_region)>>( - 'spine_texture_region_get_texture'); - late final _spine_texture_region_get_texture = - _spine_texture_region_get_texturePtr.asFunction Function(spine_texture_region)>(); + 'spine_texture_region_get_texture', + ); + late final _spine_texture_region_get_texture = _spine_texture_region_get_texturePtr + .asFunction Function(spine_texture_region)>(); - void spine_texture_region_set_texture( - spine_texture_region textureRegion, - ffi.Pointer texture, - ) { - return _spine_texture_region_set_texture( - textureRegion, - texture, - ); + void spine_texture_region_set_texture(spine_texture_region textureRegion, ffi.Pointer texture) { + return _spine_texture_region_set_texture(textureRegion, texture); } late final _spine_texture_region_set_texturePtr = _lookup)>>( - 'spine_texture_region_set_texture'); - late final _spine_texture_region_set_texture = - _spine_texture_region_set_texturePtr.asFunction)>(); + 'spine_texture_region_set_texture', + ); + late final _spine_texture_region_set_texture = _spine_texture_region_set_texturePtr + .asFunction)>(); - double spine_texture_region_get_u( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_u( - textureRegion, - ); + double spine_texture_region_get_u(spine_texture_region textureRegion) { + return _spine_texture_region_get_u(textureRegion); } - late final _spine_texture_region_get_uPtr = - _lookup>('spine_texture_region_get_u'); - late final _spine_texture_region_get_u = - _spine_texture_region_get_uPtr.asFunction(); + late final _spine_texture_region_get_uPtr = _lookup>( + 'spine_texture_region_get_u', + ); + late final _spine_texture_region_get_u = _spine_texture_region_get_uPtr + .asFunction(); - void spine_texture_region_set_u( - spine_texture_region textureRegion, - double u, - ) { - return _spine_texture_region_set_u( - textureRegion, - u, - ); + void spine_texture_region_set_u(spine_texture_region textureRegion, double u) { + return _spine_texture_region_set_u(textureRegion, u); } late final _spine_texture_region_set_uPtr = _lookup>('spine_texture_region_set_u'); - late final _spine_texture_region_set_u = - _spine_texture_region_set_uPtr.asFunction(); + late final _spine_texture_region_set_u = _spine_texture_region_set_uPtr + .asFunction(); - double spine_texture_region_get_v( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_v( - textureRegion, - ); + double spine_texture_region_get_v(spine_texture_region textureRegion) { + return _spine_texture_region_get_v(textureRegion); } - late final _spine_texture_region_get_vPtr = - _lookup>('spine_texture_region_get_v'); - late final _spine_texture_region_get_v = - _spine_texture_region_get_vPtr.asFunction(); + late final _spine_texture_region_get_vPtr = _lookup>( + 'spine_texture_region_get_v', + ); + late final _spine_texture_region_get_v = _spine_texture_region_get_vPtr + .asFunction(); - void spine_texture_region_set_v( - spine_texture_region textureRegion, - double v, - ) { - return _spine_texture_region_set_v( - textureRegion, - v, - ); + void spine_texture_region_set_v(spine_texture_region textureRegion, double v) { + return _spine_texture_region_set_v(textureRegion, v); } late final _spine_texture_region_set_vPtr = _lookup>('spine_texture_region_set_v'); - late final _spine_texture_region_set_v = - _spine_texture_region_set_vPtr.asFunction(); + late final _spine_texture_region_set_v = _spine_texture_region_set_vPtr + .asFunction(); - double spine_texture_region_get_u2( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_u2( - textureRegion, - ); + double spine_texture_region_get_u2(spine_texture_region textureRegion) { + return _spine_texture_region_get_u2(textureRegion); } - late final _spine_texture_region_get_u2Ptr = - _lookup>('spine_texture_region_get_u2'); - late final _spine_texture_region_get_u2 = - _spine_texture_region_get_u2Ptr.asFunction(); + late final _spine_texture_region_get_u2Ptr = _lookup>( + 'spine_texture_region_get_u2', + ); + late final _spine_texture_region_get_u2 = _spine_texture_region_get_u2Ptr + .asFunction(); - void spine_texture_region_set_u2( - spine_texture_region textureRegion, - double u2, - ) { - return _spine_texture_region_set_u2( - textureRegion, - u2, - ); + void spine_texture_region_set_u2(spine_texture_region textureRegion, double u2) { + return _spine_texture_region_set_u2(textureRegion, u2); } late final _spine_texture_region_set_u2Ptr = _lookup>('spine_texture_region_set_u2'); - late final _spine_texture_region_set_u2 = - _spine_texture_region_set_u2Ptr.asFunction(); + late final _spine_texture_region_set_u2 = _spine_texture_region_set_u2Ptr + .asFunction(); - double spine_texture_region_get_v2( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_v2( - textureRegion, - ); + double spine_texture_region_get_v2(spine_texture_region textureRegion) { + return _spine_texture_region_get_v2(textureRegion); } - late final _spine_texture_region_get_v2Ptr = - _lookup>('spine_texture_region_get_v2'); - late final _spine_texture_region_get_v2 = - _spine_texture_region_get_v2Ptr.asFunction(); + late final _spine_texture_region_get_v2Ptr = _lookup>( + 'spine_texture_region_get_v2', + ); + late final _spine_texture_region_get_v2 = _spine_texture_region_get_v2Ptr + .asFunction(); - void spine_texture_region_set_v2( - spine_texture_region textureRegion, - double v2, - ) { - return _spine_texture_region_set_v2( - textureRegion, - v2, - ); + void spine_texture_region_set_v2(spine_texture_region textureRegion, double v2) { + return _spine_texture_region_set_v2(textureRegion, v2); } late final _spine_texture_region_set_v2Ptr = _lookup>('spine_texture_region_set_v2'); - late final _spine_texture_region_set_v2 = - _spine_texture_region_set_v2Ptr.asFunction(); + late final _spine_texture_region_set_v2 = _spine_texture_region_set_v2Ptr + .asFunction(); - int spine_texture_region_get_degrees( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_degrees( - textureRegion, - ); + int spine_texture_region_get_degrees(spine_texture_region textureRegion) { + return _spine_texture_region_get_degrees(textureRegion); } late final _spine_texture_region_get_degreesPtr = _lookup>('spine_texture_region_get_degrees'); - late final _spine_texture_region_get_degrees = - _spine_texture_region_get_degreesPtr.asFunction(); + late final _spine_texture_region_get_degrees = _spine_texture_region_get_degreesPtr + .asFunction(); - void spine_texture_region_set_degrees( - spine_texture_region textureRegion, - int degrees, - ) { - return _spine_texture_region_set_degrees( - textureRegion, - degrees, - ); + void spine_texture_region_set_degrees(spine_texture_region textureRegion, int degrees) { + return _spine_texture_region_set_degrees(textureRegion, degrees); } late final _spine_texture_region_set_degreesPtr = _lookup>( - 'spine_texture_region_set_degrees'); - late final _spine_texture_region_set_degrees = - _spine_texture_region_set_degreesPtr.asFunction(); + 'spine_texture_region_set_degrees', + ); + late final _spine_texture_region_set_degrees = _spine_texture_region_set_degreesPtr + .asFunction(); - double spine_texture_region_get_offset_x( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_offset_x( - textureRegion, - ); + double spine_texture_region_get_offset_x(spine_texture_region textureRegion) { + return _spine_texture_region_get_offset_x(textureRegion); } late final _spine_texture_region_get_offset_xPtr = _lookup>('spine_texture_region_get_offset_x'); - late final _spine_texture_region_get_offset_x = - _spine_texture_region_get_offset_xPtr.asFunction(); + late final _spine_texture_region_get_offset_x = _spine_texture_region_get_offset_xPtr + .asFunction(); - void spine_texture_region_set_offset_x( - spine_texture_region textureRegion, - double offsetX, - ) { - return _spine_texture_region_set_offset_x( - textureRegion, - offsetX, - ); + void spine_texture_region_set_offset_x(spine_texture_region textureRegion, double offsetX) { + return _spine_texture_region_set_offset_x(textureRegion, offsetX); } late final _spine_texture_region_set_offset_xPtr = _lookup>( - 'spine_texture_region_set_offset_x'); - late final _spine_texture_region_set_offset_x = - _spine_texture_region_set_offset_xPtr.asFunction(); + 'spine_texture_region_set_offset_x', + ); + late final _spine_texture_region_set_offset_x = _spine_texture_region_set_offset_xPtr + .asFunction(); - double spine_texture_region_get_offset_y( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_offset_y( - textureRegion, - ); + double spine_texture_region_get_offset_y(spine_texture_region textureRegion) { + return _spine_texture_region_get_offset_y(textureRegion); } late final _spine_texture_region_get_offset_yPtr = _lookup>('spine_texture_region_get_offset_y'); - late final _spine_texture_region_get_offset_y = - _spine_texture_region_get_offset_yPtr.asFunction(); + late final _spine_texture_region_get_offset_y = _spine_texture_region_get_offset_yPtr + .asFunction(); - void spine_texture_region_set_offset_y( - spine_texture_region textureRegion, - double offsetY, - ) { - return _spine_texture_region_set_offset_y( - textureRegion, - offsetY, - ); + void spine_texture_region_set_offset_y(spine_texture_region textureRegion, double offsetY) { + return _spine_texture_region_set_offset_y(textureRegion, offsetY); } late final _spine_texture_region_set_offset_yPtr = _lookup>( - 'spine_texture_region_set_offset_y'); - late final _spine_texture_region_set_offset_y = - _spine_texture_region_set_offset_yPtr.asFunction(); + 'spine_texture_region_set_offset_y', + ); + late final _spine_texture_region_set_offset_y = _spine_texture_region_set_offset_yPtr + .asFunction(); - int spine_texture_region_get_width( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_width( - textureRegion, - ); + int spine_texture_region_get_width(spine_texture_region textureRegion) { + return _spine_texture_region_get_width(textureRegion); } - late final _spine_texture_region_get_widthPtr = - _lookup>('spine_texture_region_get_width'); - late final _spine_texture_region_get_width = - _spine_texture_region_get_widthPtr.asFunction(); + late final _spine_texture_region_get_widthPtr = _lookup>( + 'spine_texture_region_get_width', + ); + late final _spine_texture_region_get_width = _spine_texture_region_get_widthPtr + .asFunction(); - void spine_texture_region_set_width( - spine_texture_region textureRegion, - int width, - ) { - return _spine_texture_region_set_width( - textureRegion, - width, - ); + void spine_texture_region_set_width(spine_texture_region textureRegion, int width) { + return _spine_texture_region_set_width(textureRegion, width); } late final _spine_texture_region_set_widthPtr = _lookup>('spine_texture_region_set_width'); - late final _spine_texture_region_set_width = - _spine_texture_region_set_widthPtr.asFunction(); + late final _spine_texture_region_set_width = _spine_texture_region_set_widthPtr + .asFunction(); - int spine_texture_region_get_height( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_height( - textureRegion, - ); + int spine_texture_region_get_height(spine_texture_region textureRegion) { + return _spine_texture_region_get_height(textureRegion); } late final _spine_texture_region_get_heightPtr = _lookup>('spine_texture_region_get_height'); - late final _spine_texture_region_get_height = - _spine_texture_region_get_heightPtr.asFunction(); + late final _spine_texture_region_get_height = _spine_texture_region_get_heightPtr + .asFunction(); - void spine_texture_region_set_height( - spine_texture_region textureRegion, - int height, - ) { - return _spine_texture_region_set_height( - textureRegion, - height, - ); + void spine_texture_region_set_height(spine_texture_region textureRegion, int height) { + return _spine_texture_region_set_height(textureRegion, height); } late final _spine_texture_region_set_heightPtr = _lookup>( - 'spine_texture_region_set_height'); - late final _spine_texture_region_set_height = - _spine_texture_region_set_heightPtr.asFunction(); + 'spine_texture_region_set_height', + ); + late final _spine_texture_region_set_height = _spine_texture_region_set_heightPtr + .asFunction(); - int spine_texture_region_get_original_width( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_original_width( - textureRegion, - ); + int spine_texture_region_get_original_width(spine_texture_region textureRegion) { + return _spine_texture_region_get_original_width(textureRegion); } late final _spine_texture_region_get_original_widthPtr = _lookup>('spine_texture_region_get_original_width'); - late final _spine_texture_region_get_original_width = - _spine_texture_region_get_original_widthPtr.asFunction(); + late final _spine_texture_region_get_original_width = _spine_texture_region_get_original_widthPtr + .asFunction(); - void spine_texture_region_set_original_width( - spine_texture_region textureRegion, - int originalWidth, - ) { - return _spine_texture_region_set_original_width( - textureRegion, - originalWidth, - ); + void spine_texture_region_set_original_width(spine_texture_region textureRegion, int originalWidth) { + return _spine_texture_region_set_original_width(textureRegion, originalWidth); } late final _spine_texture_region_set_original_widthPtr = _lookup>( - 'spine_texture_region_set_original_width'); - late final _spine_texture_region_set_original_width = - _spine_texture_region_set_original_widthPtr.asFunction(); + 'spine_texture_region_set_original_width', + ); + late final _spine_texture_region_set_original_width = _spine_texture_region_set_original_widthPtr + .asFunction(); - int spine_texture_region_get_original_height( - spine_texture_region textureRegion, - ) { - return _spine_texture_region_get_original_height( - textureRegion, - ); + int spine_texture_region_get_original_height(spine_texture_region textureRegion) { + return _spine_texture_region_get_original_height(textureRegion); } late final _spine_texture_region_get_original_heightPtr = _lookup>('spine_texture_region_get_original_height'); - late final _spine_texture_region_get_original_height = - _spine_texture_region_get_original_heightPtr.asFunction(); + late final _spine_texture_region_get_original_height = _spine_texture_region_get_original_heightPtr + .asFunction(); - void spine_texture_region_set_original_height( - spine_texture_region textureRegion, - int originalHeight, - ) { - return _spine_texture_region_set_original_height( - textureRegion, - originalHeight, - ); + void spine_texture_region_set_original_height(spine_texture_region textureRegion, int originalHeight) { + return _spine_texture_region_set_original_height(textureRegion, originalHeight); } late final _spine_texture_region_set_original_heightPtr = _lookup>( - 'spine_texture_region_set_original_height'); - late final _spine_texture_region_set_original_height = - _spine_texture_region_set_original_heightPtr.asFunction(); + 'spine_texture_region_set_original_height', + ); + late final _spine_texture_region_set_original_height = _spine_texture_region_set_original_heightPtr + .asFunction(); } class spine_skeleton_wrapper extends ffi.Opaque {} diff --git a/spine-flutter/lib/spine_widget.dart b/spine-flutter/lib/spine_widget.dart index 086210d99..00c154974 100644 --- a/spine-flutter/lib/spine_widget.dart +++ b/spine-flutter/lib/spine_widget.dart @@ -74,12 +74,13 @@ class SpineWidgetController { /// Constructs a new [SpineWidget] controller. See the class documentation of [SpineWidgetController] for information on /// the optional arguments. - SpineWidgetController( - {this.onInitialized, - this.onBeforeUpdateWorldTransforms, - this.onAfterUpdateWorldTransforms, - this.onBeforePaint, - this.onAfterPaint}); + SpineWidgetController({ + this.onInitialized, + this.onBeforeUpdateWorldTransforms, + this.onAfterUpdateWorldTransforms, + this.onBeforePaint, + this.onAfterPaint, + }); void _initialize(SkeletonDrawable drawable) { var wasInitialized = _drawable != null; @@ -207,7 +208,7 @@ class SkinAndAnimationBounds extends BoundsProvider { /// The [stepTime], given in seconds, defines at what interval the bounds should be sampled /// across the entire animation. SkinAndAnimationBounds({List? skins, this.animation, this.stepTime = 0.1}) - : skins = skins == null || skins.isEmpty ? ["default"] : skins; + : skins = skins == null || skins.isEmpty ? ["default"] : skins; @override Bounds computeBounds(SkeletonDrawable drawable) { @@ -286,20 +287,23 @@ class SpineWidget extends StatefulWidget { /// are used. /// /// The widget can optionally by sized by the bounds provided by the [BoundsProvider] by passing `true` for [sizedByBounds]. - SpineWidget.fromAsset(this._atlasFile, this._skeletonFile, this._controller, - {AssetBundle? bundle, - BoxFit? fit, - Alignment? alignment, - BoundsProvider? boundsProvider, - bool? sizedByBounds, - super.key}) - : _assetType = _AssetType.asset, - _fit = fit ?? BoxFit.contain, - _alignment = alignment ?? Alignment.center, - _boundsProvider = boundsProvider ?? const SetupPoseBounds(), - _sizedByBounds = sizedByBounds ?? false, - _drawable = null, - _bundle = bundle ?? rootBundle; + SpineWidget.fromAsset( + this._atlasFile, + this._skeletonFile, + this._controller, { + AssetBundle? bundle, + BoxFit? fit, + Alignment? alignment, + BoundsProvider? boundsProvider, + bool? sizedByBounds, + super.key, + }) : _assetType = _AssetType.asset, + _fit = fit ?? BoxFit.contain, + _alignment = alignment ?? Alignment.center, + _boundsProvider = boundsProvider ?? const SetupPoseBounds(), + _sizedByBounds = sizedByBounds ?? false, + _drawable = null, + _bundle = bundle ?? rootBundle; /// Constructs a new [SpineWidget] from files. The [_atlasFile] specifies the `.atlas` file to be loaded for the images used to render /// the skeleton. The [_skeletonFile] specifies either a Skeleton `.json` or `.skel` file containing the skeleton data. @@ -312,15 +316,22 @@ class SpineWidget extends StatefulWidget { /// are used. /// /// The widget can optionally by sized by the bounds provided by the [BoundsProvider] by passing `true` for [sizedByBounds]. - const SpineWidget.fromFile(this._atlasFile, this._skeletonFile, this._controller, - {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) - : _assetType = _AssetType.file, - _bundle = null, - _fit = fit ?? BoxFit.contain, - _alignment = alignment ?? Alignment.center, - _boundsProvider = boundsProvider ?? const SetupPoseBounds(), - _sizedByBounds = sizedByBounds ?? false, - _drawable = null; + const SpineWidget.fromFile( + this._atlasFile, + this._skeletonFile, + this._controller, { + BoxFit? fit, + Alignment? alignment, + BoundsProvider? boundsProvider, + bool? sizedByBounds, + super.key, + }) : _assetType = _AssetType.file, + _bundle = null, + _fit = fit ?? BoxFit.contain, + _alignment = alignment ?? Alignment.center, + _boundsProvider = boundsProvider ?? const SetupPoseBounds(), + _sizedByBounds = sizedByBounds ?? false, + _drawable = null; /// Constructs a new [SpineWidget] from HTTP URLs. The [_atlasFile] specifies the `.atlas` file to be loaded for the images used to render /// the skeleton. The [_skeletonFile] specifies either a Skeleton `.json` or `.skel` file containing the skeleton data. @@ -333,15 +344,22 @@ class SpineWidget extends StatefulWidget { /// are used. /// /// The widget can optionally by sized by the bounds provided by the [BoundsProvider] by passing `true` for [sizedByBounds]. - const SpineWidget.fromHttp(this._atlasFile, this._skeletonFile, this._controller, - {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) - : _assetType = _AssetType.http, - _bundle = null, - _fit = fit ?? BoxFit.contain, - _alignment = alignment ?? Alignment.center, - _boundsProvider = boundsProvider ?? const SetupPoseBounds(), - _sizedByBounds = sizedByBounds ?? false, - _drawable = null; + const SpineWidget.fromHttp( + this._atlasFile, + this._skeletonFile, + this._controller, { + BoxFit? fit, + Alignment? alignment, + BoundsProvider? boundsProvider, + bool? sizedByBounds, + super.key, + }) : _assetType = _AssetType.http, + _bundle = null, + _fit = fit ?? BoxFit.contain, + _alignment = alignment ?? Alignment.center, + _boundsProvider = boundsProvider ?? const SetupPoseBounds(), + _sizedByBounds = sizedByBounds ?? false, + _drawable = null; /// Constructs a new [SpineWidget] from a [SkeletonDrawable]. /// @@ -353,16 +371,22 @@ class SpineWidget extends StatefulWidget { /// are used. /// /// The widget can optionally by sized by the bounds provided by the [BoundsProvider] by passing `true` for [sizedByBounds]. - const SpineWidget.fromDrawable(this._drawable, this._controller, - {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) - : _assetType = _AssetType.drawable, - _bundle = null, - _fit = fit ?? BoxFit.contain, - _alignment = alignment ?? Alignment.center, - _boundsProvider = boundsProvider ?? const SetupPoseBounds(), - _sizedByBounds = sizedByBounds ?? false, - _skeletonFile = null, - _atlasFile = null; + const SpineWidget.fromDrawable( + this._drawable, + this._controller, { + BoxFit? fit, + Alignment? alignment, + BoundsProvider? boundsProvider, + bool? sizedByBounds, + super.key, + }) : _assetType = _AssetType.drawable, + _bundle = null, + _fit = fit ?? BoxFit.contain, + _alignment = alignment ?? Alignment.center, + _boundsProvider = boundsProvider ?? const SetupPoseBounds(), + _sizedByBounds = sizedByBounds ?? false, + _skeletonFile = null, + _atlasFile = null; @override State createState() => _SpineWidgetState(); @@ -439,7 +463,13 @@ class _SpineWidgetState extends State { Widget build(BuildContext context) { if (_drawable != null) { return _SpineRenderObjectWidget( - _drawable!, widget._controller, widget._fit, widget._alignment, _computedBounds, widget._sizedByBounds); + _drawable!, + widget._controller, + widget._fit, + widget._alignment, + _computedBounds, + widget._sizedByBounds, + ); } else { return const SizedBox(); } @@ -461,7 +491,13 @@ class _SpineRenderObjectWidget extends LeafRenderObjectWidget { final bool _sizedByBounds; const _SpineRenderObjectWidget( - this._skeletonDrawable, this._controller, this._fit, this._alignment, this._bounds, this._sizedByBounds); + this._skeletonDrawable, + this._controller, + this._fit, + this._alignment, + this._bounds, + this._sizedByBounds, + ); @override RenderObject createRenderObject(BuildContext context) { @@ -491,7 +527,13 @@ class _SpineRenderObject extends RenderBox { bool _firstUpdated = false; _SpineRenderObject( - this._skeletonDrawable, this._controller, this._fit, this._alignment, this._bounds, this._sizedByBounds); + this._skeletonDrawable, + this._controller, + this._fit, + this._alignment, + this._bounds, + this._sizedByBounds, + ); set skeletonDrawable(SkeletonDrawable skeletonDrawable) { if (_skeletonDrawable == skeletonDrawable) return;