native_workmanager_gen 1.2.6
native_workmanager_gen: ^1.2.6 copied to clipboard
Code generator for native_workmanager. Generates type-safe DartWorker callback IDs and worker registry from @WorkerCallback annotations.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
1.2.6 - 2026-05-08 #
- Synchronized version bump with
native_workmanager1.2.6.
1.0.4 - 2026-04-20 #
Fixed #
- Widened
analyzerconstraint from^12.0.0to>=10.0.0 <13.0.0to resolvemetaversion conflict on Flutter 3.41.x (analyzer 10.xrequiresmeta ^1.15.0). - Replaced deprecated
getDisplayString(withNullability: false)withgetDisplayString().
1.0.3 #
Changed #
- Require
analyzer >=12.0.0and Dart SDK>=3.9.0. - Replaced
FunctionElement(removed in analyzer 12.x) withElementKind.FUNCTIONcheck andTopLevelFunctionElementcast. - Replaced
element.parameterswithfn.formalParameters(renamed in analyzer 12.x). - Replaced
element.namewithelement.displayName(nowString?in analyzer 12.x).
1.0.2 #
Fixed #
- Replaced
TypeChecker.fromRuntime(removed in source_gen 4.x) withTypeChecker.fromUrl— removesdart:mirrorsdependency and fixes static analysis on pub.dev. - Removed
native_workmanagerfrom runtime dependencies (only needed at build time via URI).