NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #466 most downloaded on pub.dev
Code generator tool to make communication between Flutter and the host platform type-safe and easier.
Latest stable
30.0.2
Last release 3 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
1 version withdrawn
withdrawn after publishing
7 years old
283 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
[swift] Adds protocol for Flutter APIs.
Breaking Change [kotlin] Flutter API methods now return Result .
Result<return-type>.Result<return-type, FlutterError>.Reply class from all method returns and replaces it with Result.
Reply callbacks with Result classes that contain both success and failure methods.NullableResult class for all nullable method returns.
NullableResult rather than Result.setup method to setUp.nil response on error.<api>Setup to SetUp<api>.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Adds pub topics to package metadata.
Breaking Change [objc] Changes all nullable enums to be boxed in custom classes.
Fixes generation failures when an output file is in a directory that doesn't already exist.
[dart] Fixes import in generated test output when overriding package name.
Adds package name to method channel strings to avoid potential collisions between plugins.
pigeonOptions.Adds generic Object field support to data classes.
Object field support to data classes.[swift] Fixes a crash when passing null for nested nullable classes.
null for nested nullable classes.Updates README to better reflect modern usage.
[objc] Adds macOS support to facilitate code sharing with existing iOS plugins.
Requires analyzer 5.13.0 and replaces use of deprecated APIs.
analyzer 5.13.0 and replaces use of deprecated APIs.[swift] Breaking Change A raw List (without generic type argument) in Dart will be translated into [Any?] (rather than [Any]).
Any to represent Optional.List (without generic type argument) in Dart will be
translated into [Any?] (rather than [Any]).Map (without generic type argument) in Dart will be
translated into [AnyHashable:Any?] (rather than [AnyHashable:Any]).Reports an error when trying to use an enum directly in a List or Map argument.
List or Map
argument.[objc] Fixes a warning due to a C++-style function signature in the codec getter's definition.
[java] Fixes UnknownNullability and SyntheticAccessor warnings.
UnknownNullability and SyntheticAccessor warnings.[cpp] Minor changes to output style.
[swift] Fixes NSNull casting crash.
[cpp] Removes experimental tags.
Migrates off deprecated BinaryMessenger API.
BinaryMessenger API.[cpp] Requires passing any non-nullable fields of generated data classes as constructor arguments, similar to what is done in other languages. This ma
[cpp] Fixes class parameters to Flutter APIs.
[swift] Removes experimental tags.
[java] Adds a GeneratedApi.FlutterError exception for passing custom error details (code, message, details).
GeneratedApi.FlutterError exception for passing custom error details (code, message, details).FlutterError exception for passing custom error details (code, message, details).errorClassName option in KotlinOptions for custom error class names.FlutterError.FlutterError handling integration tests for all platforms.[swift] Changes all ints to int64. May require code updates to existing code.
[kotlin] Removes safe casting from decode process.
Removes the unnecessary Flutter constraint.
Adds parameter to generate Kotlin code in example README.
[kotlin] Fixes compiler warnings in generated output.
[swift] Removes safe casting from decode process.
Updates links for the merge of flutter/plugins into flutter/packages.
Breaking Change Updates DartOptions to be immutable and adds const to the constructor.
DartOptions to be immutable and adds const to the constructor.final changes to Flutter Api classes.[objc] BREAKING CHANGE: FlutterApi calls now return a FlutterError, rather than an NSError, on failure.
FlutterError,
rather than an NSError, on failure.[kotlin] Fixes Flutter API int errors with updated casting.
[swift] Changes async method completion types. May require code updates to existing code.
Updates code to fix strict-cast violations.
[java] Fixes raw types lint issues.
[objc] Removes unused function.
[swift] Adds error handling to sync host API methods.
[c++] Fixes handling of the cpp* options in @ConfigurePigeon annotations.
cpp* options in @ConfigurePigeon annotations.Adds @SwiftFunction annotation for specifying custom swift function signature.
@SwiftFunction annotation for specifying custom swift function signature.Requires analyzer 5.0.0 and replaces use of deprecated APIs.
[c++] Fixes minor output formatting issues.
Updates scoped methods to prevent symbol-less use.
[kotlin] Fixes a missed casting of not nullable Dart 'int' to Kotlin 64bit long.
[generator_tools] adds newln method for adding empty lines and ending lines.
newln method for adding empty lines and ending lines.[java] BREAKING CHANGE: Makes data classes final. Updates generators for 1p linters.
* [docs] Updates README.md.
[kotlin] Fixes a bug with a missed line break between generated statements in the fromList function of the companion object.
fromList function of the companion object.[c++] Fixes most non-class arguments and return values in Flutter APIs. The types of arguments and return values have changed, so this may require upd
Creates StructuredGenerator class and implements it on all platforms.
[c++] Fixes undefined behavior in @async methods.
@async methods.Creates new Generator classes for each language.
Relocates generator classes. (Reverted)
[c++] Fixes reply sending non EncodableValue wrapped lists.
Add documentation comment support for Enum members.
Updates serialization to use lists instead of maps to improve performance.
[swift] Fixes compressed list data types.
[java] Changes generated enum field to be final.
[kotlin] Fixes a bug with some methods that return void.
void.One column per quarter.