NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #2528 most downloaded on pub.dev
LiteRT (formerly TensorFlow Lite) Flutter plugin. Drop-in on-device ML inference with bundled native libraries for supported native platforms and web runtimes.
Latest stable
4.1.1
Last release 5 days ago
11 Nov 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 months old
93 releases · first in 2026
Drag across the ruler to compare, or tap a release to open it.
Add IsolateWorkerBase for shared isolate lifecycle management
IsolateWorkerBase for shared isolate lifecycle managementRoundRobinPool generic round-robin pool utilityTensorType enum, LandmarkMixin, listUtils shared helpersnms()DelegateLibraryLoaderall_unsupported.dart, version.dart, flutter_litert_method_channel.dart, flutter_litert_platform_interface.dartModel buffer leak, delegate options leak, stale tensor cacheTensorFlow Lite Flex delegate (SELECT_TF_OPS) native libraries, built from TensorFlow v2.21.0 (commit a481b10260dfdf833a1b16007eead49c1d7febf3) with t
TensorFlow Lite Flex delegate (SELECT_TF_OPS) native libraries, built from TensorFlow v2.21.0 (commit a481b10260dfdf833a1b16007eead49c1d7febf3) with the same C wrapper as flex-v1.0.0 (tflite_plugin_create_delegate, tflite_plugin_destroy_delegate).
Used by flutter_litert_flex 2.1.0. The older flex-v1.0.0, flex-v1.1.0 and flex-v1.1.1 assets (TensorFlow v2.20.0) are unchanged.
| File | Platform | Size (bytes) | SHA-256 |
|---|---|---|---|
TensorFlowLiteFlex-ios.xcframework.zip |
iOS arm64 device + arm64 simulator, framework xcframework (CocoaPods) | 501069524 | 109b3b7857f3d692eabe6f9543f5c93a66add382e2f33d69ad4a0623ee246565 |
TensorFlowLiteFlex-spm.xcframework.zip |
iOS arm64 device + arm64 simulator, static-library xcframework (Swift Package Manager) | 482741903 | 14ac2a696c0e618d46c5176d15488d3bc350a1d238f87fe9764eeea6160e5365 |
libtensorflowlite_flex-mac.dylib |
macOS arm64, minimum macOS 12.0 | 132008944 | cbff725f8da03638e2c4d2b8dbb169cb7fd147e09f34309f9b3c4ad90e7df925 |
flutter_litert_flex-macos-spm.xcframework.zip |
macOS arm64, the dylib above wrapped for Swift Package Manager | 41511749 | 4191066d79b2a13155fa21b155aebe640d0b3fe0156b0bda62a7195a0cb5085d |
The iOS device slice is built for a minimum of iOS 12.0 and the simulator slice for iOS 14.0. flutter_litert 4.x itself requires iOS 15.0.
The SPM iOS xcframework is the CocoaPods one after scripts/preprocess_flex_xcframework.sh of flutter_litert_flex (duplicate objects removed, objects that need WebP, ICU or protobuf compiler symbols removed, XNNPack delegate objects removed because TensorFlowLiteC provides them), repackaged as libTensorFlowLiteFlex.a per slice.
Built by the build-flex-ios.yml (run 42679364622) and build-flex-macos.yml (run 42641596346) workflows of this repository.
Linux and Windows libraries built from TensorFlow v2.21.0 are included: libtensorflowlite_flex-linux.so (Linux x86_64, glibc 2.27 or newer, 367819776 bytes, SHA-256 c87a71ea0f82c43c422e2e9fbf77831e3deded7abdb1a3d8604a8e05f3b4dabd, built by run 42672517563) and libtensorflowlite_flex-win.dll (Windows x64, built with clang-cl, 240036352 bytes, SHA-256 718053040d2561bd35f8e1eed8db0b14ad5d233a9245069137c0238a997a9b28, built by run 42672517718).
Your coding agent can read these notes before it upgrades. Set up the MCP server →
One column per month.
LiteRT iOS xcframeworks for the CompiledModel API, framework-wrapped, for both channels: litert-ios-frameworks.zip for CocoaPods and the two -spm zips for SwiftPM (the same binaries).
Both have a minimum iOS of 15.0, so flutter_litert 4.0.0 requires iOS 15.0. Used by flutter_litert >= 4.0.0; earlier versions keep using litert-ios-v1.0.0 and litert-ios-v1.0.1.
SHA-256 checksums are in SHA256SUMS; Package.swift pins the two -spm zips.
Breaking: Point.x and Point.y changed from int to double.
Point to double-precision with optional z depth, ==/hashCode, toMap()/fromMap(), is3DBoundingBox class (4-corner Point-based, supports rotated boxes)
BoundingBox.ltrb() factory for axis-aligned boxesleft/top/right/bottom convenience getterswidth, height, center, corners computed propertiestoMap()/fromMap() serializationFix tensor cache bug, add shared Point class, dedup internals
Add NaN handling to clamp01(), returns 0.0 for NaN inputs
clamp01(), returns 0.0 for NaN inputsAdd IsolateRpcClient and setupIsolateHandshake for reusable isolate request/response communication
IsolateRpcClient and setupIsolateHandshake for reusable isolate request/response communicationAdd shared ML utility functions
sigmoid, sigmoidClipped, clip, clamp01, argSortDesc, median, normalizeRadians (math utilities)iouXYXY, nms (non-maximum suppression)computeLetterboxParams, computeAspectPadParams, LetterboxParams, AspectPadParams (image preprocessing)bgrBytesToRgbFloat32, bgrBytesToSignedFloat32, fillNHWC4DFromBgrBytes (image-to-tensor conversion)allocTensorShape, createOutputBuffers, zeroOutputBuffers, createNHWCTensor4D, fillNHWC4D, flattenDynamicTensor (tensor allocation)decodeDetectionOutputs, transpose2D, concat0, ensure2D, xywhToXyxy (model output decoding)postProcessDetections, Detection, decodeAndSplitOutputs (end-to-end detection post-processing with NMS)Fix package layout to follow Pub conventions
Add PerformanceConfig and PerformanceMode,
PerformanceConfig and PerformanceMode,InterpreterFactory and InterpreterPoolgenerateAnchors() and SSDAnchorOptionsscaleFromLetterbox() utility for letterbox-to-original coordinate mappingAdd SignatureRunner for on-device training workflows (train, infer, get_weights, set_weights signatures)
SignatureRunner for on-device training workflows (train, infer, get_weights, set_weights signatures)flutter_litert_flex (Linux x86_64, built from TF 2.20.0 source). All three desktop platforms (macOS, Windows, Linux) now fully support on-device training with SELECT_TF_OPS models and checkpoint save/restore.Interpreter.signatureCount, signatureKeys, getSignatureKey(), getSignatureRunner()SignatureRunner.cancel(), getInputTensors(), getOutputTensors(), lastNativeInferenceDurationMicroSecondsAdd native dylibs to SPM Package.swift
Improve Custom Ops documentation
Upgrade Linux TFLite native library from 2.9.3 to 2.20.0 (built from source via CMake + Ninja + GCC x86_64)
tflite_flutterexample directory for a working example (the binary segmentation model selfie_segmenter.tflite uses custom ops)web_example directory for a working example* Update dependencies
* Update documentation
* Web support (experimental)
* Register iOS pluginClass
Add missing null check in interpreter teardown path on macOS
Improve IsolateInterpreter shutdown reliability on iOS to prevent rare use-after-free when closing during active inference
Add Swift Package Manager (SPM) support for iOS and macOS
Upgrade Windows TFLite native library from 2.18.0 to 2.20.0 (built from source via CMake + Ninja + MSVC x64)
Fix iOS: download xcframeworks at pod install time so static linking works on first build
Fix macOS: bundle native libraries in pub package so flutter test works without manual setup
flutter test works without manual setupFix iOS and macOS podspec compatibility with Ruby 3.4+ (Prism parser)
Upgrade iOS TensorFlow Lite from 2.17.0 (CocoaPods) to 2.20.0 (built from source via Bazel)
* Improved documentation
Upgrade macOS TFLite native library from 2.17.1 to 2.20.0 (latest stable, universal binary: arm64 + x86_64)
TfLiteOperatorCreate now takes 4 params, TfLiteOperatorCreateWithData removed, new kTfLiteOutputShapeNotKnown status, new builtin ops)Upgrade macOS TFLite native library from 2.11.0 to 2.17.1 (universal binary: arm64 + x86_64)
TfLiteOperator API replacing TfLiteRegistrationExternal)Bundle libtensorflowlite_c-win.dll from flutter_litert Windows plugin instead of downstream packages
libtensorflowlite_c-win.dll from flutter_litert Windows plugin instead of downstream packagesFix Windows: build and bundle custom ops DLL (tflite_custom_ops.dll) for MediaPipe models
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
* Update AndroidManifest.xml
Fix IsolateInterpreter thread-safety bug causing intermittent native crashes when hardware delegates are active
Initial release, forked from tflite_flutter_custom v1.2.5