stealth_enum 2.2.2
stealth_enum: ^2.2.2 copied to clipboard
Obfuscates Dart enums into zero-cost extension types backed by high-entropy integers, eliminating enum metadata from Flutter AOT binaries.
We analyzed this package in the last hour, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
11 out of 11 API elements (100.0 %) have documentation comments.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
meta |
>=1.9.0 <2.0.0 |
1.19.0 | 1.19.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
CONST_WITH_NON_CONSTANT_ARGUMENT-lib/src/stealth_enum_annotation.dart:121:10- Arguments of a constant creation must be constant expressions.NON_CONSTANT_SET_ELEMENT-lib/src/stealth_enum_annotation.dart:121:10- The values in a const set literal must be constants.UNDEFINED_ENUM_CONSTANT-lib/src/stealth_enum_annotation.dart:121:21- There's no constant named 'enumValue' in 'TargetKind'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.19, Dart 3.13.5.
Check the analysis log for details.