stealth_enum 1.0.1
stealth_enum: ^1.0.1 copied to clipboard
Obfuscates Dart enums into zero-cost extension types backed by high-entropy integers, eliminating enum metadata from Flutter AOT binaries.
1.0.1 #
- Improved README formatting and line breaks in documentation.
- Updated badges and preview graphics.
1.0.0 #
- Production ready 1.0.0 release.
- Zero runtime overhead and complete enum metadata erasure in Flutter AOT binaries.
- Full compatibility with Dart 3.3+ and Flutter 3.19+.
0.1.1 #
- Added package example in
example/example.dart. - Added dartdoc comments for
StealthEnumconstructor. - Refined package description to adhere to pub.dev length guidelines.
0.1.0 #
- Initial release.
@StealthEnumannotation withseed,generateWhen, andnameparameters.- Dart 3.3+
extension typeoutput backed by deterministic, collision-free 32-bit hex integers. - Inlined exhaustive
.when()and.maybeWhen()helpers with@pragma('vm:prefer-inline'). - No
StateErrorstrings in the binary — finalwhenbranch uses wildcard_ =>. - Compatible with
SharedPartBuilderalongsidejson_serializable,freezed, andriverpod_generator.