initSpineFlutterFFI function

Future<SpineFlutterFFI> initSpineFlutterFFI(
  1. bool useStaticLinkage
)

Implementation

Future<SpineFlutterFFI> initSpineFlutterFFI(bool useStaticLinkage) async {
  if (useStaticLinkage) {
    return SpineFlutterFFI(DynamicLibrary.process(), malloc);
  } else {
    return SpineFlutterFFI(_dylib, malloc);
  }
}