Skip to main content

stealth_enum 1.0.1 copy "stealth_enum: ^1.0.1" to clipboard
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 StealthEnum constructor.
  • Refined package description to adhere to pub.dev length guidelines.

0.1.0 #

  • Initial release.
  • @StealthEnum annotation with seed, generateWhen, and name parameters.
  • Dart 3.3+ extension type output backed by deterministic, collision-free 32-bit hex integers.
  • Inlined exhaustive .when() and .maybeWhen() helpers with @pragma('vm:prefer-inline').
  • No StateError strings in the binary — final when branch uses wildcard _ =>.
  • Compatible with SharedPartBuilder alongside json_serializable, freezed, and riverpod_generator.
10
likes
0
points
0
downloads

Publisher

verified publisheraslamambiloly.2bd.net

Weekly Downloads

Obfuscates Dart enums into zero-cost extension types backed by high-entropy integers, eliminating enum metadata from Flutter AOT binaries.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on stealth_enum