arkit_plugin_puftpalkim

A fork of arkit_plugin (source) 1.5.0, used by the PuftPalkim app.

The Dart API is unchanged from upstream arkit_plugin 1.5.0 — see the upstream README and API docs for usage.

Why this fork exists

The only change is in the iOS native implementation of ARKitMaterialProperty.video(...). Upstream builds the video material from a one-shot AVPlayer (via SKVideoNode(url:) / SKVideoNode(fileNamed:)), which has no native loop — looping it from Dart (remove/re-add the node, or toggle visibility) causes a visible stutter or a black-flash at every restart.

This fork builds the video material from an AVQueuePlayer paired with an AVPlayerLooper, which is Apple's own mechanism for gapless native looping. Looped video materials now loop with no visible seam.

This is packaged as an independent, renamed pub.flutter-io.cn package (rather than a dependency_overrides entry) because the consuming project is built with FlutterFlow, whose dependency model only supports adding a dependency by pub.flutter-io.cn package name + version — it has no field for a git/path source.

License

MIT, same as upstream. See LICENSE — original copyright notice preserved per the MIT license's terms.