NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #1016 most downloaded on pub.dev
Annotations and helpers for lenses for code generated with the `function_data_generator` package.
Latest stable
1.2.0
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 3 months to 2.2 years
Most releases are documented
notes for 8 of 9 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
10 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Publish functional_data-v1.2.0.
Publish functional_data-v1.2.0.
Relaxed annotation assert so it does not assume that generateLenses being null is the same as being true. This is required if the generator wants to p
Your coding agent can read these notes before it upgrades. Set up the MCP server →
copyWith uses null to indicate that a field should have the same value in the copy as in the original. So it is not possible to set a nullable field t
copyWith uses null to indicate that a field should have the same value in the copy as in the original. So it is not possible to set a nullable field to null. With copyUsing this is now possible:
@FunctionalData()
class Foo {
const Foo(this.nullableField, this.otherField);
final String? nullableField;
final int otherField;
}
final copy = foo.copyUsing((change) =>
change
..nullableField = null
..otherField = 7);
);
The constructor used by functional_data can now have positional arguments (in addition to named ones):
@FunctionalData()
class Bar {
const Bar(this.positional, {required this.named});
final int positional;
final int named;
}
- Make lenses null-safe
Nothing published for this version
Use Optional form plain_optional
Nothing published for this version
Add instructions for using functional data in README
- Add changelog - Format code - Add description
- First published version
One column per quarter.