diff --git a/spine-flutter/lib/ffi_proxy.dart b/spine-flutter/lib/ffi_proxy.dart index 8c64ba026..0925c3838 100644 --- a/spine-flutter/lib/ffi_proxy.dart +++ b/spine-flutter/lib/ffi_proxy.dart @@ -1,2 +1,3 @@ export 'dart:ffi' if (dart.library.html) 'package:web_ffi_fork/web_ffi.dart'; -export 'package:ffi/ffi.dart' if (dart.library.html) 'package:web_ffi_fork/src/ffi/utf8.dart'; \ No newline at end of file + +export 'package:ffi/ffi.dart' if (dart.library.html) 'package:web_ffi_fork/src/ffi/utf8.dart'; diff --git a/spine-flutter/lib/init.dart b/spine-flutter/lib/init.dart index 71845dde7..bcbf5b082 100644 --- a/spine-flutter/lib/init.dart +++ b/spine-flutter/lib/init.dart @@ -1,5 +1,6 @@ -import 'dart:io'; import 'dart:ffi'; +import 'dart:io'; + import 'package:ffi/ffi.dart'; const String _libName = 'esotericsoftware_spine_flutter'; diff --git a/spine-flutter/lib/spine_flutter.dart b/spine-flutter/lib/spine_flutter.dart index 9359fb3b8..fc4a4645f 100644 --- a/spine-flutter/lib/spine_flutter.dart +++ b/spine-flutter/lib/spine_flutter.dart @@ -4,6 +4,7 @@ import 'dart:math'; import 'dart:typed_data'; import 'dart:ui'; +import 'package:flutter/foundation.dart' show kIsWeb; import 'package:flutter/material.dart' as material; import 'package:flutter/rendering.dart' as rendering; import 'package:flutter/services.dart'; @@ -11,12 +12,11 @@ import 'package:http/http.dart' as http; import 'package:path/path.dart' as path; import 'package:raw_image_provider/raw_image_provider.dart'; -import 'spine_flutter_bindings_generated.dart'; import 'ffi_proxy.dart'; +import 'init.dart' if (dart.library.html) 'init_web.dart'; +import 'spine_flutter_bindings_generated.dart'; export 'spine_widget.dart'; -import 'init.dart' if (dart.library.html) 'init_web.dart'; -import 'package:flutter/foundation.dart' show kIsWeb; late SpineFlutterBindings _bindings; late Allocator _allocator; @@ -94,8 +94,7 @@ class Atlas { final Image image = frameInfo.image; atlasPages.add(image); atlasPagePaints.add(Paint() - ..shader = ImageShader(image, TileMode.clamp, TileMode.clamp, Matrix4.identity().storage, - filterQuality: FilterQuality.high) + ..shader = ImageShader(image, TileMode.clamp, TileMode.clamp, Matrix4.identity().storage, filterQuality: FilterQuality.high) ..isAntiAlias = true); } @@ -610,10 +609,7 @@ class BoneData { 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), + 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)); } @@ -648,8 +644,7 @@ class Bone { _bindings.spine_bone_update_world_transform(_bone); } - void updateWorldTransformWith( - double x, double y, double rotation, double scaleX, double scaleY, double shearX, double shearY) { + void updateWorldTransformWith(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); } @@ -920,10 +915,7 @@ class SlotData { 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), + 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)); } @@ -933,10 +925,7 @@ class SlotData { 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), + 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)); } @@ -1000,10 +989,7 @@ class Slot { 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), + 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)); } @@ -1013,10 +999,7 @@ class Slot { 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), + 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)); } @@ -1339,10 +1322,7 @@ 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), + 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)); } @@ -1451,10 +1431,7 @@ 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), + 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)); } @@ -1527,10 +1504,7 @@ class ClippingAttachment extends VertexAttachment { 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), + 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)); } @@ -1544,10 +1518,7 @@ class BoundingBoxAttachment extends VertexAttachment { 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), + 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)); } @@ -1635,10 +1603,7 @@ class PointAttachment extends Attachment { 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), + 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)); } @@ -1675,8 +1640,7 @@ 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()); + _bindings.spine_skin_set_attachment(_skin, slotIndex, nativeName.cast(), attachment == null ? nullptr : attachment._attachment.cast()); _allocator.free(nativeName); } @@ -1710,8 +1674,12 @@ 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(_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)))); + 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)))); } return result; } @@ -2404,8 +2372,7 @@ 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; @@ -2460,11 +2427,8 @@ class Skeleton { /// @param outVertexBuffer Reference to hold a Vector of floats. This method will assign it with new floats as needed. 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)); _allocator.free(nativeBounds); return bounds; } @@ -2549,10 +2513,7 @@ class Skeleton { 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), + 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)); } @@ -3154,16 +3115,14 @@ class AnimationState { /// after AnimationState.Dispose. 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); } 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); } @@ -3178,16 +3137,14 @@ class AnimationState { /// after AnimationState.Dispose 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); + final entry = _bindings.spine_animation_state_add_animation_by_name(_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); } 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); } @@ -3258,7 +3215,8 @@ 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(); } @@ -3303,8 +3261,7 @@ class SkeletonDrawable { void renderToCanvas(Canvas canvas) { var commands = render(); for (final cmd in commands) { - canvas.drawVertices( - cmd.vertices, rendering.BlendMode.modulate, atlas.atlasPagePaints[cmd.atlasPageIndex]); + canvas.drawVertices(cmd.vertices, rendering.BlendMode.modulate, atlas.atlasPagePaints[cmd.atlasPageIndex]); } } @@ -3335,7 +3292,10 @@ class SkeletonDrawable { Future renderToRawImageData(double width, double height) async { final recorder = renderToPictureRecorder(width, height); - 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()); } @@ -3376,20 +3336,14 @@ class RenderCommand { // is copied, so it doesn't matter that we free up the underlying memory on the next // render call. See the implementation of Vertices.raw() here: // https://github.com/flutter/engine/blob/5c60785b802ad2c8b8899608d949342d5c624952/lib/ui/painting/vertices.cc#L21 - 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. final positionsCopy = Float32List.fromList(positions); 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); } } } @@ -3405,4 +3359,4 @@ class DebugRenderer { canvas.drawRect(Rect.fromCenter(center: Offset(bone.getWorldX(), bone.getWorldY()), width: 5, height: 5), bonePaint); } } -} \ No newline at end of file +} diff --git a/spine-flutter/lib/spine_flutter_bindings_generated.dart b/spine-flutter/lib/spine_flutter_bindings_generated.dart index 0db4bc448..11390731a 100644 --- a/spine-flutter/lib/spine_flutter_bindings_generated.dart +++ b/spine-flutter/lib/spine_flutter_bindings_generated.dart @@ -13,36 +13,27 @@ import 'ffi_proxy.dart' as ffi; /// class SpineFlutterBindings { /// Holds the symbol lookup function. - final ffi.Pointer Function(String symbolName) - _lookup; + final ffi.Pointer Function(String symbolName) _lookup; /// The symbols are looked up in [dynamicLibrary]. - SpineFlutterBindings(ffi.DynamicLibrary dynamicLibrary) - : _lookup = dynamicLibrary.lookup; + SpineFlutterBindings(ffi.DynamicLibrary dynamicLibrary) : _lookup = dynamicLibrary.lookup; /// The symbols are looked up with [lookup]. - SpineFlutterBindings.fromLookup( - ffi.Pointer Function(String symbolName) - lookup) - : _lookup = lookup; + SpineFlutterBindings.fromLookup(ffi.Pointer Function(String symbolName) lookup) : _lookup = lookup; int spine_major_version() { return _spine_major_version(); } - late final _spine_major_versionPtr = - _lookup>('spine_major_version'); - late final _spine_major_version = - _spine_major_versionPtr.asFunction(); + late final _spine_major_versionPtr = _lookup>('spine_major_version'); + late final _spine_major_version = _spine_major_versionPtr.asFunction(); int spine_minor_version() { return _spine_minor_version(); } - late final _spine_minor_versionPtr = - _lookup>('spine_minor_version'); - late final _spine_minor_version = - _spine_minor_versionPtr.asFunction(); + 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, @@ -52,20 +43,15 @@ class SpineFlutterBindings { ); } - late final _spine_enable_debug_extensionPtr = - _lookup>( - 'spine_enable_debug_extension'); - late final _spine_enable_debug_extension = - _spine_enable_debug_extensionPtr.asFunction(); + 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() { return _spine_report_leaks(); } - late final _spine_report_leaksPtr = - _lookup>('spine_report_leaks'); - late final _spine_report_leaks = - _spine_report_leaksPtr.asFunction(); + 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, @@ -75,11 +61,8 @@ class SpineFlutterBindings { ); } - late final _spine_color_get_rPtr = - _lookup>( - 'spine_color_get_r'); - late final _spine_color_get_r = - _spine_color_get_rPtr.asFunction(); + 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, @@ -89,11 +72,8 @@ class SpineFlutterBindings { ); } - late final _spine_color_get_gPtr = - _lookup>( - 'spine_color_get_g'); - late final _spine_color_get_g = - _spine_color_get_gPtr.asFunction(); + 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, @@ -103,11 +83,8 @@ class SpineFlutterBindings { ); } - late final _spine_color_get_bPtr = - _lookup>( - 'spine_color_get_b'); - late final _spine_color_get_b = - _spine_color_get_bPtr.asFunction(); + 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, @@ -117,11 +94,8 @@ class SpineFlutterBindings { ); } - late final _spine_color_get_aPtr = - _lookup>( - 'spine_color_get_a'); - late final _spine_color_get_a = - _spine_color_get_aPtr.asFunction(); + 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, @@ -131,11 +105,8 @@ class SpineFlutterBindings { ); } - late final _spine_bounds_get_xPtr = - _lookup>( - 'spine_bounds_get_x'); - late final _spine_bounds_get_x = - _spine_bounds_get_xPtr.asFunction(); + 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, @@ -145,11 +116,8 @@ class SpineFlutterBindings { ); } - late final _spine_bounds_get_yPtr = - _lookup>( - 'spine_bounds_get_y'); - late final _spine_bounds_get_y = - _spine_bounds_get_yPtr.asFunction(); + 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, @@ -159,11 +127,8 @@ class SpineFlutterBindings { ); } - late final _spine_bounds_get_widthPtr = - _lookup>( - 'spine_bounds_get_width'); - late final _spine_bounds_get_width = - _spine_bounds_get_widthPtr.asFunction(); + 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, @@ -173,11 +138,8 @@ class SpineFlutterBindings { ); } - late final _spine_bounds_get_heightPtr = - _lookup>( - 'spine_bounds_get_height'); - late final _spine_bounds_get_height = - _spine_bounds_get_heightPtr.asFunction(); + 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, @@ -187,11 +149,8 @@ class SpineFlutterBindings { ); } - late final _spine_vector_get_xPtr = - _lookup>( - 'spine_vector_get_x'); - late final _spine_vector_get_x = - _spine_vector_get_xPtr.asFunction(); + 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, @@ -201,11 +160,8 @@ class SpineFlutterBindings { ); } - late final _spine_vector_get_yPtr = - _lookup>( - 'spine_vector_get_y'); - late final _spine_vector_get_y = - _spine_vector_get_yPtr.asFunction(); + 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, @@ -215,11 +171,8 @@ class SpineFlutterBindings { ); } - late final _spine_atlas_loadPtr = - _lookup)>>( - 'spine_atlas_load'); - late final _spine_atlas_load = _spine_atlas_loadPtr - .asFunction)>(); + 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, @@ -230,11 +183,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -246,12 +196,9 @@ class SpineFlutterBindings { ); } - late final _spine_atlas_get_image_pathPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer 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_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)>(); ffi.Pointer spine_atlas_get_error( spine_atlas atlas, @@ -261,11 +208,8 @@ class SpineFlutterBindings { ); } - 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)>(); + 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, @@ -275,11 +219,8 @@ class SpineFlutterBindings { ); } - late final _spine_atlas_disposePtr = - _lookup>( - 'spine_atlas_dispose'); - late final _spine_atlas_dispose = - _spine_atlas_disposePtr.asFunction(); + 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, @@ -291,14 +232,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_load_jsonPtr = _lookup< - ffi.NativeFunction< - spine_skeleton_data_result Function(spine_atlas, - ffi.Pointer)>>('spine_skeleton_data_load_json'); + late final _spine_skeleton_data_load_jsonPtr = + _lookup)>>('spine_skeleton_data_load_json'); late final _spine_skeleton_data_load_json = - _spine_skeleton_data_load_jsonPtr.asFunction< - spine_skeleton_data_result Function( - spine_atlas, ffi.Pointer)>(); + _spine_skeleton_data_load_jsonPtr.asFunction)>(); spine_skeleton_data_result spine_skeleton_data_load_binary( spine_atlas atlas, @@ -312,16 +249,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_load_binaryPtr = _lookup< - ffi.NativeFunction< - spine_skeleton_data_result Function( - spine_atlas, - ffi.Pointer, - ffi.Int32)>>('spine_skeleton_data_load_binary'); + late final _spine_skeleton_data_load_binaryPtr = + _lookup, ffi.Int32)>>( + 'spine_skeleton_data_load_binary'); late final _spine_skeleton_data_load_binary = - _spine_skeleton_data_load_binaryPtr.asFunction< - spine_skeleton_data_result Function( - spine_atlas, ffi.Pointer, int)>(); + _spine_skeleton_data_load_binaryPtr.asFunction, int)>(); ffi.Pointer spine_skeleton_data_result_get_error( spine_skeleton_data_result result, @@ -331,13 +263,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_result_get_errorPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(spine_skeleton_data_result)>>( - 'spine_skeleton_data_result_get_error'); + 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_errorPtr.asFunction Function(spine_skeleton_data_result)>(); spine_skeleton_data spine_skeleton_data_result_get_data( spine_skeleton_data_result result, @@ -347,13 +276,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_result_get_dataPtr = _lookup< - ffi.NativeFunction< - spine_skeleton_data Function(spine_skeleton_data_result)>>( - 'spine_skeleton_data_result_get_data'); + 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 Function(spine_skeleton_data_result)>(); + _spine_skeleton_data_result_get_dataPtr.asFunction(); void spine_skeleton_data_result_dispose( spine_skeleton_data_result result, @@ -363,12 +289,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_result_disposePtr = _lookup< - ffi.NativeFunction>( - 'spine_skeleton_data_result_dispose'); + 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(); + _spine_skeleton_data_result_disposePtr.asFunction(); spine_bone_data spine_skeleton_data_find_bone( spine_skeleton_data data, @@ -380,13 +304,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_bonePtr = _lookup< - ffi.NativeFunction< - spine_bone_data Function(spine_skeleton_data, - ffi.Pointer)>>('spine_skeleton_data_find_bone'); + 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_bone_data Function(spine_skeleton_data, ffi.Pointer)>(); + _spine_skeleton_data_find_bonePtr.asFunction)>(); spine_slot_data spine_skeleton_data_find_slot( spine_skeleton_data data, @@ -398,13 +319,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_slotPtr = _lookup< - ffi.NativeFunction< - spine_slot_data Function(spine_skeleton_data, - ffi.Pointer)>>('spine_skeleton_data_find_slot'); + 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_slot_data Function(spine_skeleton_data, ffi.Pointer)>(); + _spine_skeleton_data_find_slotPtr.asFunction)>(); spine_skin spine_skeleton_data_find_skin( spine_skeleton_data data, @@ -416,13 +334,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_skinPtr = _lookup< - ffi.NativeFunction< - spine_skin Function(spine_skeleton_data, - ffi.Pointer)>>('spine_skeleton_data_find_skin'); + 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_skin Function(spine_skeleton_data, ffi.Pointer)>(); + _spine_skeleton_data_find_skinPtr.asFunction)>(); spine_event_data spine_skeleton_data_find_event( spine_skeleton_data data, @@ -434,13 +349,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_eventPtr = _lookup< - ffi.NativeFunction< - spine_event_data Function(spine_skeleton_data, - ffi.Pointer)>>('spine_skeleton_data_find_event'); + late final _spine_skeleton_data_find_eventPtr = + _lookup)>>('spine_skeleton_data_find_event'); late final _spine_skeleton_data_find_event = - _spine_skeleton_data_find_eventPtr.asFunction< - spine_event_data Function(spine_skeleton_data, ffi.Pointer)>(); + _spine_skeleton_data_find_eventPtr.asFunction)>(); spine_animation spine_skeleton_data_find_animation( spine_skeleton_data data, @@ -452,13 +364,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_animationPtr = _lookup< - ffi.NativeFunction< - spine_animation Function(spine_skeleton_data, - ffi.Pointer)>>('spine_skeleton_data_find_animation'); + late final _spine_skeleton_data_find_animationPtr = + _lookup)>>('spine_skeleton_data_find_animation'); late final _spine_skeleton_data_find_animation = - _spine_skeleton_data_find_animationPtr.asFunction< - spine_animation Function(spine_skeleton_data, ffi.Pointer)>(); + _spine_skeleton_data_find_animationPtr.asFunction)>(); spine_ik_constraint_data spine_skeleton_data_find_ik_constraint( spine_skeleton_data data, @@ -470,14 +379,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_ik_constraintPtr = _lookup< - ffi.NativeFunction< - spine_ik_constraint_data Function(spine_skeleton_data, - ffi.Pointer)>>('spine_skeleton_data_find_ik_constraint'); + late final _spine_skeleton_data_find_ik_constraintPtr = + _lookup)>>( + 'spine_skeleton_data_find_ik_constraint'); late final _spine_skeleton_data_find_ik_constraint = - _spine_skeleton_data_find_ik_constraintPtr.asFunction< - spine_ik_constraint_data Function( - spine_skeleton_data, ffi.Pointer)>(); + _spine_skeleton_data_find_ik_constraintPtr.asFunction)>(); spine_transform_constraint_data spine_skeleton_data_find_transform_constraint( spine_skeleton_data data, @@ -489,15 +395,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_transform_constraintPtr = _lookup< - ffi.NativeFunction< - spine_transform_constraint_data Function( - spine_skeleton_data, ffi.Pointer)>>( - 'spine_skeleton_data_find_transform_constraint'); - late final _spine_skeleton_data_find_transform_constraint = - _spine_skeleton_data_find_transform_constraintPtr.asFunction< - spine_transform_constraint_data Function( - spine_skeleton_data, ffi.Pointer)>(); + late final _spine_skeleton_data_find_transform_constraintPtr = + _lookup)>>( + 'spine_skeleton_data_find_transform_constraint'); + late final _spine_skeleton_data_find_transform_constraint = _spine_skeleton_data_find_transform_constraintPtr + .asFunction)>(); spine_path_constraint_data spine_skeleton_data_find_path_constraint( spine_skeleton_data data, @@ -509,14 +411,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_path_constraintPtr = _lookup< - ffi.NativeFunction< - spine_path_constraint_data Function(spine_skeleton_data, - ffi.Pointer)>>('spine_skeleton_data_find_path_constraint'); - late final _spine_skeleton_data_find_path_constraint = - _spine_skeleton_data_find_path_constraintPtr.asFunction< - spine_path_constraint_data Function( - spine_skeleton_data, ffi.Pointer)>(); + late final _spine_skeleton_data_find_path_constraintPtr = + _lookup)>>( + 'spine_skeleton_data_find_path_constraint'); + late final _spine_skeleton_data_find_path_constraint = _spine_skeleton_data_find_path_constraintPtr + .asFunction)>(); ffi.Pointer spine_skeleton_data_get_name( spine_skeleton_data data, @@ -526,11 +425,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_namePtr = _lookup< - ffi.NativeFunction 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_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)>(); /// OMITTED setName() int spine_skeleton_data_get_num_bones( @@ -542,11 +439,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_skeleton_data_get_num_bones'); + 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, @@ -556,12 +450,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer 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)>(); + 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)>(); int spine_skeleton_data_get_num_slots( spine_skeleton_data data, @@ -572,11 +464,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_skeleton_data_get_num_slots'); + 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, @@ -586,12 +475,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_slotsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer 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)>(); + 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)>(); int spine_skeleton_data_get_num_skins( spine_skeleton_data data, @@ -602,11 +489,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_skeleton_data_get_num_skins'); + 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, @@ -616,12 +500,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_skinsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer 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)>(); + 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_skin spine_skeleton_data_get_default_skin( spine_skeleton_data data, @@ -632,11 +514,9 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_default_skinPtr = - _lookup>( - 'spine_skeleton_data_get_default_skin'); + _lookup>('spine_skeleton_data_get_default_skin'); late final _spine_skeleton_data_get_default_skin = - _spine_skeleton_data_get_default_skinPtr - .asFunction(); + _spine_skeleton_data_get_default_skinPtr.asFunction(); void spine_skeleton_data_set_default_skin( spine_skeleton_data data, @@ -648,13 +528,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_default_skinPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_skeleton_data, - spine_skin)>>('spine_skeleton_data_set_default_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_skinPtr.asFunction(); int spine_skeleton_data_get_num_events( spine_skeleton_data data, @@ -665,11 +542,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_skeleton_data_get_num_events'); + 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, @@ -679,13 +553,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_eventsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_skeleton_data)>>('spine_skeleton_data_get_events'); + 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< - ffi.Pointer Function(spine_skeleton_data)>(); + _spine_skeleton_data_get_eventsPtr.asFunction Function(spine_skeleton_data)>(); int spine_skeleton_data_get_num_animations( spine_skeleton_data data, @@ -696,11 +567,9 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_animationsPtr = - _lookup>( - 'spine_skeleton_data_get_num_animations'); + _lookup>('spine_skeleton_data_get_num_animations'); late final _spine_skeleton_data_get_num_animations = - _spine_skeleton_data_get_num_animationsPtr - .asFunction(); + _spine_skeleton_data_get_num_animationsPtr.asFunction(); ffi.Pointer spine_skeleton_data_get_animations( spine_skeleton_data data, @@ -710,13 +579,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_animationsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_skeleton_data)>>('spine_skeleton_data_get_animations'); + 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< - ffi.Pointer Function(spine_skeleton_data)>(); + _spine_skeleton_data_get_animationsPtr.asFunction Function(spine_skeleton_data)>(); int spine_skeleton_data_get_num_ik_constraints( spine_skeleton_data data, @@ -727,11 +593,9 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_ik_constraintsPtr = - _lookup>( - 'spine_skeleton_data_get_num_ik_constraints'); + _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_constraintsPtr.asFunction(); ffi.Pointer spine_skeleton_data_get_ik_constraints( spine_skeleton_data data, @@ -741,14 +605,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_ik_constraintsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_skeleton_data)>>('spine_skeleton_data_get_ik_constraints'); + late final _spine_skeleton_data_get_ik_constraintsPtr = + _lookup Function(spine_skeleton_data)>>( + 'spine_skeleton_data_get_ik_constraints'); late final _spine_skeleton_data_get_ik_constraints = - _spine_skeleton_data_get_ik_constraintsPtr.asFunction< - ffi.Pointer Function( - spine_skeleton_data)>(); + _spine_skeleton_data_get_ik_constraintsPtr.asFunction Function(spine_skeleton_data)>(); int spine_skeleton_data_get_num_transform_constraints( spine_skeleton_data data, @@ -759,14 +620,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_transform_constraintsPtr = - _lookup>( - 'spine_skeleton_data_get_num_transform_constraints'); + _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_constraintsPtr.asFunction(); - ffi.Pointer - spine_skeleton_data_get_transform_constraints( + ffi.Pointer spine_skeleton_data_get_transform_constraints( spine_skeleton_data data, ) { return _spine_skeleton_data_get_transform_constraints( @@ -774,15 +632,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_transform_constraintsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_skeleton_data)>>( - 'spine_skeleton_data_get_transform_constraints'); - late final _spine_skeleton_data_get_transform_constraints = - _spine_skeleton_data_get_transform_constraintsPtr.asFunction< - ffi.Pointer Function( - spine_skeleton_data)>(); + late final _spine_skeleton_data_get_transform_constraintsPtr = + _lookup Function(spine_skeleton_data)>>( + '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, @@ -793,14 +647,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_path_constraintsPtr = - _lookup>( - 'spine_skeleton_data_get_num_path_constraints'); + _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_constraintsPtr.asFunction(); - ffi.Pointer - spine_skeleton_data_get_path_constraints( + ffi.Pointer spine_skeleton_data_get_path_constraints( spine_skeleton_data data, ) { return _spine_skeleton_data_get_path_constraints( @@ -808,15 +659,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_path_constraintsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_skeleton_data)>>( - 'spine_skeleton_data_get_path_constraints'); + late final _spine_skeleton_data_get_path_constraintsPtr = + _lookup Function(spine_skeleton_data)>>( + 'spine_skeleton_data_get_path_constraints'); late final _spine_skeleton_data_get_path_constraints = - _spine_skeleton_data_get_path_constraintsPtr.asFunction< - ffi.Pointer Function( - spine_skeleton_data)>(); + _spine_skeleton_data_get_path_constraintsPtr.asFunction Function(spine_skeleton_data)>(); double spine_skeleton_data_get_x( spine_skeleton_data data, @@ -827,10 +674,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -842,12 +687,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - spine_skeleton_data, ffi.Float)>>('spine_skeleton_data_set_x'); - late final _spine_skeleton_data_set_x = _spine_skeleton_data_set_xPtr - .asFunction(); + 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(); double spine_skeleton_data_get_y( spine_skeleton_data data, @@ -858,10 +700,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -873,12 +713,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - spine_skeleton_data, ffi.Float)>>('spine_skeleton_data_set_y'); - late final _spine_skeleton_data_set_y = _spine_skeleton_data_set_yPtr - .asFunction(); + 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(); double spine_skeleton_data_get_width( spine_skeleton_data data, @@ -889,10 +726,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -904,12 +739,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_widthPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_skeleton_data, - ffi.Float)>>('spine_skeleton_data_set_width'); - late final _spine_skeleton_data_set_width = _spine_skeleton_data_set_widthPtr - .asFunction(); + 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(); double spine_skeleton_data_get_height( spine_skeleton_data data, @@ -920,11 +752,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -936,13 +765,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_heightPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_skeleton_data, - ffi.Float)>>('spine_skeleton_data_set_height'); - late final _spine_skeleton_data_set_height = - _spine_skeleton_data_set_heightPtr - .asFunction(); + 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(); ffi.Pointer spine_skeleton_data_get_version( spine_skeleton_data data, @@ -952,12 +777,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_versionPtr = _lookup< - ffi.NativeFunction Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_version'); + 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)>(); + _spine_skeleton_data_get_versionPtr.asFunction Function(spine_skeleton_data)>(); /// OMITTED setVersion() ffi.Pointer spine_skeleton_data_get_hash( @@ -968,11 +791,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_hashPtr = _lookup< - ffi.NativeFunction 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_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)>(); /// OMITTED setHash() ffi.Pointer spine_skeleton_data_get_images_path( @@ -983,12 +804,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_images_pathPtr = _lookup< - ffi.NativeFunction Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_images_path'); + 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_pathPtr.asFunction Function(spine_skeleton_data)>(); /// OMITTED setImagesPath() ffi.Pointer spine_skeleton_data_get_audio_path( @@ -999,12 +818,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_audio_pathPtr = _lookup< - ffi.NativeFunction Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_audio_path'); + 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_pathPtr.asFunction Function(spine_skeleton_data)>(); /// OMITTED setAudioPath() double spine_skeleton_data_get_fps( @@ -1016,10 +833,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_skeleton_data_get_fps'); + late final _spine_skeleton_data_get_fps = _spine_skeleton_data_get_fpsPtr.asFunction(); /// OMITTED setFps() void spine_skeleton_data_dispose( @@ -1031,10 +846,8 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_disposePtr = - _lookup>( - 'spine_skeleton_data_dispose'); - late final _spine_skeleton_data_dispose = _spine_skeleton_data_disposePtr - .asFunction(); + _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, @@ -1044,13 +857,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_createPtr = _lookup< - ffi.NativeFunction< - spine_skeleton_drawable Function( - spine_skeleton_data)>>('spine_skeleton_drawable_create'); + 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_createPtr.asFunction(); spine_render_command spine_skeleton_drawable_render( spine_skeleton_drawable drawable, @@ -1060,13 +870,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_renderPtr = _lookup< - ffi.NativeFunction< - spine_render_command Function( - spine_skeleton_drawable)>>('spine_skeleton_drawable_render'); + 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_renderPtr.asFunction(); void spine_skeleton_drawable_dispose( spine_skeleton_drawable drawable, @@ -1077,11 +884,8 @@ class SpineFlutterBindings { } late final _spine_skeleton_drawable_disposePtr = - _lookup>( - 'spine_skeleton_drawable_dispose'); - late final _spine_skeleton_drawable_dispose = - _spine_skeleton_drawable_disposePtr - .asFunction(); + _lookup>('spine_skeleton_drawable_dispose'); + late final _spine_skeleton_drawable_dispose = _spine_skeleton_drawable_disposePtr.asFunction(); spine_skeleton spine_skeleton_drawable_get_skeleton( spine_skeleton_drawable drawable, @@ -1091,12 +895,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_get_skeletonPtr = _lookup< - ffi.NativeFunction>( - 'spine_skeleton_drawable_get_skeleton'); + 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_skeletonPtr.asFunction(); spine_animation_state spine_skeleton_drawable_get_animation_state( spine_skeleton_drawable drawable, @@ -1106,13 +908,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_get_animation_statePtr = _lookup< - ffi.NativeFunction< - spine_animation_state Function(spine_skeleton_drawable)>>( - 'spine_skeleton_drawable_get_animation_state'); + late final _spine_skeleton_drawable_get_animation_statePtr = + _lookup>('spine_skeleton_drawable_get_animation_state'); late final _spine_skeleton_drawable_get_animation_state = - _spine_skeleton_drawable_get_animation_statePtr.asFunction< - spine_animation_state Function(spine_skeleton_drawable)>(); + _spine_skeleton_drawable_get_animation_statePtr.asFunction(); spine_animation_state_data spine_skeleton_drawable_get_animation_state_data( spine_skeleton_drawable drawable, @@ -1122,16 +921,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_get_animation_state_dataPtr = _lookup< - ffi.NativeFunction< - spine_animation_state_data Function(spine_skeleton_drawable)>>( - 'spine_skeleton_drawable_get_animation_state_data'); + late final _spine_skeleton_drawable_get_animation_state_dataPtr = + _lookup>( + '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_data Function(spine_skeleton_drawable)>(); + _spine_skeleton_drawable_get_animation_state_dataPtr.asFunction(); - spine_animation_state_events - spine_skeleton_drawable_get_animation_state_events( + spine_animation_state_events spine_skeleton_drawable_get_animation_state_events( spine_skeleton_drawable drawable, ) { return _spine_skeleton_drawable_get_animation_state_events( @@ -1139,13 +935,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_get_animation_state_eventsPtr = _lookup< - ffi.NativeFunction< - spine_animation_state_events Function(spine_skeleton_drawable)>>( - 'spine_skeleton_drawable_get_animation_state_events'); + late final _spine_skeleton_drawable_get_animation_state_eventsPtr = + _lookup>( + 'spine_skeleton_drawable_get_animation_state_events'); late final _spine_skeleton_drawable_get_animation_state_events = - _spine_skeleton_drawable_get_animation_state_eventsPtr.asFunction< - spine_animation_state_events Function(spine_skeleton_drawable)>(); + _spine_skeleton_drawable_get_animation_state_eventsPtr.asFunction(); ffi.Pointer spine_render_command_get_positions( spine_render_command command, @@ -1155,13 +949,10 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_positionsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_render_command)>>('spine_render_command_get_positions'); + 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_positionsPtr.asFunction Function(spine_render_command)>(); ffi.Pointer spine_render_command_get_uvs( spine_render_command command, @@ -1171,12 +962,10 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_uvsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer 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)>(); + 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)>(); ffi.Pointer spine_render_command_get_colors( spine_render_command command, @@ -1186,13 +975,10 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_colorsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_render_command)>>('spine_render_command_get_colors'); + 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_colorsPtr.asFunction Function(spine_render_command)>(); int spine_render_command_get_num_vertices( spine_render_command command, @@ -1203,11 +989,9 @@ class SpineFlutterBindings { } late final _spine_render_command_get_num_verticesPtr = - _lookup>( - 'spine_render_command_get_num_vertices'); + _lookup>('spine_render_command_get_num_vertices'); late final _spine_render_command_get_num_vertices = - _spine_render_command_get_num_verticesPtr - .asFunction(); + _spine_render_command_get_num_verticesPtr.asFunction(); ffi.Pointer spine_render_command_get_indices( spine_render_command command, @@ -1217,13 +1001,10 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_indicesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_render_command)>>('spine_render_command_get_indices'); + 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_indicesPtr.asFunction Function(spine_render_command)>(); int spine_render_command_get_num_indices( spine_render_command command, @@ -1234,11 +1015,9 @@ class SpineFlutterBindings { } late final _spine_render_command_get_num_indicesPtr = - _lookup>( - 'spine_render_command_get_num_indices'); + _lookup>('spine_render_command_get_num_indices'); late final _spine_render_command_get_num_indices = - _spine_render_command_get_num_indicesPtr - .asFunction(); + _spine_render_command_get_num_indicesPtr.asFunction(); int spine_render_command_get_atlas_page( spine_render_command command, @@ -1249,11 +1028,9 @@ class SpineFlutterBindings { } late final _spine_render_command_get_atlas_pagePtr = - _lookup>( - 'spine_render_command_get_atlas_page'); + _lookup>('spine_render_command_get_atlas_page'); late final _spine_render_command_get_atlas_page = - _spine_render_command_get_atlas_pagePtr - .asFunction(); + _spine_render_command_get_atlas_pagePtr.asFunction(); int spine_render_command_get_blend_mode( spine_render_command command, @@ -1264,11 +1041,9 @@ class SpineFlutterBindings { } late final _spine_render_command_get_blend_modePtr = - _lookup>( - 'spine_render_command_get_blend_mode'); + _lookup>('spine_render_command_get_blend_mode'); late final _spine_render_command_get_blend_mode = - _spine_render_command_get_blend_modePtr - .asFunction(); + _spine_render_command_get_blend_modePtr.asFunction(); spine_render_command spine_render_command_get_next( spine_render_command command, @@ -1278,12 +1053,10 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_nextPtr = _lookup< - ffi.NativeFunction< - spine_render_command Function( - spine_render_command)>>('spine_render_command_get_next'); - late final _spine_render_command_get_next = _spine_render_command_get_nextPtr - .asFunction(); + 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(); ffi.Pointer spine_animation_get_name( spine_animation animation, @@ -1294,10 +1067,8 @@ class SpineFlutterBindings { } 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)>(); + _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() @@ -1310,10 +1081,8 @@ class SpineFlutterBindings { } late final _spine_animation_get_durationPtr = - _lookup>( - 'spine_animation_get_duration'); - late final _spine_animation_get_duration = _spine_animation_get_durationPtr - .asFunction(); + _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( @@ -1324,13 +1093,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_get_skeleton_dataPtr = _lookup< - ffi.NativeFunction< - spine_skeleton_data Function(spine_animation_state_data)>>( - 'spine_animation_state_data_get_skeleton_data'); + late final _spine_animation_state_data_get_skeleton_dataPtr = + _lookup>('spine_animation_state_data_get_skeleton_data'); late final _spine_animation_state_data_get_skeleton_data = - _spine_animation_state_data_get_skeleton_dataPtr.asFunction< - spine_skeleton_data Function(spine_animation_state_data)>(); + _spine_animation_state_data_get_skeleton_dataPtr.asFunction(); double spine_animation_state_data_get_default_mix( spine_animation_state_data stateData, @@ -1340,12 +1106,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_get_default_mixPtr = _lookup< - ffi.NativeFunction>( - 'spine_animation_state_data_get_default_mix'); + 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_mixPtr.asFunction(); void spine_animation_state_data_set_default_mix( spine_animation_state_data stateData, @@ -1357,13 +1121,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_set_default_mixPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_animation_state_data, - ffi.Float)>>('spine_animation_state_data_set_default_mix'); + 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_mixPtr.asFunction(); void spine_animation_state_data_set_mix( spine_animation_state_data stateData, @@ -1379,17 +1140,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_set_mixPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - spine_animation_state_data, - spine_animation, - spine_animation, - ffi.Float)>>('spine_animation_state_data_set_mix'); - late final _spine_animation_state_data_set_mix = - _spine_animation_state_data_set_mixPtr.asFunction< - void Function(spine_animation_state_data, spine_animation, - spine_animation, double)>(); + late final _spine_animation_state_data_set_mixPtr = + _lookup>( + 'spine_animation_state_data_set_mix'); + late final _spine_animation_state_data_set_mix = _spine_animation_state_data_set_mixPtr + .asFunction(); double spine_animation_state_data_get_mix( spine_animation_state_data stateData, @@ -1403,14 +1158,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_get_mixPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_animation_state_data, spine_animation, - spine_animation)>>('spine_animation_state_data_get_mix'); + late final _spine_animation_state_data_get_mixPtr = + _lookup>( + 'spine_animation_state_data_get_mix'); late final _spine_animation_state_data_get_mix = - _spine_animation_state_data_get_mixPtr.asFunction< - double Function( - spine_animation_state_data, spine_animation, spine_animation)>(); + _spine_animation_state_data_get_mixPtr.asFunction(); void spine_animation_state_data_set_mix_by_name( spine_animation_state_data stateData, @@ -1426,17 +1178,11 @@ class SpineFlutterBindings { ); } - 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< - void Function(spine_animation_state_data, ffi.Pointer, - ffi.Pointer, double)>(); + late final _spine_animation_state_data_set_mix_by_namePtr = + _lookup, 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)>(); double spine_animation_state_data_get_mix_by_name( spine_animation_state_data stateData, @@ -1450,15 +1196,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_get_mix_by_namePtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_animation_state_data, ffi.Pointer, - ffi.Pointer)>>( - '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< - double Function(spine_animation_state_data, ffi.Pointer, - ffi.Pointer)>(); + late final _spine_animation_state_data_get_mix_by_namePtr = + _lookup, ffi.Pointer)>>( + '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, @@ -1468,12 +1210,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_clearPtr = _lookup< - ffi.NativeFunction>( - 'spine_animation_state_data_clear'); + 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(); + _spine_animation_state_data_clearPtr.asFunction(); void spine_animation_state_update( spine_animation_state state, @@ -1485,12 +1225,9 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_updatePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_animation_state, - ffi.Float)>>('spine_animation_state_update'); - late final _spine_animation_state_update = _spine_animation_state_updatePtr - .asFunction(); + late final _spine_animation_state_updatePtr = + _lookup>('spine_animation_state_update'); + late final _spine_animation_state_update = _spine_animation_state_updatePtr.asFunction(); void spine_animation_state_apply( spine_animation_state state, @@ -1502,12 +1239,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_applyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_animation_state, - spine_skeleton)>>('spine_animation_state_apply'); - late final _spine_animation_state_apply = _spine_animation_state_applyPtr - .asFunction(); + late final _spine_animation_state_applyPtr = + _lookup>('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, @@ -1518,11 +1253,9 @@ class SpineFlutterBindings { } late final _spine_animation_state_clear_tracksPtr = - _lookup>( - 'spine_animation_state_clear_tracks'); + _lookup>('spine_animation_state_clear_tracks'); late final _spine_animation_state_clear_tracks = - _spine_animation_state_clear_tracksPtr - .asFunction(); + _spine_animation_state_clear_tracksPtr.asFunction(); void spine_animation_state_clear_track( spine_animation_state state, @@ -1534,13 +1267,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_clear_trackPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_animation_state, - ffi.Int32)>>('spine_animation_state_clear_track'); + 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_trackPtr.asFunction(); int spine_animation_state_get_num_tracks( spine_animation_state state, @@ -1551,11 +1281,9 @@ class SpineFlutterBindings { } late final _spine_animation_state_get_num_tracksPtr = - _lookup>( - 'spine_animation_state_get_num_tracks'); + _lookup>('spine_animation_state_get_num_tracks'); late final _spine_animation_state_get_num_tracks = - _spine_animation_state_get_num_tracksPtr - .asFunction(); + _spine_animation_state_get_num_tracksPtr.asFunction(); spine_track_entry spine_animation_state_set_animation_by_name( spine_animation_state state, @@ -1571,17 +1299,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_animation_by_namePtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function( - spine_animation_state, - ffi.Int32, - ffi.Pointer, - ffi.Int32)>>('spine_animation_state_set_animation_by_name'); - late final _spine_animation_state_set_animation_by_name = - _spine_animation_state_set_animation_by_namePtr.asFunction< - spine_track_entry Function( - spine_animation_state, int, ffi.Pointer, int)>(); + late final _spine_animation_state_set_animation_by_namePtr = + _lookup, ffi.Int32)>>( + '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)>(); spine_track_entry spine_animation_state_set_animation( spine_animation_state state, @@ -1597,17 +1319,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_animationPtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function( - spine_animation_state, - ffi.Int32, - spine_animation, - ffi.Int32)>>('spine_animation_state_set_animation'); + late final _spine_animation_state_set_animationPtr = + _lookup>( + 'spine_animation_state_set_animation'); late final _spine_animation_state_set_animation = - _spine_animation_state_set_animationPtr.asFunction< - spine_track_entry Function( - spine_animation_state, int, spine_animation, int)>(); + _spine_animation_state_set_animationPtr.asFunction(); spine_track_entry spine_animation_state_add_animation_by_name( spine_animation_state state, @@ -1625,18 +1341,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_add_animation_by_namePtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function( - spine_animation_state, - ffi.Int32, - ffi.Pointer, - ffi.Int32, - 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< - spine_track_entry Function( - spine_animation_state, int, ffi.Pointer, int, double)>(); + late final _spine_animation_state_add_animation_by_namePtr = + _lookup, ffi.Int32, 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)>(); spine_track_entry spine_animation_state_add_animation( spine_animation_state state, @@ -1654,18 +1363,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_add_animationPtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function( - spine_animation_state, - ffi.Int32, - spine_animation, - ffi.Int32, - ffi.Float)>>('spine_animation_state_add_animation'); - late final _spine_animation_state_add_animation = - _spine_animation_state_add_animationPtr.asFunction< - spine_track_entry Function( - spine_animation_state, int, spine_animation, int, double)>(); + late final _spine_animation_state_add_animationPtr = + _lookup>( + 'spine_animation_state_add_animation'); + late final _spine_animation_state_add_animation = _spine_animation_state_add_animationPtr + .asFunction(); spine_track_entry spine_animation_state_set_empty_animation( spine_animation_state state, @@ -1679,13 +1381,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_empty_animationPtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function(spine_animation_state, ffi.Int32, - ffi.Float)>>('spine_animation_state_set_empty_animation'); + late final _spine_animation_state_set_empty_animationPtr = + _lookup>( + 'spine_animation_state_set_empty_animation'); late final _spine_animation_state_set_empty_animation = - _spine_animation_state_set_empty_animationPtr.asFunction< - spine_track_entry Function(spine_animation_state, int, double)>(); + _spine_animation_state_set_empty_animationPtr.asFunction(); spine_track_entry spine_animation_state_add_empty_animation( spine_animation_state state, @@ -1701,17 +1401,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_add_empty_animationPtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function( - spine_animation_state, - ffi.Int32, - ffi.Float, - ffi.Float)>>('spine_animation_state_add_empty_animation'); + late final _spine_animation_state_add_empty_animationPtr = + _lookup>( + 'spine_animation_state_add_empty_animation'); late final _spine_animation_state_add_empty_animation = - _spine_animation_state_add_empty_animationPtr.asFunction< - spine_track_entry Function( - spine_animation_state, int, double, double)>(); + _spine_animation_state_add_empty_animationPtr.asFunction(); void spine_animation_state_set_empty_animations( spine_animation_state state, @@ -1723,13 +1417,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_empty_animationsPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_animation_state, - ffi.Float)>>('spine_animation_state_set_empty_animations'); + 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_animationsPtr.asFunction(); spine_track_entry spine_animation_state_get_current( spine_animation_state state, @@ -1741,13 +1432,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_get_currentPtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function(spine_animation_state, - ffi.Int32)>>('spine_animation_state_get_current'); + 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_currentPtr.asFunction(); spine_animation_state_data spine_animation_state_get_data( spine_animation_state state, @@ -1757,13 +1445,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_get_dataPtr = _lookup< - ffi.NativeFunction< - spine_animation_state_data Function( - spine_animation_state)>>('spine_animation_state_get_data'); + 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_data Function(spine_animation_state)>(); + _spine_animation_state_get_dataPtr.asFunction(); double spine_animation_state_get_time_scale( spine_animation_state state, @@ -1774,11 +1459,9 @@ class SpineFlutterBindings { } late final _spine_animation_state_get_time_scalePtr = - _lookup>( - 'spine_animation_state_get_time_scale'); + _lookup>('spine_animation_state_get_time_scale'); late final _spine_animation_state_get_time_scale = - _spine_animation_state_get_time_scalePtr - .asFunction(); + _spine_animation_state_get_time_scalePtr.asFunction(); void spine_animation_state_set_time_scale( spine_animation_state state, @@ -1790,13 +1473,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_time_scalePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_animation_state, - ffi.Float)>>('spine_animation_state_set_time_scale'); + 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_scalePtr.asFunction(); /// OMITTED setListener() /// OMITTED setListener() @@ -1814,13 +1494,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_dispose_track_entryPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_animation_state, - spine_track_entry)>>('spine_animation_state_dispose_track_entry'); + late final _spine_animation_state_dispose_track_entryPtr = + _lookup>('spine_animation_state_dispose_track_entry'); late final _spine_animation_state_dispose_track_entry = - _spine_animation_state_dispose_track_entryPtr.asFunction< - void Function(spine_animation_state, spine_track_entry)>(); + _spine_animation_state_dispose_track_entryPtr.asFunction(); int spine_animation_state_events_get_num_events( spine_animation_state_events events, @@ -1830,12 +1507,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_get_num_eventsPtr = _lookup< - ffi.NativeFunction>( - 'spine_animation_state_events_get_num_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_eventsPtr.asFunction(); int spine_animation_state_events_get_event_type( spine_animation_state_events events, @@ -1847,13 +1522,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_get_event_typePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(spine_animation_state_events, - ffi.Int32)>>('spine_animation_state_events_get_event_type'); + 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_typePtr.asFunction(); spine_track_entry spine_animation_state_events_get_track_entry( spine_animation_state_events events, @@ -1865,13 +1538,11 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_get_track_entryPtr = _lookup< - ffi.NativeFunction< - spine_track_entry Function(spine_animation_state_events, - ffi.Int32)>>('spine_animation_state_events_get_track_entry'); + late final _spine_animation_state_events_get_track_entryPtr = + _lookup>( + '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_track_entry Function(spine_animation_state_events, int)>(); + _spine_animation_state_events_get_track_entryPtr.asFunction(); spine_event spine_animation_state_events_get_event( spine_animation_state_events events, @@ -1883,13 +1554,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_get_eventPtr = _lookup< - ffi.NativeFunction< - spine_event Function(spine_animation_state_events, - ffi.Int32)>>('spine_animation_state_events_get_event'); + 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_event Function(spine_animation_state_events, int)>(); + _spine_animation_state_events_get_eventPtr.asFunction(); void spine_animation_state_events_reset( spine_animation_state_events events, @@ -1899,12 +1567,10 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_resetPtr = _lookup< - ffi.NativeFunction>( - 'spine_animation_state_events_reset'); + 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_resetPtr.asFunction(); int spine_track_entry_get_track_index( spine_track_entry entry, @@ -1915,11 +1581,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -1930,11 +1593,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animationPtr = - _lookup>( - 'spine_track_entry_get_animation'); + _lookup>('spine_track_entry_get_animation'); late final _spine_track_entry_get_animation = - _spine_track_entry_get_animationPtr - .asFunction(); + _spine_track_entry_get_animationPtr.asFunction(); spine_track_entry spine_track_entry_get_previous( spine_track_entry entry, @@ -1944,12 +1605,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_get_previousPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_get_previous'); + 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(); + _spine_track_entry_get_previousPtr.asFunction(); int spine_track_entry_get_loop( spine_track_entry entry, @@ -1960,10 +1619,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -1975,11 +1632,9 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_loopPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_loop'); - late final _spine_track_entry_set_loop = _spine_track_entry_set_loopPtr - .asFunction(); + 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(); int spine_track_entry_get_hold_previous( spine_track_entry entry, @@ -1990,11 +1645,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_track_entry_get_hold_previous'); + 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, @@ -2006,12 +1658,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_hold_previousPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_hold_previous'); + 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_previousPtr.asFunction(); int spine_track_entry_get_reverse( spine_track_entry entry, @@ -2022,10 +1672,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2037,11 +1685,9 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_reversePtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_reverse'); - late final _spine_track_entry_set_reverse = _spine_track_entry_set_reversePtr - .asFunction(); + 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(); int spine_track_entry_get_shortest_rotation( spine_track_entry entry, @@ -2052,11 +1698,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_shortest_rotationPtr = - _lookup>( - 'spine_track_entry_get_shortest_rotation'); + _lookup>('spine_track_entry_get_shortest_rotation'); late final _spine_track_entry_get_shortest_rotation = - _spine_track_entry_get_shortest_rotationPtr - .asFunction(); + _spine_track_entry_get_shortest_rotationPtr.asFunction(); void spine_track_entry_set_shortest_rotation( spine_track_entry entry, @@ -2068,12 +1712,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_shortest_rotationPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_shortest_rotation'); + 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_rotationPtr.asFunction(); double spine_track_entry_get_delay( spine_track_entry entry, @@ -2084,10 +1726,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2099,11 +1739,9 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_delayPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_delay'); - late final _spine_track_entry_set_delay = _spine_track_entry_set_delayPtr - .asFunction(); + 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(); double spine_track_entry_get_track_time( spine_track_entry entry, @@ -2114,11 +1752,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2130,12 +1765,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_track_timePtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_track_time'); + 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(); + _spine_track_entry_set_track_timePtr.asFunction(); double spine_track_entry_get_track_end( spine_track_entry entry, @@ -2146,11 +1779,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2162,12 +1792,9 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_track_endPtr = _lookup< - ffi.NativeFunction>( - '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_endPtr = + _lookup>('spine_track_entry_set_track_end'); + 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, @@ -2178,11 +1805,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animation_startPtr = - _lookup>( - 'spine_track_entry_get_animation_start'); + _lookup>('spine_track_entry_get_animation_start'); late final _spine_track_entry_get_animation_start = - _spine_track_entry_get_animation_startPtr - .asFunction(); + _spine_track_entry_get_animation_startPtr.asFunction(); void spine_track_entry_set_animation_start( spine_track_entry entry, @@ -2194,12 +1819,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_animation_startPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_animation_start'); + 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_startPtr.asFunction(); double spine_track_entry_get_animation_end( spine_track_entry entry, @@ -2210,11 +1833,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animation_endPtr = - _lookup>( - 'spine_track_entry_get_animation_end'); + _lookup>('spine_track_entry_get_animation_end'); late final _spine_track_entry_get_animation_end = - _spine_track_entry_get_animation_endPtr - .asFunction(); + _spine_track_entry_get_animation_endPtr.asFunction(); void spine_track_entry_set_animation_end( spine_track_entry entry, @@ -2226,12 +1847,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_animation_endPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_animation_end'); + 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_endPtr.asFunction(); double spine_track_entry_get_animation_last( spine_track_entry entry, @@ -2242,11 +1861,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animation_lastPtr = - _lookup>( - 'spine_track_entry_get_animation_last'); + _lookup>('spine_track_entry_get_animation_last'); late final _spine_track_entry_get_animation_last = - _spine_track_entry_get_animation_lastPtr - .asFunction(); + _spine_track_entry_get_animation_lastPtr.asFunction(); void spine_track_entry_set_animation_last( spine_track_entry entry, @@ -2258,12 +1875,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_animation_lastPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_animation_last'); + 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_lastPtr.asFunction(); double spine_track_entry_get_animation_time( spine_track_entry entry, @@ -2274,11 +1889,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animation_timePtr = - _lookup>( - 'spine_track_entry_get_animation_time'); + _lookup>('spine_track_entry_get_animation_time'); late final _spine_track_entry_get_animation_time = - _spine_track_entry_get_animation_timePtr - .asFunction(); + _spine_track_entry_get_animation_timePtr.asFunction(); double spine_track_entry_get_time_scale( spine_track_entry entry, @@ -2289,11 +1902,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2305,12 +1915,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_time_scalePtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_time_scale'); + 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(); + _spine_track_entry_set_time_scalePtr.asFunction(); double spine_track_entry_get_alpha( spine_track_entry entry, @@ -2321,10 +1929,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2336,11 +1942,9 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_alphaPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_alpha'); - late final _spine_track_entry_set_alpha = _spine_track_entry_set_alphaPtr - .asFunction(); + 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(); double spine_track_entry_get_event_threshold( spine_track_entry entry, @@ -2351,11 +1955,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_event_thresholdPtr = - _lookup>( - 'spine_track_entry_get_event_threshold'); + _lookup>('spine_track_entry_get_event_threshold'); late final _spine_track_entry_get_event_threshold = - _spine_track_entry_get_event_thresholdPtr - .asFunction(); + _spine_track_entry_get_event_thresholdPtr.asFunction(); void spine_track_entry_set_event_threshold( spine_track_entry entry, @@ -2367,12 +1969,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_event_thresholdPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_event_threshold'); + 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_thresholdPtr.asFunction(); double spine_track_entry_get_attachment_threshold( spine_track_entry entry, @@ -2383,11 +1983,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_attachment_thresholdPtr = - _lookup>( - 'spine_track_entry_get_attachment_threshold'); + _lookup>('spine_track_entry_get_attachment_threshold'); late final _spine_track_entry_get_attachment_threshold = - _spine_track_entry_get_attachment_thresholdPtr - .asFunction(); + _spine_track_entry_get_attachment_thresholdPtr.asFunction(); void spine_track_entry_set_attachment_threshold( spine_track_entry entry, @@ -2399,12 +1997,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_attachment_thresholdPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_attachment_threshold'); + late final _spine_track_entry_set_attachment_thresholdPtr = + _lookup>('spine_track_entry_set_attachment_threshold'); late final _spine_track_entry_set_attachment_threshold = - _spine_track_entry_set_attachment_thresholdPtr - .asFunction(); + _spine_track_entry_set_attachment_thresholdPtr.asFunction(); double spine_track_entry_get_draw_order_threshold( spine_track_entry entry, @@ -2415,11 +2011,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_draw_order_thresholdPtr = - _lookup>( - 'spine_track_entry_get_draw_order_threshold'); + _lookup>('spine_track_entry_get_draw_order_threshold'); late final _spine_track_entry_get_draw_order_threshold = - _spine_track_entry_get_draw_order_thresholdPtr - .asFunction(); + _spine_track_entry_get_draw_order_thresholdPtr.asFunction(); void spine_track_entry_set_draw_order_threshold( spine_track_entry entry, @@ -2431,12 +2025,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_draw_order_thresholdPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_draw_order_threshold'); + late final _spine_track_entry_set_draw_order_thresholdPtr = + _lookup>('spine_track_entry_set_draw_order_threshold'); late final _spine_track_entry_set_draw_order_threshold = - _spine_track_entry_set_draw_order_thresholdPtr - .asFunction(); + _spine_track_entry_set_draw_order_thresholdPtr.asFunction(); spine_track_entry spine_track_entry_get_next( spine_track_entry entry, @@ -2446,11 +2038,9 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_get_nextPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_get_next'); - late final _spine_track_entry_get_next = _spine_track_entry_get_nextPtr - .asFunction(); + 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(); int spine_track_entry_is_complete( spine_track_entry entry, @@ -2461,10 +2051,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2475,11 +2063,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2491,12 +2076,9 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_mix_timePtr = _lookup< - ffi.NativeFunction>( - '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_timePtr = + _lookup>('spine_track_entry_set_mix_time'); + 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, @@ -2507,11 +2089,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_track_entry_get_mix_duration'); + 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, @@ -2523,12 +2102,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_mix_durationPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_set_mix_duration'); + 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_durationPtr.asFunction(); int spine_track_entry_get_mix_blend( spine_track_entry entry, @@ -2539,11 +2116,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2555,12 +2129,9 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_mix_blendPtr = _lookup< - ffi.NativeFunction>( - '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_blendPtr = + _lookup>('spine_track_entry_set_mix_blend'); + 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, @@ -2570,12 +2141,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_get_mixing_fromPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_get_mixing_from'); + 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(); + _spine_track_entry_get_mixing_fromPtr.asFunction(); spine_track_entry spine_track_entry_get_mixing_to( spine_track_entry entry, @@ -2585,12 +2154,10 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_get_mixing_toPtr = _lookup< - ffi.NativeFunction>( - 'spine_track_entry_get_mixing_to'); + 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(); + _spine_track_entry_get_mixing_toPtr.asFunction(); void spine_track_entry_reset_rotation_directions( spine_track_entry entry, @@ -2601,11 +2168,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_reset_rotation_directionsPtr = - _lookup>( - 'spine_track_entry_reset_rotation_directions'); + _lookup>('spine_track_entry_reset_rotation_directions'); late final _spine_track_entry_reset_rotation_directions = - _spine_track_entry_reset_rotation_directionsPtr - .asFunction(); + _spine_track_entry_reset_rotation_directionsPtr.asFunction(); double spine_track_entry_get_track_complete( spine_track_entry entry, @@ -2616,11 +2181,9 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_track_completePtr = - _lookup>( - 'spine_track_entry_get_track_complete'); + _lookup>('spine_track_entry_get_track_complete'); late final _spine_track_entry_get_track_complete = - _spine_track_entry_get_track_completePtr - .asFunction(); + _spine_track_entry_get_track_completePtr.asFunction(); /// OMITTED setListener() /// OMITTED setListener() @@ -2633,10 +2196,8 @@ class SpineFlutterBindings { } late final _spine_skeleton_update_cachePtr = - _lookup>( - 'spine_skeleton_update_cache'); - late final _spine_skeleton_update_cache = _spine_skeleton_update_cachePtr - .asFunction(); + _lookup>('spine_skeleton_update_cache'); + late final _spine_skeleton_update_cache = _spine_skeleton_update_cachePtr.asFunction(); /// OMITTED printUpdateCache() void spine_skeleton_update_world_transform( @@ -2648,11 +2209,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('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, @@ -2664,12 +2222,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_update_world_transform_bonePtr = _lookup< - ffi.NativeFunction>( - 'spine_skeleton_update_world_transform_bone'); + 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_bonePtr.asFunction(); void spine_skeleton_set_to_setup_pose( spine_skeleton skeleton, @@ -2680,11 +2236,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2695,11 +2248,9 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_bones_to_setup_posePtr = - _lookup>( - 'spine_skeleton_set_bones_to_setup_pose'); + _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(); + _spine_skeleton_set_bones_to_setup_posePtr.asFunction(); void spine_skeleton_set_slots_to_setup_pose( spine_skeleton skeleton, @@ -2710,11 +2261,9 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_slots_to_setup_posePtr = - _lookup>( - 'spine_skeleton_set_slots_to_setup_pose'); + _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(); + _spine_skeleton_set_slots_to_setup_posePtr.asFunction(); spine_bone spine_skeleton_find_bone( spine_skeleton skeleton, @@ -2726,12 +2275,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_bonePtr = _lookup< - ffi.NativeFunction< - spine_bone Function( - spine_skeleton, ffi.Pointer)>>('spine_skeleton_find_bone'); - late final _spine_skeleton_find_bone = _spine_skeleton_find_bonePtr - .asFunction)>(); + late final _spine_skeleton_find_bonePtr = + _lookup)>>('spine_skeleton_find_bone'); + late final _spine_skeleton_find_bone = _spine_skeleton_find_bonePtr.asFunction)>(); spine_slot spine_skeleton_find_slot( spine_skeleton skeleton, @@ -2743,12 +2289,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_slotPtr = _lookup< - ffi.NativeFunction< - spine_slot Function( - spine_skeleton, ffi.Pointer)>>('spine_skeleton_find_slot'); - late final _spine_skeleton_find_slot = _spine_skeleton_find_slotPtr - .asFunction)>(); + late final _spine_skeleton_find_slotPtr = + _lookup)>>('spine_skeleton_find_slot'); + late final _spine_skeleton_find_slot = _spine_skeleton_find_slotPtr.asFunction)>(); void spine_skeleton_set_skin_by_name( spine_skeleton skeleton, @@ -2760,13 +2303,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_skin_by_namePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_skeleton, - ffi.Pointer)>>('spine_skeleton_set_skin_by_name'); + 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_namePtr.asFunction)>(); void spine_skeleton_set_skin( spine_skeleton skeleton, @@ -2778,11 +2318,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_skinPtr = _lookup< - ffi.NativeFunction>( - '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, @@ -2796,14 +2334,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_attachment_by_namePtr = _lookup< - ffi.NativeFunction< - spine_attachment Function(spine_skeleton, ffi.Pointer, - ffi.Pointer)>>('spine_skeleton_get_attachment_by_name'); - late final _spine_skeleton_get_attachment_by_name = - _spine_skeleton_get_attachment_by_namePtr.asFunction< - spine_attachment Function( - spine_skeleton, ffi.Pointer, ffi.Pointer)>(); + late final _spine_skeleton_get_attachment_by_namePtr = + _lookup, ffi.Pointer)>>( + 'spine_skeleton_get_attachment_by_name'); + late final _spine_skeleton_get_attachment_by_name = _spine_skeleton_get_attachment_by_namePtr + .asFunction, ffi.Pointer)>(); spine_attachment spine_skeleton_get_attachment( spine_skeleton skeleton, @@ -2817,13 +2352,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_attachmentPtr = _lookup< - ffi.NativeFunction< - spine_attachment Function(spine_skeleton, ffi.Int32, - ffi.Pointer)>>('spine_skeleton_get_attachment'); + late final _spine_skeleton_get_attachmentPtr = + _lookup)>>('spine_skeleton_get_attachment'); late final _spine_skeleton_get_attachment = - _spine_skeleton_get_attachmentPtr.asFunction< - spine_attachment Function(spine_skeleton, int, ffi.Pointer)>(); + _spine_skeleton_get_attachmentPtr.asFunction)>(); void spine_skeleton_set_attachment( spine_skeleton skeleton, @@ -2837,14 +2369,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_attachmentPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_skeleton, ffi.Pointer, - ffi.Pointer)>>('spine_skeleton_set_attachment'); + late final _spine_skeleton_set_attachmentPtr = + _lookup, ffi.Pointer)>>('spine_skeleton_set_attachment'); late final _spine_skeleton_set_attachment = - _spine_skeleton_set_attachmentPtr.asFunction< - void Function( - spine_skeleton, ffi.Pointer, ffi.Pointer)>(); + _spine_skeleton_set_attachmentPtr.asFunction, ffi.Pointer)>(); spine_ik_constraint spine_skeleton_find_ik_constraint( spine_skeleton skeleton, @@ -2856,13 +2384,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_ik_constraintPtr = _lookup< - ffi.NativeFunction< - spine_ik_constraint Function(spine_skeleton, - ffi.Pointer)>>('spine_skeleton_find_ik_constraint'); + late final _spine_skeleton_find_ik_constraintPtr = + _lookup)>>('spine_skeleton_find_ik_constraint'); late final _spine_skeleton_find_ik_constraint = - _spine_skeleton_find_ik_constraintPtr.asFunction< - spine_ik_constraint Function(spine_skeleton, ffi.Pointer)>(); + _spine_skeleton_find_ik_constraintPtr.asFunction)>(); spine_transform_constraint spine_skeleton_find_transform_constraint( spine_skeleton skeleton, @@ -2874,14 +2399,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_transform_constraintPtr = _lookup< - ffi.NativeFunction< - spine_transform_constraint Function(spine_skeleton, - ffi.Pointer)>>('spine_skeleton_find_transform_constraint'); + late final _spine_skeleton_find_transform_constraintPtr = + _lookup)>>( + 'spine_skeleton_find_transform_constraint'); late final _spine_skeleton_find_transform_constraint = - _spine_skeleton_find_transform_constraintPtr.asFunction< - spine_transform_constraint Function( - spine_skeleton, ffi.Pointer)>(); + _spine_skeleton_find_transform_constraintPtr.asFunction)>(); spine_path_constraint spine_skeleton_find_path_constraint( spine_skeleton skeleton, @@ -2893,13 +2415,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_path_constraintPtr = _lookup< - ffi.NativeFunction< - spine_path_constraint Function(spine_skeleton, - ffi.Pointer)>>('spine_skeleton_find_path_constraint'); + late final _spine_skeleton_find_path_constraintPtr = + _lookup)>>('spine_skeleton_find_path_constraint'); late final _spine_skeleton_find_path_constraint = - _spine_skeleton_find_path_constraintPtr.asFunction< - spine_path_constraint Function(spine_skeleton, ffi.Pointer)>(); + _spine_skeleton_find_path_constraintPtr.asFunction)>(); spine_bounds spine_skeleton_get_bounds( spine_skeleton skeleton, @@ -2910,10 +2429,8 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_boundsPtr = - _lookup>( - 'spine_skeleton_get_bounds'); - late final _spine_skeleton_get_bounds = _spine_skeleton_get_boundsPtr - .asFunction(); + _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, @@ -2924,10 +2441,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2938,10 +2453,8 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_dataPtr = - _lookup>( - 'spine_skeleton_get_data'); - late final _spine_skeleton_get_data = _spine_skeleton_get_dataPtr - .asFunction(); + _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, @@ -2952,10 +2465,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2965,11 +2476,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_bonesPtr = _lookup< - ffi.NativeFunction 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_bonesPtr = + _lookup Function(spine_skeleton)>>('spine_skeleton_get_bones'); + late final _spine_skeleton_get_bones = _spine_skeleton_get_bonesPtr.asFunction Function(spine_skeleton)>(); /// OMITTED getUpdateCacheList() int spine_skeleton_get_num_slots( @@ -2981,10 +2490,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -2994,11 +2501,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_slotsPtr = _lookup< - ffi.NativeFunction 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_slotsPtr = + _lookup Function(spine_skeleton)>>('spine_skeleton_get_slots'); + late final _spine_skeleton_get_slots = _spine_skeleton_get_slotsPtr.asFunction Function(spine_skeleton)>(); int spine_skeleton_get_num_draw_order( spine_skeleton skeleton, @@ -3009,11 +2514,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3023,11 +2525,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_draw_orderPtr = _lookup< - ffi.NativeFunction 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_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)>(); int spine_skeleton_get_num_ik_constraints( spine_skeleton skeleton, @@ -3038,11 +2539,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_skeleton_get_num_ik_constraints'); + 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, @@ -3052,13 +2550,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_ik_constraintsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_skeleton)>>('spine_skeleton_get_ik_constraints'); + 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< - ffi.Pointer Function(spine_skeleton)>(); + _spine_skeleton_get_ik_constraintsPtr.asFunction Function(spine_skeleton)>(); int spine_skeleton_get_num_transform_constraints( spine_skeleton skeleton, @@ -3069,14 +2564,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_transform_constraintsPtr = - _lookup>( - 'spine_skeleton_get_num_transform_constraints'); + _lookup>('spine_skeleton_get_num_transform_constraints'); late final _spine_skeleton_get_num_transform_constraints = - _spine_skeleton_get_num_transform_constraintsPtr - .asFunction(); + _spine_skeleton_get_num_transform_constraintsPtr.asFunction(); - ffi.Pointer - spine_skeleton_get_transform_constraints( + ffi.Pointer spine_skeleton_get_transform_constraints( spine_skeleton skeleton, ) { return _spine_skeleton_get_transform_constraints( @@ -3084,13 +2576,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_transform_constraintsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_skeleton)>>('spine_skeleton_get_transform_constraints'); + late final _spine_skeleton_get_transform_constraintsPtr = + _lookup Function(spine_skeleton)>>( + 'spine_skeleton_get_transform_constraints'); late final _spine_skeleton_get_transform_constraints = - _spine_skeleton_get_transform_constraintsPtr.asFunction< - ffi.Pointer Function(spine_skeleton)>(); + _spine_skeleton_get_transform_constraintsPtr.asFunction Function(spine_skeleton)>(); int spine_skeleton_get_num_path_constraints( spine_skeleton skeleton, @@ -3101,11 +2591,9 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_path_constraintsPtr = - _lookup>( - 'spine_skeleton_get_num_path_constraints'); + _lookup>('spine_skeleton_get_num_path_constraints'); late final _spine_skeleton_get_num_path_constraints = - _spine_skeleton_get_num_path_constraintsPtr - .asFunction(); + _spine_skeleton_get_num_path_constraintsPtr.asFunction(); ffi.Pointer spine_skeleton_get_path_constraints( spine_skeleton skeleton, @@ -3115,13 +2603,10 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_path_constraintsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_skeleton)>>('spine_skeleton_get_path_constraints'); + 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< - ffi.Pointer Function(spine_skeleton)>(); + _spine_skeleton_get_path_constraintsPtr.asFunction Function(spine_skeleton)>(); spine_skin spine_skeleton_get_skin( spine_skeleton skeleton, @@ -3131,11 +2616,8 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_skinPtr = - _lookup>( - 'spine_skeleton_get_skin'); - late final _spine_skeleton_get_skin = _spine_skeleton_get_skinPtr - .asFunction(); + 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, @@ -3145,11 +2627,8 @@ class SpineFlutterBindings { ); } - 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, @@ -3167,13 +2646,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_skeleton, ffi.Float, ffi.Float, ffi.Float, - ffi.Float)>>('spine_skeleton_set_color'); + late final _spine_skeleton_set_colorPtr = + _lookup>( + 'spine_skeleton_set_color'); late final _spine_skeleton_set_color = - _spine_skeleton_set_colorPtr.asFunction< - void Function(spine_skeleton, double, double, double, double)>(); + _spine_skeleton_set_colorPtr.asFunction(); void spine_skeleton_set_position( spine_skeleton skeleton, @@ -3187,12 +2664,9 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_positionPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_skeleton, ffi.Float, - ffi.Float)>>('spine_skeleton_set_position'); - late final _spine_skeleton_set_position = _spine_skeleton_set_positionPtr - .asFunction(); + late final _spine_skeleton_set_positionPtr = + _lookup>('spine_skeleton_set_position'); + late final _spine_skeleton_set_position = _spine_skeleton_set_positionPtr.asFunction(); double spine_skeleton_get_x( spine_skeleton skeleton, @@ -3202,11 +2676,8 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_xPtr = - _lookup>( - 'spine_skeleton_get_x'); - late final _spine_skeleton_get_x = - _spine_skeleton_get_xPtr.asFunction(); + 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, @@ -3218,11 +2689,8 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_xPtr = - _lookup>( - 'spine_skeleton_set_x'); - late final _spine_skeleton_set_x = _spine_skeleton_set_xPtr - .asFunction(); + 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, @@ -3232,11 +2700,8 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_yPtr = - _lookup>( - 'spine_skeleton_get_y'); - late final _spine_skeleton_get_y = - _spine_skeleton_get_yPtr.asFunction(); + 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, @@ -3248,11 +2713,8 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_yPtr = - _lookup>( - 'spine_skeleton_set_y'); - late final _spine_skeleton_set_y = _spine_skeleton_set_yPtr - .asFunction(); + 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, @@ -3262,11 +2724,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -3279,10 +2738,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3292,11 +2749,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -3309,10 +2763,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_skeleton_set_scale_y'); + late final _spine_skeleton_set_scale_y = _spine_skeleton_set_scale_yPtr.asFunction(); ffi.Pointer spine_event_data_get_name( spine_event_data event, @@ -3323,10 +2775,8 @@ class SpineFlutterBindings { } 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)>(); + _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, @@ -3337,11 +2787,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3353,12 +2800,9 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_int_valuePtr = _lookup< - ffi.NativeFunction>( - '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_valuePtr = + _lookup>('spine_event_data_set_int_value'); + 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, @@ -3369,11 +2813,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3385,12 +2826,9 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_float_valuePtr = _lookup< - ffi.NativeFunction>( - '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_valuePtr = + _lookup>('spine_event_data_set_float_value'); + 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, @@ -3401,11 +2839,9 @@ class SpineFlutterBindings { } late final _spine_event_data_get_string_valuePtr = - _lookup Function(spine_event_data)>>( - 'spine_event_data_get_string_value'); + _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)>(); + _spine_event_data_get_string_valuePtr.asFunction Function(spine_event_data)>(); void spine_event_data_set_string_value( spine_event_data event, @@ -3417,13 +2853,10 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_string_valuePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_event_data, - ffi.Pointer)>>('spine_event_data_set_string_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_valuePtr.asFunction)>(); ffi.Pointer spine_event_data_get_audio_path( spine_event_data event, @@ -3434,11 +2867,9 @@ class SpineFlutterBindings { } late final _spine_event_data_get_audio_pathPtr = - _lookup Function(spine_event_data)>>( - 'spine_event_data_get_audio_path'); + _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)>(); + _spine_event_data_get_audio_pathPtr.asFunction Function(spine_event_data)>(); /// OMITTED setAudioPath() double spine_event_data_get_volume( @@ -3450,10 +2881,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3465,11 +2894,9 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_volumePtr = _lookup< - ffi.NativeFunction>( - 'spine_event_data_set_volume'); - late final _spine_event_data_set_volume = _spine_event_data_set_volumePtr - .asFunction(); + 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(); double spine_event_data_get_balance( spine_event_data event, @@ -3480,10 +2907,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3495,11 +2920,9 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_balancePtr = _lookup< - ffi.NativeFunction>( - 'spine_event_data_set_balance'); - late final _spine_event_data_set_balance = _spine_event_data_set_balancePtr - .asFunction(); + 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(); spine_event_data spine_event_get_data( spine_event event, @@ -3509,11 +2932,8 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_dataPtr = - _lookup>( - 'spine_event_get_data'); - late final _spine_event_get_data = _spine_event_get_dataPtr - .asFunction(); + 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, @@ -3523,11 +2943,8 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_timePtr = - _lookup>( - 'spine_event_get_time'); - late final _spine_event_get_time = - _spine_event_get_timePtr.asFunction(); + 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, @@ -3537,11 +2954,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -3554,10 +2968,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3567,11 +2979,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -3584,10 +2993,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3598,10 +3005,8 @@ class SpineFlutterBindings { } 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)>(); + _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, @@ -3613,12 +3018,9 @@ class SpineFlutterBindings { ); } - late final _spine_event_set_string_valuePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - spine_event, ffi.Pointer)>>('spine_event_set_string_value'); - late final _spine_event_set_string_value = _spine_event_set_string_valuePtr - .asFunction)>(); + 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)>(); double spine_event_get_volume( spine_event event, @@ -3628,11 +3030,8 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_volumePtr = - _lookup>( - 'spine_event_get_volume'); - late final _spine_event_get_volume = - _spine_event_get_volumePtr.asFunction(); + 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, @@ -3644,11 +3043,8 @@ class SpineFlutterBindings { ); } - late final _spine_event_set_volumePtr = - _lookup>( - 'spine_event_set_volume'); - late final _spine_event_set_volume = _spine_event_set_volumePtr - .asFunction(); + 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, @@ -3658,11 +3054,8 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_balancePtr = - _lookup>( - 'spine_event_get_balance'); - late final _spine_event_get_balance = - _spine_event_get_balancePtr.asFunction(); + 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, @@ -3675,10 +3068,8 @@ class SpineFlutterBindings { } late final _spine_event_set_balancePtr = - _lookup>( - 'spine_event_set_balance'); - late final _spine_event_set_balance = _spine_event_set_balancePtr - .asFunction(); + _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, @@ -3688,11 +3079,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -3703,10 +3091,8 @@ class SpineFlutterBindings { } 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)>(); + _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, @@ -3717,10 +3103,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3731,10 +3115,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3752,13 +3134,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_slot_data, ffi.Float, ffi.Float, ffi.Float, - ffi.Float)>>('spine_slot_data_set_color'); + 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< - void Function(spine_slot_data, double, double, double, double)>(); + _spine_slot_data_set_colorPtr.asFunction(); spine_color spine_slot_data_get_dark_color( spine_slot_data slot, @@ -3769,11 +3149,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3791,13 +3168,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_dark_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_slot_data, ffi.Float, ffi.Float, ffi.Float, - ffi.Float)>>('spine_slot_data_set_dark_color'); + 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< - void Function(spine_slot_data, double, double, double, double)>(); + _spine_slot_data_set_dark_colorPtr.asFunction(); int spine_slot_data_has_dark_color( spine_slot_data slot, @@ -3808,11 +3183,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3824,12 +3196,9 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_has_dark_colorPtr = _lookup< - ffi.NativeFunction>( - '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_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(); ffi.Pointer spine_slot_data_get_attachment_name( spine_slot_data slot, @@ -3840,11 +3209,9 @@ class SpineFlutterBindings { } late final _spine_slot_data_get_attachment_namePtr = - _lookup Function(spine_slot_data)>>( - 'spine_slot_data_get_attachment_name'); + _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)>(); + _spine_slot_data_get_attachment_namePtr.asFunction Function(spine_slot_data)>(); void spine_slot_data_set_attachment_name( spine_slot_data slot, @@ -3856,13 +3223,10 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_attachment_namePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_slot_data, - ffi.Pointer)>>('spine_slot_data_set_attachment_name'); + 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_namePtr.asFunction)>(); int spine_slot_data_get_blend_mode( spine_slot_data slot, @@ -3873,11 +3237,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -3889,12 +3250,9 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_blend_modePtr = _lookup< - ffi.NativeFunction>( - '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_modePtr = + _lookup>('spine_slot_data_set_blend_mode'); + late final _spine_slot_data_set_blend_mode = _spine_slot_data_set_blend_modePtr.asFunction(); void spine_slot_set_to_setup_pose( spine_slot slot, @@ -3904,11 +3262,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -3918,11 +3273,8 @@ class SpineFlutterBindings { ); } - late final _spine_slot_get_dataPtr = - _lookup>( - 'spine_slot_get_data'); - late final _spine_slot_get_data = _spine_slot_get_dataPtr - .asFunction(); + 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, @@ -3932,11 +3284,8 @@ class SpineFlutterBindings { ); } - late final _spine_slot_get_bonePtr = - _lookup>( - 'spine_slot_get_bone'); - late final _spine_slot_get_bone = - _spine_slot_get_bonePtr.asFunction(); + 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, @@ -3946,11 +3295,8 @@ class SpineFlutterBindings { ); } - late final _spine_slot_get_skeletonPtr = - _lookup>( - 'spine_slot_get_skeleton'); - late final _spine_slot_get_skeleton = _spine_slot_get_skeletonPtr - .asFunction(); + 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, @@ -3960,11 +3306,8 @@ class SpineFlutterBindings { ); } - late final _spine_slot_get_colorPtr = - _lookup>( - 'spine_slot_get_color'); - late final _spine_slot_get_color = - _spine_slot_get_colorPtr.asFunction(); + 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, @@ -3982,12 +3325,9 @@ class SpineFlutterBindings { ); } - late final _spine_slot_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_slot, ffi.Float, ffi.Float, ffi.Float, - ffi.Float)>>('spine_slot_set_color'); - late final _spine_slot_set_color = _spine_slot_set_colorPtr - .asFunction(); + late final _spine_slot_set_colorPtr = + _lookup>('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, @@ -3997,11 +3337,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4019,12 +3356,10 @@ class SpineFlutterBindings { ); } - late final _spine_slot_set_dark_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_slot, ffi.Float, ffi.Float, ffi.Float, - ffi.Float)>>('spine_slot_set_dark_color'); - late final _spine_slot_set_dark_color = _spine_slot_set_dark_colorPtr - .asFunction(); + 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(); int spine_slot_has_dark_color( spine_slot slot, @@ -4034,11 +3369,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4049,10 +3381,8 @@ class SpineFlutterBindings { } late final _spine_slot_get_attachmentPtr = - _lookup>( - 'spine_slot_get_attachment'); - late final _spine_slot_get_attachment = _spine_slot_get_attachmentPtr - .asFunction(); + _lookup>('spine_slot_get_attachment'); + late final _spine_slot_get_attachment = _spine_slot_get_attachmentPtr.asFunction(); void spine_slot_set_attachment( spine_slot slot, @@ -4064,11 +3394,9 @@ class SpineFlutterBindings { ); } - late final _spine_slot_set_attachmentPtr = _lookup< - ffi.NativeFunction>( - 'spine_slot_set_attachment'); - late final _spine_slot_set_attachment = _spine_slot_set_attachmentPtr - .asFunction(); + late final _spine_slot_set_attachmentPtr = + _lookup>('spine_slot_set_attachment'); + late final _spine_slot_set_attachment = _spine_slot_set_attachmentPtr.asFunction(); /// OMITTED getDeform() int spine_slot_get_sequence_index( @@ -4080,10 +3408,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4096,10 +3422,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4109,11 +3433,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4124,10 +3445,8 @@ class SpineFlutterBindings { } 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)>(); + _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, @@ -4138,10 +3457,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4152,10 +3469,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4167,11 +3482,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_lengthPtr = _lookup< - ffi.NativeFunction>( - 'spine_bone_data_set_length'); - late final _spine_bone_data_set_length = _spine_bone_data_set_lengthPtr - .asFunction(); + 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(); double spine_bone_data_get_x( spine_bone_data data, @@ -4181,11 +3494,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4197,11 +3507,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_xPtr = _lookup< - ffi.NativeFunction>( - 'spine_bone_data_set_x'); - late final _spine_bone_data_set_x = _spine_bone_data_set_xPtr - .asFunction(); + 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, @@ -4211,11 +3519,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4227,11 +3532,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_yPtr = _lookup< - ffi.NativeFunction>( - 'spine_bone_data_set_y'); - late final _spine_bone_data_set_y = _spine_bone_data_set_yPtr - .asFunction(); + 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, @@ -4242,10 +3545,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4257,11 +3558,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_rotationPtr = _lookup< - ffi.NativeFunction>( - 'spine_bone_data_set_rotation'); - late final _spine_bone_data_set_rotation = _spine_bone_data_set_rotationPtr - .asFunction(); + 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(); double spine_bone_data_get_scale_x( spine_bone_data data, @@ -4272,10 +3571,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4287,11 +3584,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_scale_xPtr = _lookup< - ffi.NativeFunction>( - '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_xPtr = + _lookup>('spine_bone_data_set_scale_x'); + 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, @@ -4302,10 +3597,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4317,11 +3610,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_scale_yPtr = _lookup< - ffi.NativeFunction>( - '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_yPtr = + _lookup>('spine_bone_data_set_scale_y'); + 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, @@ -4332,10 +3623,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4347,11 +3636,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_shear_xPtr = _lookup< - ffi.NativeFunction>( - '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_xPtr = + _lookup>('spine_bone_data_set_shear_x'); + 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, @@ -4362,10 +3649,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4377,11 +3662,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_shear_yPtr = _lookup< - ffi.NativeFunction>( - '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_yPtr = + _lookup>('spine_bone_data_set_shear_y'); + late final _spine_bone_data_set_shear_y = _spine_bone_data_set_shear_yPtr.asFunction(); int spine_bone_data_get_transform_mode( spine_bone_data data, @@ -4392,11 +3675,8 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_transform_modePtr = - _lookup>( - 'spine_bone_data_get_transform_mode'); - late final _spine_bone_data_get_transform_mode = - _spine_bone_data_get_transform_modePtr - .asFunction(); + _lookup>('spine_bone_data_get_transform_mode'); + late final _spine_bone_data_get_transform_mode = _spine_bone_data_get_transform_modePtr.asFunction(); void spine_bone_data_set_transform_mode( spine_bone_data data, @@ -4408,12 +3688,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_transform_modePtr = _lookup< - ffi.NativeFunction>( - 'spine_bone_data_set_transform_mode'); - late final _spine_bone_data_set_transform_mode = - _spine_bone_data_set_transform_modePtr - .asFunction(); + late final _spine_bone_data_set_transform_modePtr = + _lookup>('spine_bone_data_set_transform_mode'); + late final _spine_bone_data_set_transform_mode = _spine_bone_data_set_transform_modePtr.asFunction(); int spine_bone_data_is_skin_required( spine_bone_data data, @@ -4424,11 +3701,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4440,12 +3714,10 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_is_skin_requiredPtr = _lookup< - ffi.NativeFunction>( - 'spine_bone_data_set_is_skin_required'); + 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_requiredPtr.asFunction(); spine_color spine_bone_data_get_color( spine_bone_data data, @@ -4456,10 +3728,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4477,13 +3747,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_bone_data, ffi.Float, ffi.Float, ffi.Float, - ffi.Float)>>('spine_bone_data_set_color'); + 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< - void Function(spine_bone_data, double, double, double, double)>(); + _spine_bone_data_set_colorPtr.asFunction(); void spine_bone_set_is_y_down( int yDown, @@ -4493,21 +3761,15 @@ class SpineFlutterBindings { ); } - 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(); + 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_down = - _spine_bone_get_is_y_downPtr.asFunction(); + 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, @@ -4517,11 +3779,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_updatePtr = - _lookup>( - 'spine_bone_update'); - late final _spine_bone_update = - _spine_bone_updatePtr.asFunction(); + 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, @@ -4532,11 +3791,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -4561,20 +3817,10 @@ class SpineFlutterBindings { } 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 Function(spine_bone, double, double, double, double, double, - double, double)>(); + ffi.NativeFunction>( + 'spine_bone_update_world_transform_with'); + late final _spine_bone_update_world_transform_with = _spine_bone_update_world_transform_withPtr + .asFunction(); void spine_bone_set_to_setup_pose( spine_bone bone, @@ -4584,11 +3830,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4602,12 +3845,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_world_to_localPtr = _lookup< - ffi.NativeFunction< - spine_vector Function( - spine_bone, ffi.Float, ffi.Float)>>('spine_bone_world_to_local'); - late final _spine_bone_world_to_local = _spine_bone_world_to_localPtr - .asFunction(); + 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(); spine_vector spine_bone_local_to_world( spine_bone bone, @@ -4621,12 +3861,9 @@ class SpineFlutterBindings { ); } - late final _spine_bone_local_to_worldPtr = _lookup< - ffi.NativeFunction< - spine_vector Function( - spine_bone, ffi.Float, ffi.Float)>>('spine_bone_local_to_world'); - late final _spine_bone_local_to_world = _spine_bone_local_to_worldPtr - .asFunction(); + 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(); double spine_bone_world_to_local_rotation( spine_bone bone, @@ -4639,11 +3876,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_bone_world_to_local_rotation'); + 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, @@ -4656,11 +3890,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_bone_local_to_world_rotation'); + late final _spine_bone_local_to_world_rotation = _spine_bone_local_to_world_rotationPtr.asFunction(); void spine_bone_rotate_world( spine_bone bone, @@ -4672,11 +3903,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_rotate_worldPtr = - _lookup>( - 'spine_bone_rotate_world'); - late final _spine_bone_rotate_world = _spine_bone_rotate_worldPtr - .asFunction(); + 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, @@ -4687,11 +3915,9 @@ class SpineFlutterBindings { } late final _spine_bone_get_world_to_local_rotation_xPtr = - _lookup>( - 'spine_bone_get_world_to_local_rotation_x'); + _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(); + _spine_bone_get_world_to_local_rotation_xPtr.asFunction(); double spine_bone_get_world_to_local_rotation_y( spine_bone bone, @@ -4702,11 +3928,9 @@ class SpineFlutterBindings { } late final _spine_bone_get_world_to_local_rotation_yPtr = - _lookup>( - 'spine_bone_get_world_to_local_rotation_y'); + _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_get_world_to_local_rotation_yPtr.asFunction(); spine_bone_data spine_bone_get_data( spine_bone bone, @@ -4716,11 +3940,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_dataPtr = - _lookup>( - 'spine_bone_get_data'); - late final _spine_bone_get_data = _spine_bone_get_dataPtr - .asFunction(); + 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, @@ -4730,11 +3951,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_skeletonPtr = - _lookup>( - 'spine_bone_get_skeleton'); - late final _spine_bone_get_skeleton = _spine_bone_get_skeletonPtr - .asFunction(); + 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, @@ -4744,11 +3962,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_parentPtr = - _lookup>( - 'spine_bone_get_parent'); - late final _spine_bone_get_parent = - _spine_bone_get_parentPtr.asFunction(); + 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, @@ -4758,11 +3973,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4773,10 +3985,8 @@ class SpineFlutterBindings { } 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)>(); + _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, @@ -4786,11 +3996,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_xPtr = - _lookup>( - 'spine_bone_get_x'); - late final _spine_bone_get_x = - _spine_bone_get_xPtr.asFunction(); + 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, @@ -4802,11 +4009,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_xPtr = - _lookup>( - 'spine_bone_set_x'); - late final _spine_bone_set_x = - _spine_bone_set_xPtr.asFunction(); + 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, @@ -4816,11 +4020,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_yPtr = - _lookup>( - 'spine_bone_get_y'); - late final _spine_bone_get_y = - _spine_bone_get_yPtr.asFunction(); + 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, @@ -4832,11 +4033,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_yPtr = - _lookup>( - 'spine_bone_set_y'); - late final _spine_bone_set_y = - _spine_bone_set_yPtr.asFunction(); + 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, @@ -4846,11 +4044,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_rotationPtr = - _lookup>( - 'spine_bone_get_rotation'); - late final _spine_bone_get_rotation = - _spine_bone_get_rotationPtr.asFunction(); + 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, @@ -4862,11 +4057,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_rotationPtr = - _lookup>( - 'spine_bone_set_rotation'); - late final _spine_bone_set_rotation = _spine_bone_set_rotationPtr - .asFunction(); + 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, @@ -4876,11 +4068,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4892,11 +4081,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4906,11 +4092,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4922,11 +4105,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4936,11 +4116,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4952,11 +4129,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4966,11 +4140,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4982,11 +4153,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -4997,11 +4165,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -5014,11 +4179,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_bone_set_applied_rotation'); + late final _spine_bone_set_applied_rotation = _spine_bone_set_applied_rotationPtr.asFunction(); double spine_bone_get_a_x( spine_bone bone, @@ -5028,11 +4190,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5044,11 +4203,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5058,11 +4214,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5074,11 +4227,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5088,11 +4238,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5105,10 +4252,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -5118,11 +4263,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5135,10 +4277,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -5148,11 +4288,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5165,10 +4302,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -5178,11 +4313,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5195,10 +4327,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -5208,11 +4338,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_aPtr = - _lookup>( - 'spine_bone_get_a'); - late final _spine_bone_get_a = - _spine_bone_get_aPtr.asFunction(); + 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, @@ -5224,11 +4351,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_aPtr = - _lookup>( - 'spine_bone_set_a'); - late final _spine_bone_set_a = - _spine_bone_set_aPtr.asFunction(); + 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, @@ -5238,11 +4362,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_bPtr = - _lookup>( - 'spine_bone_get_b'); - late final _spine_bone_get_b = - _spine_bone_get_bPtr.asFunction(); + 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, @@ -5254,11 +4375,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_bPtr = - _lookup>( - 'spine_bone_set_b'); - late final _spine_bone_set_b = - _spine_bone_set_bPtr.asFunction(); + 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, @@ -5268,11 +4386,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_cPtr = - _lookup>( - 'spine_bone_get_c'); - late final _spine_bone_get_c = - _spine_bone_get_cPtr.asFunction(); + 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, @@ -5284,11 +4399,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_cPtr = - _lookup>( - 'spine_bone_set_c'); - late final _spine_bone_set_c = - _spine_bone_set_cPtr.asFunction(); + 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, @@ -5298,11 +4410,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_dPtr = - _lookup>( - 'spine_bone_get_d'); - late final _spine_bone_get_d = - _spine_bone_get_dPtr.asFunction(); + 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, @@ -5314,11 +4423,8 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_dPtr = - _lookup>( - 'spine_bone_set_d'); - late final _spine_bone_set_d = - _spine_bone_set_dPtr.asFunction(); + 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, @@ -5328,11 +4434,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5344,11 +4447,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5358,11 +4458,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5374,11 +4471,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5389,11 +4483,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -5404,11 +4495,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -5418,11 +4506,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5432,11 +4517,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5446,11 +4528,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -5463,10 +4542,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_bone_set_is_active'); + late final _spine_bone_set_is_active = _spine_bone_set_is_activePtr.asFunction(); ffi.Pointer spine_attachment_get_name( spine_attachment attachment, @@ -5477,10 +4554,8 @@ class SpineFlutterBindings { } 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)>(); + _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, @@ -5490,11 +4565,8 @@ class SpineFlutterBindings { ); } - late final _spine_attachment_get_typePtr = - _lookup>( - 'spine_attachment_get_type'); - late final _spine_attachment_get_type = _spine_attachment_get_typePtr - .asFunction(); + 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, @@ -5504,11 +4576,8 @@ class SpineFlutterBindings { ); } - 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, @@ -5518,11 +4587,8 @@ class SpineFlutterBindings { ); } - late final _spine_attachment_disposePtr = - _lookup>( - 'spine_attachment_dispose'); - late final _spine_attachment_dispose = _spine_attachment_disposePtr - .asFunction(); + 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, @@ -5534,13 +4600,11 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_compute_world_positionPtr = _lookup< - ffi.NativeFunction< - spine_vector Function(spine_point_attachment, - spine_bone)>>('spine_point_attachment_compute_world_position'); + late final _spine_point_attachment_compute_world_positionPtr = + _lookup>( + 'spine_point_attachment_compute_world_position'); late final _spine_point_attachment_compute_world_position = - _spine_point_attachment_compute_world_positionPtr.asFunction< - spine_vector Function(spine_point_attachment, spine_bone)>(); + _spine_point_attachment_compute_world_positionPtr.asFunction(); double spine_point_attachment_compute_world_rotation( spine_point_attachment attachment, @@ -5552,13 +4616,10 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_compute_world_rotationPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_point_attachment, - spine_bone)>>('spine_point_attachment_compute_world_rotation'); + late final _spine_point_attachment_compute_world_rotationPtr = + _lookup>('spine_point_attachment_compute_world_rotation'); late final _spine_point_attachment_compute_world_rotation = - _spine_point_attachment_compute_world_rotationPtr - .asFunction(); + _spine_point_attachment_compute_world_rotationPtr.asFunction(); double spine_point_attachment_get_x( spine_point_attachment attachment, @@ -5569,10 +4630,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -5584,12 +4643,9 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_set_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_point_attachment, - ffi.Float)>>('spine_point_attachment_set_x'); - late final _spine_point_attachment_set_x = _spine_point_attachment_set_xPtr - .asFunction(); + 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(); double spine_point_attachment_get_y( spine_point_attachment attachment, @@ -5600,10 +4656,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -5615,12 +4669,9 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_set_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_point_attachment, - ffi.Float)>>('spine_point_attachment_set_y'); - late final _spine_point_attachment_set_y = _spine_point_attachment_set_yPtr - .asFunction(); + 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(); double spine_point_attachment_get_rotation( spine_point_attachment attachment, @@ -5631,11 +4682,9 @@ class SpineFlutterBindings { } late final _spine_point_attachment_get_rotationPtr = - _lookup>( - 'spine_point_attachment_get_rotation'); + _lookup>('spine_point_attachment_get_rotation'); late final _spine_point_attachment_get_rotation = - _spine_point_attachment_get_rotationPtr - .asFunction(); + _spine_point_attachment_get_rotationPtr.asFunction(); void spine_point_attachment_set_rotation( spine_point_attachment attachment, @@ -5647,13 +4696,10 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_set_rotationPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_point_attachment, - ffi.Float)>>('spine_point_attachment_set_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_rotationPtr.asFunction(); spine_color spine_point_attachment_get_color( spine_point_attachment attachment, @@ -5664,11 +4710,9 @@ class SpineFlutterBindings { } late final _spine_point_attachment_get_colorPtr = - _lookup>( - 'spine_point_attachment_get_color'); + _lookup>('spine_point_attachment_get_color'); late final _spine_point_attachment_get_color = - _spine_point_attachment_get_colorPtr - .asFunction(); + _spine_point_attachment_get_colorPtr.asFunction(); void spine_point_attachment_set_color( spine_point_attachment attachment, @@ -5686,14 +4730,11 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_point_attachment, ffi.Float, ffi.Float, - ffi.Float, ffi.Float)>>('spine_point_attachment_set_color'); + late final _spine_point_attachment_set_colorPtr = + _lookup>( + 'spine_point_attachment_set_color'); late final _spine_point_attachment_set_color = - _spine_point_attachment_set_colorPtr.asFunction< - void Function( - spine_point_attachment, double, double, double, double)>(); + _spine_point_attachment_set_colorPtr.asFunction(); void spine_region_attachment_update_region( spine_region_attachment attachment, @@ -5704,11 +4745,9 @@ class SpineFlutterBindings { } late final _spine_region_attachment_update_regionPtr = - _lookup>( - 'spine_region_attachment_update_region'); + _lookup>('spine_region_attachment_update_region'); late final _spine_region_attachment_update_region = - _spine_region_attachment_update_regionPtr - .asFunction(); + _spine_region_attachment_update_regionPtr.asFunction(); void spine_region_attachment_compute_world_vertices( spine_region_attachment attachment, @@ -5722,15 +4761,11 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_compute_world_verticesPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_region_attachment, spine_slot, - ffi.Pointer)>>( - 'spine_region_attachment_compute_world_vertices'); - late final _spine_region_attachment_compute_world_vertices = - _spine_region_attachment_compute_world_verticesPtr.asFunction< - void Function( - spine_region_attachment, spine_slot, ffi.Pointer)>(); + late final _spine_region_attachment_compute_world_verticesPtr = + _lookup)>>( + '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, @@ -5741,10 +4776,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_region_attachment_get_x'); + late final _spine_region_attachment_get_x = _spine_region_attachment_get_xPtr.asFunction(); void spine_region_attachment_set_x( spine_region_attachment attachment, @@ -5756,12 +4789,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_region_attachment, - ffi.Float)>>('spine_region_attachment_set_x'); - late final _spine_region_attachment_set_x = _spine_region_attachment_set_xPtr - .asFunction(); + 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(); double spine_region_attachment_get_y( spine_region_attachment attachment, @@ -5772,10 +4803,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_region_attachment_get_y'); + late final _spine_region_attachment_get_y = _spine_region_attachment_get_yPtr.asFunction(); void spine_region_attachment_set_y( spine_region_attachment attachment, @@ -5787,12 +4816,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_region_attachment, - ffi.Float)>>('spine_region_attachment_set_y'); - late final _spine_region_attachment_set_y = _spine_region_attachment_set_yPtr - .asFunction(); + 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(); double spine_region_attachment_get_rotation( spine_region_attachment attachment, @@ -5803,11 +4830,9 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_rotationPtr = - _lookup>( - 'spine_region_attachment_get_rotation'); + _lookup>('spine_region_attachment_get_rotation'); late final _spine_region_attachment_get_rotation = - _spine_region_attachment_get_rotationPtr - .asFunction(); + _spine_region_attachment_get_rotationPtr.asFunction(); void spine_region_attachment_set_rotation( spine_region_attachment attachment, @@ -5819,13 +4844,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_rotationPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_region_attachment, - ffi.Float)>>('spine_region_attachment_set_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_rotationPtr.asFunction(); double spine_region_attachment_get_scale_x( spine_region_attachment attachment, @@ -5836,11 +4858,9 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_scale_xPtr = - _lookup>( - 'spine_region_attachment_get_scale_x'); + _lookup>('spine_region_attachment_get_scale_x'); late final _spine_region_attachment_get_scale_x = - _spine_region_attachment_get_scale_xPtr - .asFunction(); + _spine_region_attachment_get_scale_xPtr.asFunction(); void spine_region_attachment_set_scale_x( spine_region_attachment attachment, @@ -5852,13 +4872,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_scale_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_region_attachment, - ffi.Float)>>('spine_region_attachment_set_scale_x'); + 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_xPtr.asFunction(); double spine_region_attachment_get_scale_y( spine_region_attachment attachment, @@ -5869,11 +4886,9 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_scale_yPtr = - _lookup>( - 'spine_region_attachment_get_scale_y'); + _lookup>('spine_region_attachment_get_scale_y'); late final _spine_region_attachment_get_scale_y = - _spine_region_attachment_get_scale_yPtr - .asFunction(); + _spine_region_attachment_get_scale_yPtr.asFunction(); void spine_region_attachment_set_scale_y( spine_region_attachment attachment, @@ -5885,13 +4900,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_scale_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_region_attachment, - ffi.Float)>>('spine_region_attachment_set_scale_y'); + 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_yPtr.asFunction(); double spine_region_attachment_get_width( spine_region_attachment attachment, @@ -5902,11 +4914,9 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_widthPtr = - _lookup>( - 'spine_region_attachment_get_width'); + _lookup>('spine_region_attachment_get_width'); late final _spine_region_attachment_get_width = - _spine_region_attachment_get_widthPtr - .asFunction(); + _spine_region_attachment_get_widthPtr.asFunction(); void spine_region_attachment_set_width( spine_region_attachment attachment, @@ -5918,13 +4928,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_widthPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_region_attachment, - ffi.Float)>>('spine_region_attachment_set_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_widthPtr.asFunction(); double spine_region_attachment_get_height( spine_region_attachment attachment, @@ -5935,11 +4942,9 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_heightPtr = - _lookup>( - 'spine_region_attachment_get_height'); + _lookup>('spine_region_attachment_get_height'); late final _spine_region_attachment_get_height = - _spine_region_attachment_get_heightPtr - .asFunction(); + _spine_region_attachment_get_heightPtr.asFunction(); void spine_region_attachment_set_height( spine_region_attachment attachment, @@ -5951,13 +4956,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_heightPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_region_attachment, - ffi.Float)>>('spine_region_attachment_set_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_heightPtr.asFunction(); spine_color spine_region_attachment_get_color( spine_region_attachment attachment, @@ -5967,12 +4969,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_colorPtr = _lookup< - ffi.NativeFunction>( - 'spine_region_attachment_get_color'); + 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(); + _spine_region_attachment_get_colorPtr.asFunction(); void spine_region_attachment_set_color( spine_region_attachment attachment, @@ -5990,14 +4990,11 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_region_attachment, ffi.Float, ffi.Float, - ffi.Float, ffi.Float)>>('spine_region_attachment_set_color'); + late final _spine_region_attachment_set_colorPtr = + _lookup>( + 'spine_region_attachment_set_color'); late final _spine_region_attachment_set_color = - _spine_region_attachment_set_colorPtr.asFunction< - void Function( - spine_region_attachment, double, double, double, double)>(); + _spine_region_attachment_set_colorPtr.asFunction(); ffi.Pointer spine_region_attachment_get_path( spine_region_attachment attachment, @@ -6007,13 +5004,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_pathPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_region_attachment)>>('spine_region_attachment_get_path'); + 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_pathPtr.asFunction Function(spine_region_attachment)>(); /// OMITTED setPath() spine_texture_region spine_region_attachment_get_region( @@ -6024,13 +5018,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_regionPtr = _lookup< - ffi.NativeFunction< - spine_texture_region Function( - spine_region_attachment)>>('spine_region_attachment_get_region'); + 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_regionPtr.asFunction(); /// OMITTED setRegion() spine_sequence spine_region_attachment_get_sequence( @@ -6041,12 +5032,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_sequencePtr = _lookup< - ffi.NativeFunction>( - 'spine_region_attachment_get_sequence'); + 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_sequencePtr.asFunction(); /// OMITTED setSequence() int spine_region_attachment_get_num_offset( @@ -6058,11 +5047,9 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_num_offsetPtr = - _lookup>( - 'spine_region_attachment_get_num_offset'); + _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_offsetPtr.asFunction(); ffi.Pointer spine_region_attachment_get_offset( spine_region_attachment attachment, @@ -6072,13 +5059,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_offsetPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_region_attachment)>>('spine_region_attachment_get_offset'); + 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< - ffi.Pointer Function(spine_region_attachment)>(); + _spine_region_attachment_get_offsetPtr.asFunction Function(spine_region_attachment)>(); int spine_region_attachment_get_num_uvs( spine_region_attachment attachment, @@ -6089,11 +5073,9 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_num_uvsPtr = - _lookup>( - 'spine_region_attachment_get_num_uvs'); + _lookup>('spine_region_attachment_get_num_uvs'); late final _spine_region_attachment_get_num_uvs = - _spine_region_attachment_get_num_uvsPtr - .asFunction(); + _spine_region_attachment_get_num_uvsPtr.asFunction(); ffi.Pointer spine_region_attachment_get_uvs( spine_region_attachment attachment, @@ -6103,13 +5085,10 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_uvsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_region_attachment)>>('spine_region_attachment_get_uvs'); + 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< - ffi.Pointer Function(spine_region_attachment)>(); + _spine_region_attachment_get_uvsPtr.asFunction Function(spine_region_attachment)>(); int spine_vertex_attachment_get_world_vertices_length( spine_vertex_attachment attachment, @@ -6120,11 +5099,9 @@ class SpineFlutterBindings { } late final _spine_vertex_attachment_get_world_vertices_lengthPtr = - _lookup>( - 'spine_vertex_attachment_get_world_vertices_length'); + _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_lengthPtr.asFunction(); void spine_vertex_attachment_compute_world_vertices( spine_vertex_attachment attachment, @@ -6138,15 +5115,11 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_compute_world_verticesPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_vertex_attachment, spine_slot, - ffi.Pointer)>>( - 'spine_vertex_attachment_compute_world_vertices'); - late final _spine_vertex_attachment_compute_world_vertices = - _spine_vertex_attachment_compute_world_verticesPtr.asFunction< - void Function( - spine_vertex_attachment, spine_slot, ffi.Pointer)>(); + late final _spine_vertex_attachment_compute_world_verticesPtr = + _lookup)>>( + '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( @@ -6158,11 +5131,9 @@ class SpineFlutterBindings { } late final _spine_vertex_attachment_get_num_bonesPtr = - _lookup>( - 'spine_vertex_attachment_get_num_bones'); + _lookup>('spine_vertex_attachment_get_num_bones'); late final _spine_vertex_attachment_get_num_bones = - _spine_vertex_attachment_get_num_bonesPtr - .asFunction(); + _spine_vertex_attachment_get_num_bonesPtr.asFunction(); ffi.Pointer spine_vertex_attachment_get_bones( spine_vertex_attachment attachment, @@ -6172,13 +5143,10 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_get_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_vertex_attachment)>>('spine_vertex_attachment_get_bones'); + 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< - ffi.Pointer Function(spine_vertex_attachment)>(); + _spine_vertex_attachment_get_bonesPtr.asFunction Function(spine_vertex_attachment)>(); int spine_vertex_attachment_get_num_vertices( spine_vertex_attachment attachment, @@ -6189,11 +5157,9 @@ class SpineFlutterBindings { } late final _spine_vertex_attachment_get_num_verticesPtr = - _lookup>( - 'spine_vertex_attachment_get_num_vertices'); + _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_verticesPtr.asFunction(); ffi.Pointer spine_vertex_attachment_get_vertices( spine_vertex_attachment attachment, @@ -6203,13 +5169,10 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_get_verticesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(spine_vertex_attachment)>>( - 'spine_vertex_attachment_get_vertices'); + 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< - ffi.Pointer Function(spine_vertex_attachment)>(); + _spine_vertex_attachment_get_verticesPtr.asFunction Function(spine_vertex_attachment)>(); spine_attachment spine_vertex_attachment_get_timeline_attachment( spine_vertex_attachment timelineAttachment, @@ -6219,13 +5182,10 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_get_timeline_attachmentPtr = _lookup< - ffi.NativeFunction< - spine_attachment Function(spine_vertex_attachment)>>( - 'spine_vertex_attachment_get_timeline_attachment'); + late final _spine_vertex_attachment_get_timeline_attachmentPtr = + _lookup>('spine_vertex_attachment_get_timeline_attachment'); late final _spine_vertex_attachment_get_timeline_attachment = - _spine_vertex_attachment_get_timeline_attachmentPtr - .asFunction(); + _spine_vertex_attachment_get_timeline_attachmentPtr.asFunction(); void spine_vertex_attachment_set_timeline_attachment( spine_vertex_attachment attachment, @@ -6237,13 +5197,11 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_set_timeline_attachmentPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_vertex_attachment, spine_attachment)>>( - 'spine_vertex_attachment_set_timeline_attachment'); + late final _spine_vertex_attachment_set_timeline_attachmentPtr = + _lookup>( + 'spine_vertex_attachment_set_timeline_attachment'); late final _spine_vertex_attachment_set_timeline_attachment = - _spine_vertex_attachment_set_timeline_attachmentPtr.asFunction< - void Function(spine_vertex_attachment, spine_attachment)>(); + _spine_vertex_attachment_set_timeline_attachmentPtr.asFunction(); /// OMITTED copyTo() void spine_mesh_attachment_update_region( @@ -6255,11 +5213,9 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_update_regionPtr = - _lookup>( - 'spine_mesh_attachment_update_region'); + _lookup>('spine_mesh_attachment_update_region'); late final _spine_mesh_attachment_update_region = - _spine_mesh_attachment_update_regionPtr - .asFunction(); + _spine_mesh_attachment_update_regionPtr.asFunction(); int spine_mesh_attachment_get_hull_length( spine_mesh_attachment attachment, @@ -6270,11 +5226,9 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_hull_lengthPtr = - _lookup>( - 'spine_mesh_attachment_get_hull_length'); + _lookup>('spine_mesh_attachment_get_hull_length'); late final _spine_mesh_attachment_get_hull_length = - _spine_mesh_attachment_get_hull_lengthPtr - .asFunction(); + _spine_mesh_attachment_get_hull_lengthPtr.asFunction(); void spine_mesh_attachment_set_hull_length( spine_mesh_attachment attachment, @@ -6286,13 +5240,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_hull_lengthPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_mesh_attachment, - ffi.Int32)>>('spine_mesh_attachment_set_hull_length'); + 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_lengthPtr.asFunction(); int spine_mesh_attachment_get_num_region_uvs( spine_mesh_attachment attachment, @@ -6303,11 +5254,9 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_num_region_uvsPtr = - _lookup>( - 'spine_mesh_attachment_get_num_region_uvs'); + _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_uvsPtr.asFunction(); ffi.Pointer spine_mesh_attachment_get_region_uvs( spine_mesh_attachment attachment, @@ -6317,13 +5266,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_region_uvsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_mesh_attachment)>>('spine_mesh_attachment_get_region_uvs'); + 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_uvsPtr.asFunction Function(spine_mesh_attachment)>(); int spine_mesh_attachment_get_num_uvs( spine_mesh_attachment attachment, @@ -6334,11 +5280,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_mesh_attachment_get_num_uvs'); + 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, @@ -6348,12 +5291,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_uvsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer 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)>(); + 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)>(); int spine_mesh_attachment_get_num_triangles( spine_mesh_attachment attachment, @@ -6364,11 +5305,9 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_num_trianglesPtr = - _lookup>( - 'spine_mesh_attachment_get_num_triangles'); + _lookup>('spine_mesh_attachment_get_num_triangles'); late final _spine_mesh_attachment_get_num_triangles = - _spine_mesh_attachment_get_num_trianglesPtr - .asFunction(); + _spine_mesh_attachment_get_num_trianglesPtr.asFunction(); ffi.Pointer spine_mesh_attachment_get_triangles( spine_mesh_attachment attachment, @@ -6378,13 +5317,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_trianglesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_mesh_attachment)>>('spine_mesh_attachment_get_triangles'); + 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< - ffi.Pointer Function(spine_mesh_attachment)>(); + _spine_mesh_attachment_get_trianglesPtr.asFunction Function(spine_mesh_attachment)>(); spine_color spine_mesh_attachment_get_color( spine_mesh_attachment attachment, @@ -6395,11 +5331,9 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_colorPtr = - _lookup>( - 'spine_mesh_attachment_get_color'); + _lookup>('spine_mesh_attachment_get_color'); late final _spine_mesh_attachment_get_color = - _spine_mesh_attachment_get_colorPtr - .asFunction(); + _spine_mesh_attachment_get_colorPtr.asFunction(); void spine_mesh_attachment_set_color( spine_mesh_attachment attachment, @@ -6417,14 +5351,11 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_mesh_attachment, ffi.Float, ffi.Float, - ffi.Float, ffi.Float)>>('spine_mesh_attachment_set_color'); + late final _spine_mesh_attachment_set_colorPtr = + _lookup>( + 'spine_mesh_attachment_set_color'); late final _spine_mesh_attachment_set_color = - _spine_mesh_attachment_set_colorPtr.asFunction< - void Function( - spine_mesh_attachment, double, double, double, double)>(); + _spine_mesh_attachment_set_colorPtr.asFunction(); ffi.Pointer spine_mesh_attachment_get_path( spine_mesh_attachment attachment, @@ -6434,13 +5365,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_pathPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_mesh_attachment)>>('spine_mesh_attachment_get_path'); + 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)>(); + _spine_mesh_attachment_get_pathPtr.asFunction Function(spine_mesh_attachment)>(); /// OMITTED setPath() spine_texture_region spine_mesh_attachment_get_region( @@ -6451,13 +5379,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_regionPtr = _lookup< - ffi.NativeFunction< - spine_texture_region Function( - spine_mesh_attachment)>>('spine_mesh_attachment_get_region'); + 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_regionPtr.asFunction(); /// OMITTED setRegion() spine_sequence spine_mesh_attachment_get_sequence( @@ -6468,12 +5393,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_sequencePtr = _lookup< - ffi.NativeFunction>( - 'spine_mesh_attachment_get_sequence'); + 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(); + _spine_mesh_attachment_get_sequencePtr.asFunction(); /// OMITTED setSequence() spine_mesh_attachment spine_mesh_attachment_get_parent_mesh( @@ -6484,13 +5407,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_parent_meshPtr = _lookup< - ffi.NativeFunction< - spine_mesh_attachment Function( - spine_mesh_attachment)>>('spine_mesh_attachment_get_parent_mesh'); + 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_meshPtr.asFunction(); void spine_mesh_attachment_set_parent_mesh( spine_mesh_attachment attachment, @@ -6502,13 +5422,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_parent_meshPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_mesh_attachment, - spine_mesh_attachment)>>('spine_mesh_attachment_set_parent_mesh'); + late final _spine_mesh_attachment_set_parent_meshPtr = + _lookup>('spine_mesh_attachment_set_parent_mesh'); late final _spine_mesh_attachment_set_parent_mesh = - _spine_mesh_attachment_set_parent_meshPtr.asFunction< - void Function(spine_mesh_attachment, spine_mesh_attachment)>(); + _spine_mesh_attachment_set_parent_meshPtr.asFunction(); int spine_mesh_attachment_get_num_edges( spine_mesh_attachment attachment, @@ -6519,11 +5436,9 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_num_edgesPtr = - _lookup>( - 'spine_mesh_attachment_get_num_edges'); + _lookup>('spine_mesh_attachment_get_num_edges'); late final _spine_mesh_attachment_get_num_edges = - _spine_mesh_attachment_get_num_edgesPtr - .asFunction(); + _spine_mesh_attachment_get_num_edgesPtr.asFunction(); ffi.Pointer spine_mesh_attachment_get_edges( spine_mesh_attachment attachment, @@ -6533,13 +5448,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_edgesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_mesh_attachment)>>('spine_mesh_attachment_get_edges'); + 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< - ffi.Pointer Function(spine_mesh_attachment)>(); + _spine_mesh_attachment_get_edgesPtr.asFunction Function(spine_mesh_attachment)>(); double spine_mesh_attachment_get_width( spine_mesh_attachment attachment, @@ -6550,11 +5462,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_mesh_attachment_get_width'); + late final _spine_mesh_attachment_get_width = _spine_mesh_attachment_get_widthPtr.asFunction(); void spine_mesh_attachment_set_width( spine_mesh_attachment attachment, @@ -6566,13 +5475,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_widthPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_mesh_attachment, - ffi.Float)>>('spine_mesh_attachment_set_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_widthPtr.asFunction(); double spine_mesh_attachment_get_height( spine_mesh_attachment attachment, @@ -6583,11 +5489,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_mesh_attachment_get_height'); + late final _spine_mesh_attachment_get_height = _spine_mesh_attachment_get_heightPtr.asFunction(); void spine_mesh_attachment_set_height( spine_mesh_attachment attachment, @@ -6599,13 +5502,10 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_heightPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_mesh_attachment, - ffi.Float)>>('spine_mesh_attachment_set_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_heightPtr.asFunction(); /// OMITTED newLinkedMesh() spine_slot_data spine_clipping_attachment_get_end_slot( @@ -6616,13 +5516,10 @@ class SpineFlutterBindings { ); } - late final _spine_clipping_attachment_get_end_slotPtr = _lookup< - ffi.NativeFunction< - spine_slot_data Function(spine_clipping_attachment)>>( - 'spine_clipping_attachment_get_end_slot'); + 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_slotPtr.asFunction(); void spine_clipping_attachment_set_end_slot( spine_clipping_attachment attachment, @@ -6634,13 +5531,10 @@ class SpineFlutterBindings { ); } - late final _spine_clipping_attachment_set_end_slotPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_clipping_attachment, - spine_slot_data)>>('spine_clipping_attachment_set_end_slot'); + late final _spine_clipping_attachment_set_end_slotPtr = + _lookup>('spine_clipping_attachment_set_end_slot'); late final _spine_clipping_attachment_set_end_slot = - _spine_clipping_attachment_set_end_slotPtr.asFunction< - void Function(spine_clipping_attachment, spine_slot_data)>(); + _spine_clipping_attachment_set_end_slotPtr.asFunction(); spine_color spine_clipping_attachment_get_color( spine_clipping_attachment attachment, @@ -6650,12 +5544,10 @@ class SpineFlutterBindings { ); } - late final _spine_clipping_attachment_get_colorPtr = _lookup< - ffi.NativeFunction>( - 'spine_clipping_attachment_get_color'); + 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_colorPtr.asFunction(); void spine_clipping_attachment_set_color( spine_clipping_attachment attachment, @@ -6673,14 +5565,11 @@ class SpineFlutterBindings { ); } - late final _spine_clipping_attachment_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_clipping_attachment, ffi.Float, ffi.Float, - ffi.Float, ffi.Float)>>('spine_clipping_attachment_set_color'); + late final _spine_clipping_attachment_set_colorPtr = + _lookup>( + 'spine_clipping_attachment_set_color'); late final _spine_clipping_attachment_set_color = - _spine_clipping_attachment_set_colorPtr.asFunction< - void Function( - spine_clipping_attachment, double, double, double, double)>(); + _spine_clipping_attachment_set_colorPtr.asFunction(); spine_color spine_bounding_box_attachment_get_color( spine_bounding_box_attachment attachment, @@ -6690,13 +5579,10 @@ class SpineFlutterBindings { ); } - late final _spine_bounding_box_attachment_get_colorPtr = _lookup< - ffi.NativeFunction< - spine_color Function(spine_bounding_box_attachment)>>( - 'spine_bounding_box_attachment_get_color'); + 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_colorPtr.asFunction(); void spine_bounding_box_attachment_set_color( spine_bounding_box_attachment attachment, @@ -6714,18 +5600,11 @@ class SpineFlutterBindings { ); } - 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_color = - _spine_bounding_box_attachment_set_colorPtr.asFunction< - void Function( - spine_bounding_box_attachment, double, double, double, double)>(); + late final _spine_bounding_box_attachment_set_colorPtr = + _lookup>( + '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, @@ -6736,11 +5615,9 @@ class SpineFlutterBindings { } late final _spine_path_attachment_get_num_lengthsPtr = - _lookup>( - 'spine_path_attachment_get_num_lengths'); + _lookup>('spine_path_attachment_get_num_lengths'); late final _spine_path_attachment_get_num_lengths = - _spine_path_attachment_get_num_lengthsPtr - .asFunction(); + _spine_path_attachment_get_num_lengthsPtr.asFunction(); ffi.Pointer spine_path_attachment_get_lengths( spine_path_attachment attachment, @@ -6750,13 +5627,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_attachment_get_lengthsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_path_attachment)>>('spine_path_attachment_get_lengths'); + 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_lengthsPtr.asFunction Function(spine_path_attachment)>(); int spine_path_attachment_get_is_closed( spine_path_attachment attachment, @@ -6767,11 +5641,9 @@ class SpineFlutterBindings { } late final _spine_path_attachment_get_is_closedPtr = - _lookup>( - 'spine_path_attachment_get_is_closed'); + _lookup>('spine_path_attachment_get_is_closed'); late final _spine_path_attachment_get_is_closed = - _spine_path_attachment_get_is_closedPtr - .asFunction(); + _spine_path_attachment_get_is_closedPtr.asFunction(); void spine_path_attachment_set_is_closed( spine_path_attachment attachment, @@ -6783,13 +5655,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_attachment_set_is_closedPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_attachment, - ffi.Int32)>>('spine_path_attachment_set_is_closed'); + 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_closedPtr.asFunction(); int spine_path_attachment_get_is_constant_speed( spine_path_attachment attachment, @@ -6800,11 +5669,9 @@ class SpineFlutterBindings { } late final _spine_path_attachment_get_is_constant_speedPtr = - _lookup>( - 'spine_path_attachment_get_is_constant_speed'); + _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_speedPtr.asFunction(); void spine_path_attachment_set_is_constant_speed( spine_path_attachment attachment, @@ -6816,13 +5683,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_attachment_set_is_constant_speedPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_attachment, - ffi.Int32)>>('spine_path_attachment_set_is_constant_speed'); + 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_speedPtr.asFunction(); spine_color spine_path_attachment_get_color( spine_path_attachment attachment, @@ -6833,11 +5697,9 @@ class SpineFlutterBindings { } late final _spine_path_attachment_get_colorPtr = - _lookup>( - 'spine_path_attachment_get_color'); + _lookup>('spine_path_attachment_get_color'); late final _spine_path_attachment_get_color = - _spine_path_attachment_get_colorPtr - .asFunction(); + _spine_path_attachment_get_colorPtr.asFunction(); void spine_path_attachment_set_color( spine_path_attachment attachment, @@ -6855,14 +5717,11 @@ class SpineFlutterBindings { ); } - late final _spine_path_attachment_set_colorPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_attachment, ffi.Float, ffi.Float, - ffi.Float, ffi.Float)>>('spine_path_attachment_set_color'); + late final _spine_path_attachment_set_colorPtr = + _lookup>( + 'spine_path_attachment_set_color'); late final _spine_path_attachment_set_color = - _spine_path_attachment_set_colorPtr.asFunction< - void Function( - spine_path_attachment, double, double, double, double)>(); + _spine_path_attachment_set_colorPtr.asFunction(); void spine_skin_set_attachment( spine_skin skin, @@ -6878,14 +5737,11 @@ class SpineFlutterBindings { ); } - late final _spine_skin_set_attachmentPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_skin, ffi.Int32, ffi.Pointer, - spine_attachment)>>('spine_skin_set_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< - void Function( - spine_skin, int, ffi.Pointer, spine_attachment)>(); + _spine_skin_set_attachmentPtr.asFunction, spine_attachment)>(); spine_attachment spine_skin_get_attachment( spine_skin skin, @@ -6899,13 +5755,10 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_attachmentPtr = _lookup< - ffi.NativeFunction< - spine_attachment Function(spine_skin, ffi.Int32, - ffi.Pointer)>>('spine_skin_get_attachment'); + late final _spine_skin_get_attachmentPtr = + _lookup)>>('spine_skin_get_attachment'); late final _spine_skin_get_attachment = - _spine_skin_get_attachmentPtr.asFunction< - spine_attachment Function(spine_skin, int, ffi.Pointer)>(); + _spine_skin_get_attachmentPtr.asFunction)>(); void spine_skin_remove_attachment( spine_skin skin, @@ -6919,12 +5772,10 @@ class SpineFlutterBindings { ); } - late final _spine_skin_remove_attachmentPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_skin, ffi.Int32, - ffi.Pointer)>>('spine_skin_remove_attachment'); - late final _spine_skin_remove_attachment = _spine_skin_remove_attachmentPtr - .asFunction)>(); + late final _spine_skin_remove_attachmentPtr = + _lookup)>>('spine_skin_remove_attachment'); + late final _spine_skin_remove_attachment = + _spine_skin_remove_attachmentPtr.asFunction)>(); /// OMITTED findNamesForSlot() /// OMITTED findAttachmentsForSlot() @@ -6936,11 +5787,8 @@ class SpineFlutterBindings { ); } - 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)>(); + 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, @@ -6952,11 +5800,8 @@ class SpineFlutterBindings { ); } - late final _spine_skin_add_skinPtr = - _lookup>( - 'spine_skin_add_skin'); - late final _spine_skin_add_skin = _spine_skin_add_skinPtr - .asFunction(); + 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, @@ -6968,11 +5813,8 @@ class SpineFlutterBindings { ); } - late final _spine_skin_copy_skinPtr = - _lookup>( - 'spine_skin_copy_skin'); - late final _spine_skin_copy_skin = _spine_skin_copy_skinPtr - .asFunction(); + 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, @@ -6982,11 +5824,8 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_entriesPtr = - _lookup>( - 'spine_skin_get_entries'); - late final _spine_skin_get_entries = _spine_skin_get_entriesPtr - .asFunction(); + 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, @@ -6997,11 +5836,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_skin_entries_get_num_entries'); + 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, @@ -7013,12 +5849,10 @@ class SpineFlutterBindings { ); } - late final _spine_skin_entries_get_entryPtr = _lookup< - ffi.NativeFunction< - spine_skin_entry Function( - spine_skin_entries, ffi.Int32)>>('spine_skin_entries_get_entry'); - late final _spine_skin_entries_get_entry = _spine_skin_entries_get_entryPtr - .asFunction(); + 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(); void spine_skin_entries_dispose( spine_skin_entries entries, @@ -7029,10 +5863,8 @@ class SpineFlutterBindings { } late final _spine_skin_entries_disposePtr = - _lookup>( - 'spine_skin_entries_dispose'); - late final _spine_skin_entries_dispose = _spine_skin_entries_disposePtr - .asFunction(); + _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, @@ -7043,11 +5875,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -7058,10 +5887,8 @@ class SpineFlutterBindings { } 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)>(); + _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, @@ -7072,11 +5899,9 @@ class SpineFlutterBindings { } late final _spine_skin_entry_get_attachmentPtr = - _lookup>( - 'spine_skin_entry_get_attachment'); + _lookup>('spine_skin_entry_get_attachment'); late final _spine_skin_entry_get_attachment = - _spine_skin_entry_get_attachmentPtr - .asFunction(); + _spine_skin_entry_get_attachmentPtr.asFunction(); int spine_skin_get_num_bones( spine_skin skin, @@ -7086,11 +5911,8 @@ class SpineFlutterBindings { ); } - 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(); + 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, @@ -7100,12 +5922,9 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer 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, @@ -7116,10 +5935,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -7129,12 +5946,10 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_constraintsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_skin)>>('spine_skin_get_constraints'); - late final _spine_skin_get_constraints = _spine_skin_get_constraintsPtr - .asFunction Function(spine_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 spine_skin_create( ffi.Pointer name, @@ -7144,11 +5959,8 @@ class SpineFlutterBindings { ); } - late final _spine_skin_createPtr = - _lookup)>>( - 'spine_skin_create'); - late final _spine_skin_create = _spine_skin_createPtr - .asFunction)>(); + 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, @@ -7158,11 +5970,8 @@ class SpineFlutterBindings { ); } - late final _spine_skin_disposePtr = - _lookup>( - 'spine_skin_dispose'); - late final _spine_skin_dispose = - _spine_skin_disposePtr.asFunction(); + 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, @@ -7173,11 +5982,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_constraint_data_get_type'); + late final _spine_constraint_data_get_type = _spine_constraint_data_get_typePtr.asFunction(); ffi.Pointer spine_constraint_data_get_name( spine_constraint_data data, @@ -7187,13 +5993,10 @@ class SpineFlutterBindings { ); } - late final _spine_constraint_data_get_namePtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_constraint_data)>>('spine_constraint_data_get_name'); + 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)>(); + _spine_constraint_data_get_namePtr.asFunction Function(spine_constraint_data)>(); int spine_constraint_data_get_order( spine_constraint_data data, @@ -7204,11 +6007,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_constraint_data_get_order'); + late final _spine_constraint_data_get_order = _spine_constraint_data_get_orderPtr.asFunction(); void spine_constraint_data_set_order( spine_constraint_data data, @@ -7220,13 +6020,9 @@ class SpineFlutterBindings { ); } - late final _spine_constraint_data_set_orderPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_constraint_data, - ffi.Uint64)>>('spine_constraint_data_set_order'); - late final _spine_constraint_data_set_order = - _spine_constraint_data_set_orderPtr - .asFunction(); + 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(); int spine_constraint_data_get_is_skin_required( spine_constraint_data data, @@ -7237,11 +6033,9 @@ class SpineFlutterBindings { } late final _spine_constraint_data_get_is_skin_requiredPtr = - _lookup>( - 'spine_constraint_data_get_is_skin_required'); + _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_requiredPtr.asFunction(); void spine_constraint_data_set_is_skin_required( spine_constraint_data data, @@ -7253,13 +6047,10 @@ class SpineFlutterBindings { ); } - late final _spine_constraint_data_set_is_skin_requiredPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_constraint_data, - ffi.Int32)>>('spine_constraint_data_set_is_skin_required'); + 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_requiredPtr.asFunction(); int spine_ik_constraint_data_get_num_bones( spine_ik_constraint_data data, @@ -7270,11 +6061,9 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_num_bonesPtr = - _lookup>( - 'spine_ik_constraint_data_get_num_bones'); + _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_bonesPtr.asFunction(); ffi.Pointer spine_ik_constraint_data_get_bones( spine_ik_constraint_data data, @@ -7284,13 +6073,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_get_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_ik_constraint_data)>>('spine_ik_constraint_data_get_bones'); + late final _spine_ik_constraint_data_get_bonesPtr = + _lookup Function(spine_ik_constraint_data)>>('spine_ik_constraint_data_get_bones'); late final _spine_ik_constraint_data_get_bones = - _spine_ik_constraint_data_get_bonesPtr.asFunction< - ffi.Pointer Function(spine_ik_constraint_data)>(); + _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, @@ -7300,13 +6086,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_get_targetPtr = _lookup< - ffi.NativeFunction< - spine_bone_data Function(spine_ik_constraint_data)>>( - 'spine_ik_constraint_data_get_target'); + 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_targetPtr.asFunction(); void spine_ik_constraint_data_set_target( spine_ik_constraint_data data, @@ -7318,13 +6101,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_targetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint_data, - spine_bone_data)>>('spine_ik_constraint_data_set_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< - void Function(spine_ik_constraint_data, spine_bone_data)>(); + _spine_ik_constraint_data_set_targetPtr.asFunction(); int spine_ik_constraint_data_get_bend_direction( spine_ik_constraint_data data, @@ -7335,11 +6115,9 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_bend_directionPtr = - _lookup>( - 'spine_ik_constraint_data_get_bend_direction'); + _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_directionPtr.asFunction(); void spine_ik_constraint_data_set_bend_direction( spine_ik_constraint_data data, @@ -7351,13 +6129,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_bend_directionPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint_data, - ffi.Int32)>>('spine_ik_constraint_data_set_bend_direction'); + 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_directionPtr.asFunction(); int spine_ik_constraint_data_get_compress( spine_ik_constraint_data data, @@ -7368,11 +6143,9 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_compressPtr = - _lookup>( - 'spine_ik_constraint_data_get_compress'); + _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_compressPtr.asFunction(); void spine_ik_constraint_data_set_compress( spine_ik_constraint_data data, @@ -7384,13 +6157,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_compressPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint_data, - ffi.Int32)>>('spine_ik_constraint_data_set_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_compressPtr.asFunction(); int spine_ik_constraint_data_get_stretch( spine_ik_constraint_data data, @@ -7401,11 +6171,9 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_stretchPtr = - _lookup>( - 'spine_ik_constraint_data_get_stretch'); + _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_stretchPtr.asFunction(); void spine_ik_constraint_data_set_stretch( spine_ik_constraint_data data, @@ -7417,13 +6185,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_stretchPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint_data, - ffi.Int32)>>('spine_ik_constraint_data_set_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_stretchPtr.asFunction(); int spine_ik_constraint_data_get_uniform( spine_ik_constraint_data data, @@ -7434,11 +6199,9 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_uniformPtr = - _lookup>( - 'spine_ik_constraint_data_get_uniform'); + _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_uniformPtr.asFunction(); void spine_ik_constraint_data_set_uniform( spine_ik_constraint_data data, @@ -7450,13 +6213,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_uniformPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint_data, - ffi.Int32)>>('spine_ik_constraint_data_set_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_uniformPtr.asFunction(); double spine_ik_constraint_data_get_mix( spine_ik_constraint_data data, @@ -7467,11 +6227,9 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_mixPtr = - _lookup>( - 'spine_ik_constraint_data_get_mix'); + _lookup>('spine_ik_constraint_data_get_mix'); late final _spine_ik_constraint_data_get_mix = - _spine_ik_constraint_data_get_mixPtr - .asFunction(); + _spine_ik_constraint_data_get_mixPtr.asFunction(); void spine_ik_constraint_data_set_mix( spine_ik_constraint_data data, @@ -7483,13 +6241,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_mixPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint_data, - ffi.Float)>>('spine_ik_constraint_data_set_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_mixPtr.asFunction(); double spine_ik_constraint_data_get_softness( spine_ik_constraint_data data, @@ -7500,11 +6255,9 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_softnessPtr = - _lookup>( - 'spine_ik_constraint_data_get_softness'); + _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_softnessPtr.asFunction(); void spine_ik_constraint_data_set_softness( spine_ik_constraint_data data, @@ -7516,13 +6269,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_softnessPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint_data, - ffi.Float)>>('spine_ik_constraint_data_set_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_softnessPtr.asFunction(); void spine_ik_constraint_update( spine_ik_constraint constraint, @@ -7533,10 +6283,8 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_updatePtr = - _lookup>( - 'spine_ik_constraint_update'); - late final _spine_ik_constraint_update = _spine_ik_constraint_updatePtr - .asFunction(); + _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, @@ -7547,10 +6295,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -7560,12 +6306,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_get_dataPtr = _lookup< - ffi.NativeFunction< - spine_ik_constraint_data Function( - spine_ik_constraint)>>('spine_ik_constraint_get_data'); - late final _spine_ik_constraint_get_data = _spine_ik_constraint_get_dataPtr - .asFunction(); + 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(); int spine_ik_constraint_get_num_bones( spine_ik_constraint constraint, @@ -7576,11 +6320,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_ik_constraint_get_num_bones'); + 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, @@ -7590,12 +6331,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_get_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer 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)>(); + 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_bone spine_ik_constraint_get_target( spine_ik_constraint constraint, @@ -7606,11 +6345,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -7622,13 +6358,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_targetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint, - spine_bone)>>('spine_ik_constraint_set_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(); + _spine_ik_constraint_set_targetPtr.asFunction(); int spine_ik_constraint_get_bend_direction( spine_ik_constraint constraint, @@ -7639,11 +6372,9 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_bend_directionPtr = - _lookup>( - 'spine_ik_constraint_get_bend_direction'); + _lookup>('spine_ik_constraint_get_bend_direction'); late final _spine_ik_constraint_get_bend_direction = - _spine_ik_constraint_get_bend_directionPtr - .asFunction(); + _spine_ik_constraint_get_bend_directionPtr.asFunction(); void spine_ik_constraint_set_bend_direction( spine_ik_constraint constraint, @@ -7655,13 +6386,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_bend_directionPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint, - ffi.Int32)>>('spine_ik_constraint_set_bend_direction'); + 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_directionPtr.asFunction(); int spine_ik_constraint_get_compress( spine_ik_constraint constraint, @@ -7672,11 +6400,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_ik_constraint_get_compress'); + late final _spine_ik_constraint_get_compress = _spine_ik_constraint_get_compressPtr.asFunction(); void spine_ik_constraint_set_compress( spine_ik_constraint constraint, @@ -7688,13 +6413,9 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_compressPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint, - ffi.Int32)>>('spine_ik_constraint_set_compress'); - late final _spine_ik_constraint_set_compress = - _spine_ik_constraint_set_compressPtr - .asFunction(); + 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(); int spine_ik_constraint_get_stretch( spine_ik_constraint constraint, @@ -7705,11 +6426,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_ik_constraint_get_stretch'); + late final _spine_ik_constraint_get_stretch = _spine_ik_constraint_get_stretchPtr.asFunction(); void spine_ik_constraint_set_stretch( spine_ik_constraint constraint, @@ -7721,13 +6439,9 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_stretchPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint, - ffi.Int32)>>('spine_ik_constraint_set_stretch'); - late final _spine_ik_constraint_set_stretch = - _spine_ik_constraint_set_stretchPtr - .asFunction(); + 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(); double spine_ik_constraint_get_mix( spine_ik_constraint constraint, @@ -7738,10 +6452,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -7753,12 +6465,9 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_mixPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - spine_ik_constraint, ffi.Float)>>('spine_ik_constraint_set_mix'); - late final _spine_ik_constraint_set_mix = _spine_ik_constraint_set_mixPtr - .asFunction(); + 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(); double spine_ik_constraint_get_softness( spine_ik_constraint constraint, @@ -7769,11 +6478,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_ik_constraint_get_softness'); + late final _spine_ik_constraint_get_softness = _spine_ik_constraint_get_softnessPtr.asFunction(); void spine_ik_constraint_set_softness( spine_ik_constraint constraint, @@ -7785,13 +6491,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_softnessPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint, - ffi.Float)>>('spine_ik_constraint_set_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_softnessPtr.asFunction(); int spine_ik_constraint_get_is_active( spine_ik_constraint constraint, @@ -7802,11 +6505,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_ik_constraint_get_is_active'); + 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, @@ -7818,13 +6518,10 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_is_activePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_ik_constraint, - ffi.Int32)>>('spine_ik_constraint_set_is_active'); + 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_activePtr.asFunction(); int spine_transform_constraint_data_get_num_bones( spine_transform_constraint_data data, @@ -7834,13 +6531,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_num_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_num_bones'); + 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_bonesPtr.asFunction(); ffi.Pointer spine_transform_constraint_data_get_bones( spine_transform_constraint_data data, @@ -7850,15 +6544,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_bones'); + late final _spine_transform_constraint_data_get_bonesPtr = + _lookup Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_bones'); late final _spine_transform_constraint_data_get_bones = - _spine_transform_constraint_data_get_bonesPtr.asFunction< - ffi.Pointer Function( - spine_transform_constraint_data)>(); + _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, @@ -7868,13 +6558,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_targetPtr = _lookup< - ffi.NativeFunction< - spine_bone_data Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_target'); + late final _spine_transform_constraint_data_get_targetPtr = + _lookup>('spine_transform_constraint_data_get_target'); late final _spine_transform_constraint_data_get_target = - _spine_transform_constraint_data_get_targetPtr.asFunction< - spine_bone_data Function(spine_transform_constraint_data)>(); + _spine_transform_constraint_data_get_targetPtr.asFunction(); void spine_transform_constraint_data_set_target( spine_transform_constraint_data data, @@ -7886,13 +6573,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_targetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - spine_bone_data)>>('spine_transform_constraint_data_set_target'); + late final _spine_transform_constraint_data_set_targetPtr = + _lookup>( + 'spine_transform_constraint_data_set_target'); late final _spine_transform_constraint_data_set_target = - _spine_transform_constraint_data_set_targetPtr.asFunction< - void Function(spine_transform_constraint_data, spine_bone_data)>(); + _spine_transform_constraint_data_set_targetPtr.asFunction(); double spine_transform_constraint_data_get_mix_rotate( spine_transform_constraint_data data, @@ -7902,13 +6587,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_rotatePtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_mix_rotate'); + 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_rotatePtr.asFunction(); void spine_transform_constraint_data_set_mix_rotate( spine_transform_constraint_data data, @@ -7920,13 +6602,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_rotatePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Float)>>('spine_transform_constraint_data_set_mix_rotate'); + late final _spine_transform_constraint_data_set_mix_rotatePtr = + _lookup>( + 'spine_transform_constraint_data_set_mix_rotate'); late final _spine_transform_constraint_data_set_mix_rotate = - _spine_transform_constraint_data_set_mix_rotatePtr - .asFunction(); + _spine_transform_constraint_data_set_mix_rotatePtr.asFunction(); double spine_transform_constraint_data_get_mix_x( spine_transform_constraint_data data, @@ -7936,13 +6616,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_xPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_mix_x'); + 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_xPtr.asFunction(); void spine_transform_constraint_data_set_mix_x( spine_transform_constraint_data data, @@ -7954,13 +6631,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Float)>>('spine_transform_constraint_data_set_mix_x'); + late final _spine_transform_constraint_data_set_mix_xPtr = + _lookup>( + 'spine_transform_constraint_data_set_mix_x'); late final _spine_transform_constraint_data_set_mix_x = - _spine_transform_constraint_data_set_mix_xPtr - .asFunction(); + _spine_transform_constraint_data_set_mix_xPtr.asFunction(); double spine_transform_constraint_data_get_mix_y( spine_transform_constraint_data data, @@ -7970,13 +6645,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_yPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_mix_y'); + 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_yPtr.asFunction(); void spine_transform_constraint_data_set_mix_y( spine_transform_constraint_data data, @@ -7988,13 +6660,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Float)>>('spine_transform_constraint_data_set_mix_y'); + late final _spine_transform_constraint_data_set_mix_yPtr = + _lookup>( + 'spine_transform_constraint_data_set_mix_y'); late final _spine_transform_constraint_data_set_mix_y = - _spine_transform_constraint_data_set_mix_yPtr - .asFunction(); + _spine_transform_constraint_data_set_mix_yPtr.asFunction(); double spine_transform_constraint_data_get_mix_scale_x( spine_transform_constraint_data data, @@ -8004,13 +6674,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_scale_xPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_mix_scale_x'); + late final _spine_transform_constraint_data_get_mix_scale_xPtr = + _lookup>('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(); + _spine_transform_constraint_data_get_mix_scale_xPtr.asFunction(); void spine_transform_constraint_data_set_mix_scale_x( spine_transform_constraint_data data, @@ -8022,13 +6689,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_scale_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Float)>>('spine_transform_constraint_data_set_mix_scale_x'); + late final _spine_transform_constraint_data_set_mix_scale_xPtr = + _lookup>( + '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(); + _spine_transform_constraint_data_set_mix_scale_xPtr.asFunction(); double spine_transform_constraint_data_get_mix_scale_y( spine_transform_constraint_data data, @@ -8038,13 +6703,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_scale_yPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_mix_scale_y'); + late final _spine_transform_constraint_data_get_mix_scale_yPtr = + _lookup>('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(); + _spine_transform_constraint_data_get_mix_scale_yPtr.asFunction(); void spine_transform_constraint_data_set_mix_scale_y( spine_transform_constraint_data data, @@ -8056,13 +6718,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_scale_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Float)>>('spine_transform_constraint_data_set_mix_scale_y'); + late final _spine_transform_constraint_data_set_mix_scale_yPtr = + _lookup>( + '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(); + _spine_transform_constraint_data_set_mix_scale_yPtr.asFunction(); double spine_transform_constraint_data_get_mix_shear_y( spine_transform_constraint_data data, @@ -8072,13 +6732,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_shear_yPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_mix_shear_y'); + late final _spine_transform_constraint_data_get_mix_shear_yPtr = + _lookup>('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(); + _spine_transform_constraint_data_get_mix_shear_yPtr.asFunction(); void spine_transform_constraint_data_set_mix_shear_y( spine_transform_constraint_data data, @@ -8090,13 +6747,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_shear_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Float)>>('spine_transform_constraint_data_set_mix_shear_y'); + late final _spine_transform_constraint_data_set_mix_shear_yPtr = + _lookup>( + '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(); + _spine_transform_constraint_data_set_mix_shear_yPtr.asFunction(); double spine_transform_constraint_data_get_offset_rotation( spine_transform_constraint_data data, @@ -8106,13 +6761,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_rotationPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_offset_rotation'); + late final _spine_transform_constraint_data_get_offset_rotationPtr = + _lookup>( + 'spine_transform_constraint_data_get_offset_rotation'); late final _spine_transform_constraint_data_get_offset_rotation = - _spine_transform_constraint_data_get_offset_rotationPtr - .asFunction(); + _spine_transform_constraint_data_get_offset_rotationPtr.asFunction(); void spine_transform_constraint_data_set_offset_rotation( spine_transform_constraint_data data, @@ -8124,13 +6777,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_rotationPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>( - 'spine_transform_constraint_data_set_offset_rotation'); + late final _spine_transform_constraint_data_set_offset_rotationPtr = + _lookup>( + 'spine_transform_constraint_data_set_offset_rotation'); late final _spine_transform_constraint_data_set_offset_rotation = - _spine_transform_constraint_data_set_offset_rotationPtr - .asFunction(); + _spine_transform_constraint_data_set_offset_rotationPtr.asFunction(); double spine_transform_constraint_data_get_offset_x( spine_transform_constraint_data data, @@ -8140,13 +6791,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_xPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_offset_x'); + 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_xPtr.asFunction(); void spine_transform_constraint_data_set_offset_x( spine_transform_constraint_data data, @@ -8158,13 +6806,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Float)>>('spine_transform_constraint_data_set_offset_x'); + late final _spine_transform_constraint_data_set_offset_xPtr = + _lookup>( + 'spine_transform_constraint_data_set_offset_x'); late final _spine_transform_constraint_data_set_offset_x = - _spine_transform_constraint_data_set_offset_xPtr - .asFunction(); + _spine_transform_constraint_data_set_offset_xPtr.asFunction(); double spine_transform_constraint_data_get_offset_y( spine_transform_constraint_data data, @@ -8174,13 +6820,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_yPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_offset_y'); + 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_yPtr.asFunction(); void spine_transform_constraint_data_set_offset_y( spine_transform_constraint_data data, @@ -8192,13 +6835,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Float)>>('spine_transform_constraint_data_set_offset_y'); + late final _spine_transform_constraint_data_set_offset_yPtr = + _lookup>( + 'spine_transform_constraint_data_set_offset_y'); late final _spine_transform_constraint_data_set_offset_y = - _spine_transform_constraint_data_set_offset_yPtr - .asFunction(); + _spine_transform_constraint_data_set_offset_yPtr.asFunction(); double spine_transform_constraint_data_get_offset_scale_x( spine_transform_constraint_data data, @@ -8208,13 +6849,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_scale_xPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_offset_scale_x'); + late final _spine_transform_constraint_data_get_offset_scale_xPtr = + _lookup>( + '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(); + _spine_transform_constraint_data_get_offset_scale_xPtr.asFunction(); void spine_transform_constraint_data_set_offset_scale_x( spine_transform_constraint_data data, @@ -8226,13 +6865,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_scale_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>( - 'spine_transform_constraint_data_set_offset_scale_x'); + late final _spine_transform_constraint_data_set_offset_scale_xPtr = + _lookup>( + '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(); + _spine_transform_constraint_data_set_offset_scale_xPtr.asFunction(); double spine_transform_constraint_data_get_offset_scale_y( spine_transform_constraint_data data, @@ -8242,13 +6879,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_scale_yPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_offset_scale_y'); + late final _spine_transform_constraint_data_get_offset_scale_yPtr = + _lookup>( + '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(); + _spine_transform_constraint_data_get_offset_scale_yPtr.asFunction(); void spine_transform_constraint_data_set_offset_scale_y( spine_transform_constraint_data data, @@ -8260,13 +6895,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_scale_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>( - 'spine_transform_constraint_data_set_offset_scale_y'); + late final _spine_transform_constraint_data_set_offset_scale_yPtr = + _lookup>( + '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(); + _spine_transform_constraint_data_set_offset_scale_yPtr.asFunction(); double spine_transform_constraint_data_get_offset_shear_y( spine_transform_constraint_data data, @@ -8276,13 +6909,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_shear_yPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_offset_shear_y'); + late final _spine_transform_constraint_data_get_offset_shear_yPtr = + _lookup>( + '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(); + _spine_transform_constraint_data_get_offset_shear_yPtr.asFunction(); void spine_transform_constraint_data_set_offset_shear_y( spine_transform_constraint_data data, @@ -8294,13 +6925,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_shear_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>( - 'spine_transform_constraint_data_set_offset_shear_y'); + late final _spine_transform_constraint_data_set_offset_shear_yPtr = + _lookup>( + '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(); + _spine_transform_constraint_data_set_offset_shear_yPtr.asFunction(); int spine_transform_constraint_data_get_is_relative( spine_transform_constraint_data data, @@ -8310,13 +6939,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_is_relativePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_is_relative'); + 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_relativePtr.asFunction(); void spine_transform_constraint_data_set_is_relative( spine_transform_constraint_data data, @@ -8328,13 +6954,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_is_relativePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Int32)>>('spine_transform_constraint_data_set_is_relative'); + late final _spine_transform_constraint_data_set_is_relativePtr = + _lookup>( + 'spine_transform_constraint_data_set_is_relative'); late final _spine_transform_constraint_data_set_is_relative = - _spine_transform_constraint_data_set_is_relativePtr - .asFunction(); + _spine_transform_constraint_data_set_is_relativePtr.asFunction(); int spine_transform_constraint_data_get_is_local( spine_transform_constraint_data data, @@ -8344,13 +6968,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_is_localPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_is_local'); + 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_localPtr.asFunction(); void spine_transform_constraint_data_set_is_local( spine_transform_constraint_data data, @@ -8362,13 +6983,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_is_localPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint_data, - ffi.Int32)>>('spine_transform_constraint_data_set_is_local'); + late final _spine_transform_constraint_data_set_is_localPtr = + _lookup>( + 'spine_transform_constraint_data_set_is_local'); late final _spine_transform_constraint_data_set_is_local = - _spine_transform_constraint_data_set_is_localPtr - .asFunction(); + _spine_transform_constraint_data_set_is_localPtr.asFunction(); void spine_transform_constraint_update( spine_transform_constraint constraint, @@ -8378,12 +6997,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_updatePtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_update'); + late final _spine_transform_constraint_updatePtr = + _lookup>('spine_transform_constraint_update'); late final _spine_transform_constraint_update = - _spine_transform_constraint_updatePtr - .asFunction(); + _spine_transform_constraint_updatePtr.asFunction(); int spine_transform_constraint_get_order( spine_transform_constraint constraint, @@ -8393,12 +7010,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_orderPtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_order'); + 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_orderPtr.asFunction(); spine_transform_constraint_data spine_transform_constraint_get_data( spine_transform_constraint constraint, @@ -8408,15 +7023,11 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_dataPtr = _lookup< - ffi.NativeFunction< - spine_transform_constraint_data Function( - spine_transform_constraint)>>( - 'spine_transform_constraint_get_data'); + late final _spine_transform_constraint_get_dataPtr = + _lookup>( + 'spine_transform_constraint_get_data'); late final _spine_transform_constraint_get_data = - _spine_transform_constraint_get_dataPtr.asFunction< - spine_transform_constraint_data Function( - spine_transform_constraint)>(); + _spine_transform_constraint_get_dataPtr.asFunction(); int spine_transform_constraint_get_num_bones( spine_transform_constraint constraint, @@ -8426,12 +7037,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_num_bonesPtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_num_bones'); + 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_bonesPtr.asFunction(); ffi.Pointer spine_transform_constraint_get_bones( spine_transform_constraint constraint, @@ -8441,13 +7050,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(spine_transform_constraint)>>( - 'spine_transform_constraint_get_bones'); + late final _spine_transform_constraint_get_bonesPtr = + _lookup Function(spine_transform_constraint)>>('spine_transform_constraint_get_bones'); late final _spine_transform_constraint_get_bones = - _spine_transform_constraint_get_bonesPtr.asFunction< - ffi.Pointer Function(spine_transform_constraint)>(); + _spine_transform_constraint_get_bonesPtr.asFunction Function(spine_transform_constraint)>(); spine_bone spine_transform_constraint_get_target( spine_transform_constraint constraint, @@ -8457,12 +7063,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_targetPtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_target'); + 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_targetPtr.asFunction(); void spine_transform_constraint_set_target( spine_transform_constraint constraint, @@ -8474,13 +7078,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_targetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint, - spine_bone)>>('spine_transform_constraint_set_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_targetPtr.asFunction(); double spine_transform_constraint_get_mix_rotate( spine_transform_constraint constraint, @@ -8490,12 +7091,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_rotatePtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_mix_rotate'); + 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_rotatePtr.asFunction(); void spine_transform_constraint_set_mix_rotate( spine_transform_constraint constraint, @@ -8507,13 +7106,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_rotatePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint, - ffi.Float)>>('spine_transform_constraint_set_mix_rotate'); + 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_rotatePtr.asFunction(); double spine_transform_constraint_get_mix_x( spine_transform_constraint constraint, @@ -8523,12 +7119,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_xPtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_mix_x'); + 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_xPtr.asFunction(); void spine_transform_constraint_set_mix_x( spine_transform_constraint constraint, @@ -8540,13 +7134,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint, - ffi.Float)>>('spine_transform_constraint_set_mix_x'); + 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_xPtr.asFunction(); double spine_transform_constraint_get_mix_y( spine_transform_constraint constraint, @@ -8556,12 +7147,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_yPtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_mix_y'); + 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_yPtr.asFunction(); void spine_transform_constraint_set_mix_y( spine_transform_constraint constraint, @@ -8573,13 +7162,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint, - ffi.Float)>>('spine_transform_constraint_set_mix_y'); + 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_yPtr.asFunction(); double spine_transform_constraint_get_mix_scale_x( spine_transform_constraint constraint, @@ -8589,12 +7175,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_scale_xPtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_mix_scale_x'); + 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_xPtr.asFunction(); void spine_transform_constraint_set_mix_scale_x( spine_transform_constraint constraint, @@ -8606,13 +7190,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_scale_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint, - ffi.Float)>>('spine_transform_constraint_set_mix_scale_x'); + 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_xPtr.asFunction(); double spine_transform_constraint_get_mix_scale_y( spine_transform_constraint constraint, @@ -8622,12 +7203,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_scale_yPtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_mix_scale_y'); + 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_yPtr.asFunction(); void spine_transform_constraint_set_mix_scale_y( spine_transform_constraint constraint, @@ -8639,13 +7218,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_scale_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint, - ffi.Float)>>('spine_transform_constraint_set_mix_scale_y'); + 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_yPtr.asFunction(); double spine_transform_constraint_get_mix_shear_y( spine_transform_constraint constraint, @@ -8655,12 +7231,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_shear_yPtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_mix_shear_y'); + 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_yPtr.asFunction(); void spine_transform_constraint_set_mix_shear_y( spine_transform_constraint constraint, @@ -8672,13 +7246,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_shear_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint, - ffi.Float)>>('spine_transform_constraint_set_mix_shear_y'); + 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_yPtr.asFunction(); double spine_transform_constraint_get_is_active( spine_transform_constraint constraint, @@ -8688,12 +7259,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_is_activePtr = _lookup< - ffi.NativeFunction>( - 'spine_transform_constraint_get_is_active'); + 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_activePtr.asFunction(); void spine_transform_constraint_set_is_active( spine_transform_constraint constraint, @@ -8705,13 +7274,10 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_is_activePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_transform_constraint, - ffi.Int32)>>('spine_transform_constraint_set_is_active'); + 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_activePtr.asFunction(); int spine_path_constraint_data_get_num_bones( spine_path_constraint_data data, @@ -8721,12 +7287,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_num_bonesPtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_num_bones'); + 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_bonesPtr.asFunction(); ffi.Pointer spine_path_constraint_data_get_bones( spine_path_constraint_data data, @@ -8736,14 +7300,11 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_path_constraint_data)>>( - 'spine_path_constraint_data_get_bones'); + late final _spine_path_constraint_data_get_bonesPtr = + _lookup Function(spine_path_constraint_data)>>( + 'spine_path_constraint_data_get_bones'); late final _spine_path_constraint_data_get_bones = - _spine_path_constraint_data_get_bonesPtr.asFunction< - ffi.Pointer Function(spine_path_constraint_data)>(); + _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, @@ -8753,13 +7314,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_targetPtr = _lookup< - ffi.NativeFunction< - spine_slot_data Function(spine_path_constraint_data)>>( - 'spine_path_constraint_data_get_target'); + 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_targetPtr.asFunction(); void spine_path_constraint_data_set_target( spine_path_constraint_data data, @@ -8771,13 +7329,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_targetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - spine_slot_data)>>('spine_path_constraint_data_set_target'); + late final _spine_path_constraint_data_set_targetPtr = + _lookup>('spine_path_constraint_data_set_target'); late final _spine_path_constraint_data_set_target = - _spine_path_constraint_data_set_targetPtr.asFunction< - void Function(spine_path_constraint_data, spine_slot_data)>(); + _spine_path_constraint_data_set_targetPtr.asFunction(); int spine_path_constraint_data_get_position_mode( spine_path_constraint_data data, @@ -8787,12 +7342,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_position_modePtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_position_mode'); + 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_modePtr.asFunction(); void spine_path_constraint_data_set_position_mode( spine_path_constraint_data data, @@ -8804,13 +7357,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_position_modePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - ffi.Int32)>>('spine_path_constraint_data_set_position_mode'); + 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_modePtr.asFunction(); int spine_path_constraint_data_get_spacing_mode( spine_path_constraint_data data, @@ -8820,12 +7370,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_spacing_modePtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_spacing_mode'); + 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_modePtr.asFunction(); void spine_path_constraint_data_set_spacing_mode( spine_path_constraint_data data, @@ -8837,13 +7385,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_spacing_modePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - ffi.Int32)>>('spine_path_constraint_data_set_spacing_mode'); + 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_modePtr.asFunction(); int spine_path_constraint_data_get_rotate_mode( spine_path_constraint_data data, @@ -8853,12 +7398,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_rotate_modePtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_rotate_mode'); + 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_modePtr.asFunction(); void spine_path_constraint_data_set_rotate_mode( spine_path_constraint_data data, @@ -8870,13 +7413,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_rotate_modePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - ffi.Int32)>>('spine_path_constraint_data_set_rotate_mode'); + 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_modePtr.asFunction(); double spine_path_constraint_data_get_offset_rotation( spine_path_constraint_data data, @@ -8886,12 +7426,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_offset_rotationPtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_offset_rotation'); + 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_rotationPtr.asFunction(); void spine_path_constraint_data_set_offset_rotation( spine_path_constraint_data data, @@ -8903,13 +7441,11 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_offset_rotationPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - ffi.Float)>>('spine_path_constraint_data_set_offset_rotation'); + late final _spine_path_constraint_data_set_offset_rotationPtr = + _lookup>( + 'spine_path_constraint_data_set_offset_rotation'); late final _spine_path_constraint_data_set_offset_rotation = - _spine_path_constraint_data_set_offset_rotationPtr - .asFunction(); + _spine_path_constraint_data_set_offset_rotationPtr.asFunction(); double spine_path_constraint_data_get_position( spine_path_constraint_data data, @@ -8919,12 +7455,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_positionPtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_position'); + 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_positionPtr.asFunction(); void spine_path_constraint_data_set_position( spine_path_constraint_data data, @@ -8936,13 +7470,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_positionPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - ffi.Float)>>('spine_path_constraint_data_set_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_positionPtr.asFunction(); double spine_path_constraint_data_get_spacing( spine_path_constraint_data data, @@ -8952,12 +7483,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_spacingPtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_spacing'); + 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_spacingPtr.asFunction(); void spine_path_constraint_data_set_spacing( spine_path_constraint_data data, @@ -8969,13 +7498,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_spacingPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - ffi.Float)>>('spine_path_constraint_data_set_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_spacingPtr.asFunction(); double spine_path_constraint_data_get_mix_rotate( spine_path_constraint_data data, @@ -8985,12 +7511,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_mix_rotatePtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_mix_rotate'); + 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_rotatePtr.asFunction(); void spine_path_constraint_data_set_mix_rotate( spine_path_constraint_data data, @@ -9002,13 +7526,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_mix_rotatePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - ffi.Float)>>('spine_path_constraint_data_set_mix_rotate'); + 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_rotatePtr.asFunction(); double spine_path_constraint_data_get_mix_x( spine_path_constraint_data data, @@ -9018,12 +7539,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_mix_xPtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_mix_x'); + 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_xPtr.asFunction(); void spine_path_constraint_data_set_mix_x( spine_path_constraint_data data, @@ -9035,13 +7554,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_mix_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - ffi.Float)>>('spine_path_constraint_data_set_mix_x'); + 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_xPtr.asFunction(); double spine_path_constraint_data_get_mix_y( spine_path_constraint_data data, @@ -9051,12 +7567,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_mix_yPtr = _lookup< - ffi.NativeFunction>( - 'spine_path_constraint_data_get_mix_y'); + 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_yPtr.asFunction(); void spine_path_constraint_data_set_mix_y( spine_path_constraint_data data, @@ -9068,13 +7582,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_mix_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint_data, - ffi.Float)>>('spine_path_constraint_data_set_mix_y'); + 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_yPtr.asFunction(); void spine_path_constraint_update( spine_path_constraint constraint, @@ -9085,10 +7596,8 @@ class SpineFlutterBindings { } late final _spine_path_constraint_updatePtr = - _lookup>( - 'spine_path_constraint_update'); - late final _spine_path_constraint_update = _spine_path_constraint_updatePtr - .asFunction(); + _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, @@ -9099,11 +7608,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_path_constraint_get_order'); + 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, @@ -9113,13 +7619,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_get_dataPtr = _lookup< - ffi.NativeFunction< - spine_path_constraint_data Function( - spine_path_constraint)>>('spine_path_constraint_get_data'); + 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_data Function(spine_path_constraint)>(); + _spine_path_constraint_get_dataPtr.asFunction(); int spine_path_constraint_get_num_bones( spine_path_constraint constraint, @@ -9130,11 +7633,9 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_num_bonesPtr = - _lookup>( - 'spine_path_constraint_get_num_bones'); + _lookup>('spine_path_constraint_get_num_bones'); late final _spine_path_constraint_get_num_bones = - _spine_path_constraint_get_num_bonesPtr - .asFunction(); + _spine_path_constraint_get_num_bonesPtr.asFunction(); ffi.Pointer spine_path_constraint_get_bones( spine_path_constraint constraint, @@ -9144,13 +7645,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_get_bonesPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_path_constraint)>>('spine_path_constraint_get_bones'); + 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< - ffi.Pointer Function(spine_path_constraint)>(); + _spine_path_constraint_get_bonesPtr.asFunction Function(spine_path_constraint)>(); spine_slot spine_path_constraint_get_target( spine_path_constraint constraint, @@ -9161,11 +7659,9 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_targetPtr = - _lookup>( - 'spine_path_constraint_get_target'); + _lookup>('spine_path_constraint_get_target'); late final _spine_path_constraint_get_target = - _spine_path_constraint_get_targetPtr - .asFunction(); + _spine_path_constraint_get_targetPtr.asFunction(); void spine_path_constraint_set_target( spine_path_constraint constraint, @@ -9177,13 +7673,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_targetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint, - spine_slot)>>('spine_path_constraint_set_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_targetPtr.asFunction(); double spine_path_constraint_get_position( spine_path_constraint constraint, @@ -9194,11 +7687,9 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_positionPtr = - _lookup>( - 'spine_path_constraint_get_position'); + _lookup>('spine_path_constraint_get_position'); late final _spine_path_constraint_get_position = - _spine_path_constraint_get_positionPtr - .asFunction(); + _spine_path_constraint_get_positionPtr.asFunction(); void spine_path_constraint_set_position( spine_path_constraint constraint, @@ -9210,13 +7701,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_positionPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint, - ffi.Float)>>('spine_path_constraint_set_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_positionPtr.asFunction(); double spine_path_constraint_get_spacing( spine_path_constraint constraint, @@ -9227,11 +7715,9 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_spacingPtr = - _lookup>( - 'spine_path_constraint_get_spacing'); + _lookup>('spine_path_constraint_get_spacing'); late final _spine_path_constraint_get_spacing = - _spine_path_constraint_get_spacingPtr - .asFunction(); + _spine_path_constraint_get_spacingPtr.asFunction(); void spine_path_constraint_set_spacing( spine_path_constraint constraint, @@ -9243,13 +7729,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_spacingPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint, - ffi.Float)>>('spine_path_constraint_set_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_spacingPtr.asFunction(); double spine_path_constraint_get_mix_rotate( spine_path_constraint constraint, @@ -9260,11 +7743,9 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_mix_rotatePtr = - _lookup>( - 'spine_path_constraint_get_mix_rotate'); + _lookup>('spine_path_constraint_get_mix_rotate'); late final _spine_path_constraint_get_mix_rotate = - _spine_path_constraint_get_mix_rotatePtr - .asFunction(); + _spine_path_constraint_get_mix_rotatePtr.asFunction(); void spine_path_constraint_set_mix_rotate( spine_path_constraint constraint, @@ -9276,13 +7757,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_mix_rotatePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint, - ffi.Float)>>('spine_path_constraint_set_mix_rotate'); + 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_rotatePtr.asFunction(); double spine_path_constraint_get_mix_x( spine_path_constraint constraint, @@ -9293,11 +7771,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_path_constraint_get_mix_x'); + 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, @@ -9309,13 +7784,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_mix_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint, - ffi.Float)>>('spine_path_constraint_set_mix_x'); + 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_xPtr.asFunction(); double spine_path_constraint_get_mix_y( spine_path_constraint constraint, @@ -9326,11 +7798,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_path_constraint_get_mix_y'); + 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, @@ -9342,13 +7811,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_mix_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint, - ffi.Float)>>('spine_path_constraint_set_mix_y'); + 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_yPtr.asFunction(); int spine_path_constraint_get_is_active( spine_path_constraint constraint, @@ -9359,11 +7825,9 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_is_activePtr = - _lookup>( - 'spine_path_constraint_get_is_active'); + _lookup>('spine_path_constraint_get_is_active'); late final _spine_path_constraint_get_is_active = - _spine_path_constraint_get_is_activePtr - .asFunction(); + _spine_path_constraint_get_is_activePtr.asFunction(); void spine_path_constraint_set_is_active( spine_path_constraint constraint, @@ -9375,13 +7839,10 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_is_activePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_path_constraint, - ffi.Int32)>>('spine_path_constraint_set_is_active'); + 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_activePtr.asFunction(); /// OMITTED copy() void spine_sequence_apply( @@ -9396,12 +7857,9 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_applyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_sequence, spine_slot, - spine_attachment)>>('spine_sequence_apply'); - late final _spine_sequence_apply = _spine_sequence_applyPtr.asFunction< - void Function(spine_sequence, spine_slot, spine_attachment)>(); + late final _spine_sequence_applyPtr = + _lookup>('spine_sequence_apply'); + late final _spine_sequence_apply = _spine_sequence_applyPtr.asFunction(); ffi.Pointer spine_sequence_get_path( spine_sequence sequence, @@ -9415,12 +7873,10 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_pathPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(spine_sequence, ffi.Pointer, - ffi.Int32)>>('spine_sequence_get_path'); - late final _spine_sequence_get_path = _spine_sequence_get_pathPtr.asFunction< - ffi.Pointer Function(spine_sequence, ffi.Pointer, int)>(); + 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)>(); int spine_sequence_get_id( spine_sequence sequence, @@ -9430,11 +7886,8 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_idPtr = - _lookup>( - 'spine_sequence_get_id'); - late final _spine_sequence_get_id = - _spine_sequence_get_idPtr.asFunction(); + 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, @@ -9446,11 +7899,8 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_set_idPtr = - _lookup>( - 'spine_sequence_set_id'); - late final _spine_sequence_set_id = _spine_sequence_set_idPtr - .asFunction(); + 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, @@ -9460,11 +7910,8 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_startPtr = - _lookup>( - 'spine_sequence_get_start'); - late final _spine_sequence_get_start = - _spine_sequence_get_startPtr.asFunction(); + 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, @@ -9477,10 +7924,8 @@ class SpineFlutterBindings { } late final _spine_sequence_set_startPtr = - _lookup>( - 'spine_sequence_set_start'); - late final _spine_sequence_set_start = _spine_sequence_set_startPtr - .asFunction(); + _lookup>('spine_sequence_set_start'); + late final _spine_sequence_set_start = _spine_sequence_set_startPtr.asFunction(); int spine_sequence_get_digits( spine_sequence sequence, @@ -9490,11 +7935,8 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_digitsPtr = - _lookup>( - 'spine_sequence_get_digits'); - late final _spine_sequence_get_digits = - _spine_sequence_get_digitsPtr.asFunction(); + 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, @@ -9507,10 +7949,8 @@ class SpineFlutterBindings { } late final _spine_sequence_set_digitsPtr = - _lookup>( - 'spine_sequence_set_digits'); - late final _spine_sequence_set_digits = _spine_sequence_set_digitsPtr - .asFunction(); + _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, @@ -9521,11 +7961,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -9538,11 +7975,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_sequence_set_setup_index'); + late final _spine_sequence_set_setup_index = _spine_sequence_set_setup_indexPtr.asFunction(); int spine_sequence_get_num_regions( spine_sequence sequence, @@ -9553,11 +7987,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -9567,12 +7998,10 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_regionsPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_sequence)>>('spine_sequence_get_regions'); - late final _spine_sequence_get_regions = _spine_sequence_get_regionsPtr - .asFunction Function(spine_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)>(); ffi.Pointer spine_texture_region_get_texture( spine_texture_region textureRegion, @@ -9582,13 +8011,10 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_get_texturePtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - spine_texture_region)>>('spine_texture_region_get_texture'); + 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_texturePtr.asFunction Function(spine_texture_region)>(); void spine_texture_region_set_texture( spine_texture_region textureRegion, @@ -9600,13 +8026,10 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_texturePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_texture_region, - ffi.Pointer)>>('spine_texture_region_set_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< - void Function(spine_texture_region, ffi.Pointer)>(); + _spine_texture_region_set_texturePtr.asFunction)>(); double spine_texture_region_get_u( spine_texture_region textureRegion, @@ -9617,10 +8040,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -9632,12 +8053,9 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_uPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - spine_texture_region, ffi.Float)>>('spine_texture_region_set_u'); - late final _spine_texture_region_set_u = _spine_texture_region_set_uPtr - .asFunction(); + 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(); double spine_texture_region_get_v( spine_texture_region textureRegion, @@ -9648,10 +8066,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -9663,12 +8079,9 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_vPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - spine_texture_region, ffi.Float)>>('spine_texture_region_set_v'); - late final _spine_texture_region_set_v = _spine_texture_region_set_vPtr - .asFunction(); + 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(); double spine_texture_region_get_u2( spine_texture_region textureRegion, @@ -9679,10 +8092,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -9694,12 +8105,9 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_u2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - spine_texture_region, ffi.Float)>>('spine_texture_region_set_u2'); - late final _spine_texture_region_set_u2 = _spine_texture_region_set_u2Ptr - .asFunction(); + 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(); double spine_texture_region_get_v2( spine_texture_region textureRegion, @@ -9710,10 +8118,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -9725,12 +8131,9 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_v2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - spine_texture_region, ffi.Float)>>('spine_texture_region_set_v2'); - late final _spine_texture_region_set_v2 = _spine_texture_region_set_v2Ptr - .asFunction(); + 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(); int spine_texture_region_get_degrees( spine_texture_region textureRegion, @@ -9741,11 +8144,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_texture_region_get_degrees'); + late final _spine_texture_region_get_degrees = _spine_texture_region_get_degreesPtr.asFunction(); void spine_texture_region_set_degrees( spine_texture_region textureRegion, @@ -9757,13 +8157,10 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_degreesPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_texture_region, - ffi.Int32)>>('spine_texture_region_set_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_degreesPtr.asFunction(); double spine_texture_region_get_offset_x( spine_texture_region textureRegion, @@ -9774,11 +8171,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_texture_region_get_offset_x'); + 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, @@ -9790,13 +8184,10 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_offset_xPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_texture_region, - ffi.Float)>>('spine_texture_region_set_offset_x'); + 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_xPtr.asFunction(); double spine_texture_region_get_offset_y( spine_texture_region textureRegion, @@ -9807,11 +8198,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_texture_region_get_offset_y'); + 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, @@ -9823,13 +8211,10 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_offset_yPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_texture_region, - ffi.Float)>>('spine_texture_region_set_offset_y'); + 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_yPtr.asFunction(); int spine_texture_region_get_width( spine_texture_region textureRegion, @@ -9840,11 +8225,8 @@ class SpineFlutterBindings { } 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(); + _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, @@ -9856,13 +8238,9 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_widthPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_texture_region, - ffi.Int32)>>('spine_texture_region_set_width'); - late final _spine_texture_region_set_width = - _spine_texture_region_set_widthPtr - .asFunction(); + 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(); int spine_texture_region_get_height( spine_texture_region textureRegion, @@ -9873,11 +8251,8 @@ class SpineFlutterBindings { } 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(); + _lookup>('spine_texture_region_get_height'); + late final _spine_texture_region_get_height = _spine_texture_region_get_heightPtr.asFunction(); void spine_texture_region_set_height( spine_texture_region textureRegion, @@ -9889,13 +8264,9 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_heightPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_texture_region, - ffi.Int32)>>('spine_texture_region_set_height'); - late final _spine_texture_region_set_height = - _spine_texture_region_set_heightPtr - .asFunction(); + 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(); int spine_texture_region_get_original_width( spine_texture_region textureRegion, @@ -9906,11 +8277,9 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_original_widthPtr = - _lookup>( - 'spine_texture_region_get_original_width'); + _lookup>('spine_texture_region_get_original_width'); late final _spine_texture_region_get_original_width = - _spine_texture_region_get_original_widthPtr - .asFunction(); + _spine_texture_region_get_original_widthPtr.asFunction(); void spine_texture_region_set_original_width( spine_texture_region textureRegion, @@ -9922,13 +8291,10 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_original_widthPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_texture_region, - ffi.Int32)>>('spine_texture_region_set_original_width'); + 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_widthPtr.asFunction(); int spine_texture_region_get_original_height( spine_texture_region textureRegion, @@ -9939,11 +8305,9 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_original_heightPtr = - _lookup>( - 'spine_texture_region_get_original_height'); + _lookup>('spine_texture_region_get_original_height'); late final _spine_texture_region_get_original_height = - _spine_texture_region_get_original_heightPtr - .asFunction(); + _spine_texture_region_get_original_heightPtr.asFunction(); void spine_texture_region_set_original_height( spine_texture_region textureRegion, @@ -9955,13 +8319,10 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_original_heightPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(spine_texture_region, - ffi.Int32)>>('spine_texture_region_set_original_height'); + 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_heightPtr.asFunction(); } class spine_skeleton_wrapper extends ffi.Opaque {} @@ -10115,36 +8476,29 @@ typedef spine_bounds = ffi.Pointer; typedef spine_vector = ffi.Pointer; typedef spine_atlas = ffi.Pointer; typedef utf8 = ffi.Char; -typedef spine_skeleton_data_result - = ffi.Pointer; +typedef spine_skeleton_data_result = ffi.Pointer; typedef spine_skeleton_data = ffi.Pointer; typedef spine_bone_data = ffi.Pointer; typedef spine_slot_data = ffi.Pointer; typedef spine_skin = ffi.Pointer; typedef spine_event_data = ffi.Pointer; typedef spine_animation = ffi.Pointer; -typedef spine_ik_constraint_data - = ffi.Pointer; -typedef spine_transform_constraint_data - = ffi.Pointer; -typedef spine_path_constraint_data - = ffi.Pointer; +typedef spine_ik_constraint_data = ffi.Pointer; +typedef spine_transform_constraint_data = ffi.Pointer; +typedef spine_path_constraint_data = ffi.Pointer; typedef spine_skeleton_drawable = ffi.Pointer; typedef spine_render_command = ffi.Pointer; typedef spine_skeleton = ffi.Pointer; typedef spine_animation_state = ffi.Pointer; -typedef spine_animation_state_data - = ffi.Pointer; -typedef spine_animation_state_events - = ffi.Pointer; +typedef spine_animation_state_data = ffi.Pointer; +typedef spine_animation_state_events = ffi.Pointer; typedef spine_track_entry = ffi.Pointer; typedef spine_event = ffi.Pointer; typedef spine_bone = ffi.Pointer; typedef spine_slot = ffi.Pointer; typedef spine_attachment = ffi.Pointer; typedef spine_ik_constraint = ffi.Pointer; -typedef spine_transform_constraint - = ffi.Pointer; +typedef spine_transform_constraint = ffi.Pointer; typedef spine_path_constraint = ffi.Pointer; typedef spine_point_attachment = ffi.Pointer; typedef spine_region_attachment = ffi.Pointer; @@ -10152,10 +8506,8 @@ typedef spine_texture_region = ffi.Pointer; typedef spine_sequence = ffi.Pointer; typedef spine_vertex_attachment = ffi.Pointer; typedef spine_mesh_attachment = ffi.Pointer; -typedef spine_clipping_attachment - = ffi.Pointer; -typedef spine_bounding_box_attachment - = ffi.Pointer; +typedef spine_clipping_attachment = ffi.Pointer; +typedef spine_bounding_box_attachment = ffi.Pointer; typedef spine_path_attachment = ffi.Pointer; typedef spine_skin_entries = ffi.Pointer; typedef spine_skin_entry = ffi.Pointer; diff --git a/spine-flutter/lib/spine_widget.dart b/spine-flutter/lib/spine_widget.dart index bd3f2ea1c..70814286d 100644 --- a/spine-flutter/lib/spine_widget.dart +++ b/spine-flutter/lib/spine_widget.dart @@ -16,7 +16,8 @@ class SpineWidgetController { final void Function(SpineWidgetController controller, Canvas canvas)? onBeforePaint; final void Function(SpineWidgetController controller, Canvas canvas, List commands)? onAfterPaint; - 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) { if (_drawable != null) throw Exception("SpineWidgetController already initialized. A controller can only be used with one widget."); @@ -24,7 +25,7 @@ class SpineWidgetController { onInitialized?.call(this); } - Atlas get atlas { + Atlas get atlas { if (_drawable == null) throw Exception("Controller is not initialized yet."); return _drawable!.atlas; } @@ -46,7 +47,7 @@ class SpineWidgetController { Skeleton get skeleton { if (_drawable == null) throw Exception("Controller is not initialized yet."); - return _drawable!.skeleton; + return _drawable!.skeleton; } SkeletonDrawable get drawable { @@ -101,8 +102,8 @@ class SkinAndAnimationBounds extends BoundsProvider { final String? animation; final double stepTime; - SkinAndAnimationBounds({List? skins, this.animation, this.stepTime = 0.1}) : - skins = skins == null || skins.isEmpty? ["default"] : skins; + SkinAndAnimationBounds({List? skins, this.animation, this.stepTime = 0.1}) + : skins = skins == null || skins.isEmpty ? ["default"] : skins; @override Bounds computeBounds(SkeletonDrawable drawable) { @@ -169,7 +170,8 @@ class SpineWidget extends StatefulWidget { final BoundsProvider _boundsProvider; final bool _sizedByBounds; - SpineWidget.asset(this._skeletonFile, this._atlasFile, this._controller, {AssetBundle? bundle, BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) + SpineWidget.asset(this._skeletonFile, this._atlasFile, 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, @@ -178,7 +180,8 @@ class SpineWidget extends StatefulWidget { _drawable = null, _bundle = bundle ?? rootBundle; - const SpineWidget.file(this._skeletonFile, this._atlasFile, this._controller, {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) + const SpineWidget.file(this._skeletonFile, this._atlasFile, this._controller, + {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) : _assetType = AssetType.file, _bundle = null, _fit = fit ?? BoxFit.contain, @@ -187,7 +190,8 @@ class SpineWidget extends StatefulWidget { _sizedByBounds = sizedByBounds ?? false, _drawable = null; - const SpineWidget.http(this._skeletonFile, this._atlasFile, this._controller, {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) + const SpineWidget.http(this._skeletonFile, this._atlasFile, this._controller, + {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) : _assetType = AssetType.http, _bundle = null, _fit = fit ?? BoxFit.contain, @@ -196,7 +200,8 @@ class SpineWidget extends StatefulWidget { _sizedByBounds = sizedByBounds ?? false, _drawable = null; - const SpineWidget.drawable(this._drawable, this._controller, {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) + const SpineWidget.drawable(this._drawable, this._controller, + {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key}) : _assetType = AssetType.drawable, _bundle = null, _fit = fit ?? BoxFit.contain, @@ -250,7 +255,8 @@ class _SpineWidgetState extends State { @override Widget build(BuildContext context) { if (_drawable != null) { - return _SpineRenderObjectWidget(_drawable!, widget._controller, widget._fit, widget._alignment, _computedBounds, widget._sizedByBounds); + return _SpineRenderObjectWidget( + _drawable!, widget._controller, widget._fit, widget._alignment, _computedBounds, widget._sizedByBounds); } else { return const SizedBox(); } @@ -297,6 +303,7 @@ class _SpineRenderObject extends RenderBox { Alignment _alignment; Bounds _bounds; bool _sizedByBounds; + _SpineRenderObject(this._skeletonDrawable, this._controller, this._fit, this._alignment, this._bounds, this._sizedByBounds); set skeletonDrawable(SkeletonDrawable skeletonDrawable) { @@ -389,7 +396,9 @@ class _SpineRenderObject extends RenderBox { } Size _computeConstrainedSize(BoxConstraints constraints) { - return sizedByParent ? constraints.smallest : constraints.constrainSizeAndAttemptToPreserveAspectRatio(Size(_bounds.width, _bounds.height)); + return sizedByParent + ? constraints.smallest + : constraints.constrainSizeAndAttemptToPreserveAspectRatio(Size(_bounds.width, _bounds.height)); } @override