flutter_litert 1.0.1 copy "flutter_litert: ^1.0.1" to clipboard
flutter_litert: ^1.0.1 copied to clipboard

LiteRT (formerly TensorFlow Lite) Flutter plugin. Drop-in on-device ML inference with bundled native libraries for all platforms.

1.0.1 #

  • Improve Custom Ops documentation

1.0.0 #

  • Upgrade Linux TFLite native library from 2.9.3 to 2.20.0 (built from source via CMake + Ninja + GCC x86_64)
  • First stable release:
    • All platforms are on updated 2.20.0 library files, official final stable release of TFLite
    • Pre-bundling works on all platforms: users no longer need to do bundle libs as was required with tflite_flutter
    • Custom ops supported - see face_detection_tflite v5.0.2 example directory for a working example (the binary segmentation model selfie_segmenter.tflite uses custom ops)
    • Web support (experimental) functional - see pose_detection v1.0.1 web_example directory for a working example

0.2.2 #

  • Update dependencies

0.2.1 #

  • Update documentation

0.2.0 #

  • Web support (experimental)

0.1.16 #

  • Register iOS pluginClass

0.1.15 #

  • Add missing null check in interpreter teardown path on macOS

0.1.14 #

  • Improve IsolateInterpreter shutdown reliability on iOS to prevent rare use-after-free when closing during active inference

0.1.13 #

  • Add Swift Package Manager (SPM) support for iOS and macOS

0.1.12 #

  • Upgrade Windows TFLite native library from 2.18.0 to 2.20.0 (built from source via CMake + Ninja + MSVC x64)

0.1.11 #

  • Fix iOS: download xcframeworks at pod install time so static linking works on first build

0.1.10 #

  • Fix macOS: bundle native libraries in pub package so flutter test works without manual setup

0.1.9 #

  • Fix iOS and macOS podspec compatibility with Ruby 3.4+ (Prism parser)

0.1.8 #

  • Upgrade iOS TensorFlow Lite from 2.17.0 (CocoaPods) to 2.20.0 (built from source via Bazel)
  • Replace CocoaPods TensorFlowLiteSwift dependency with vendored xcframeworks (TensorFlowLiteC, Metal delegate, CoreML delegate)
  • All xcframeworks support device arm64 + simulator arm64/x86_64 (Apple Silicon and Intel Macs)

0.1.7 #

  • Improved documentation

0.1.6 #

  • Upgrade macOS TFLite native library from 2.17.1 to 2.20.0 (latest stable, universal binary: arm64 + x86_64)
  • Update all C API headers to TFLite 2.20.0
  • Regenerate FFI bindings (TfLiteOperatorCreate now takes 4 params, TfLiteOperatorCreateWithData removed, new kTfLiteOutputShapeNotKnown status, new builtin ops)
  • Rebuild macOS custom ops dylib against 2.20.0

0.1.5 #

  • Upgrade macOS TFLite native library from 2.11.0 to 2.17.1 (universal binary: arm64 + x86_64)
  • Update all C API headers to TFLite 2.17.1 (including new TfLiteOperator API replacing TfLiteRegistrationExternal)
  • Regenerate FFI bindings with new APIs (SignatureRunner, TfLiteInterpreterCancel, and more)
  • Rebuild macOS custom ops dylib as universal binary (arm64 + x86_64)

0.1.4 #

  • Bundle libtensorflowlite_c-win.dll from flutter_litert Windows plugin instead of downstream packages

0.1.3 #

  • Fix Windows: build and bundle custom ops DLL (tflite_custom_ops.dll) for MediaPipe models
  • Fix heap corruption crash when switching between segmentation models (custom op name string was freed prematurely)

0.1.2 #

  • Fix Linux: build and bundle custom ops library (libtflite_custom_ops.so) so MediaPipe models with custom ops (e.g. selfie segmentation) work on Linux

0.1.1 #

  • Update AndroidManifest.xml

0.1.0 #

  • Fix IsolateInterpreter thread-safety bug causing intermittent native crashes when hardware delegates are active

0.0.1 #

  • Initial release, forked from tflite_flutter_custom v1.2.5
  • Rebranded to flutter_litert for LiteRT ecosystem
  • All native libraries bundled automatically
  • Custom ops support (MediaPipe models)
  • Full platform support: Android, iOS, macOS, Windows, Linux
4
likes
0
points
3.41k
downloads

Publisher

verified publisherhugocornellier.com

Weekly Downloads

LiteRT (formerly TensorFlow Lite) Flutter plugin. Drop-in on-device ML inference with bundled native libraries for all platforms.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, flutter, flutter_web_plugins, path, plugin_platform_interface, quiver, web

More

Packages that depend on flutter_litert

Packages that implement flutter_litert