easy_copy_with 3.2.0
easy_copy_with: ^3.2.0 copied to clipboard
Package for automatic generation of copyWith methods in Dart classes using @CopyWith annotation.
Changelog #
3.2.0 - 2025-12-11 #
- Added generation general fields for sealed classes.
3.1.0 - 2025-11-26 #
- Added codegen for sealed classes.
3.0.0 #
- default output now targets
.g.dartvia a shared part builder, avoiding clashes with othersource_gen-based packages likejson_serializable - documented how to override the extension when a dedicated
.copy_with.dartfile is preferred - restructured the bundled example into a proper library with clear english instructions for running
build_runner
2.0.0 #
- copyWith parameters now preserve the original field types, including generics and nullability
- sentinel-backed parameters allow assigning
nullwithout manual casts - packaged runnable example at
example/example.dartand updated documentation to match - switched licensing references to MIT and ensured generated example outputs ship with the package
1.0.0 #
- initial release