generic_enum_example 0.4.1
generic_enum_example: ^0.4.1 copied to clipboard
Demonstrates how to define and build extensions on Dart enums using the packages generic_enum and generic_enum_builder.
We analyzed this package 4 days ago, 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
19 out of 27 API elements (70.4 %) have documentation comments.
Some symbols that are missing documentation: complex, complex.Complex, complex.Complex.Complex.new, complex.Complex.imag, complex.Complex.real.
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
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Angle brackets will be interpreted as HTML.
lib/complex.g.dart:11:29
╷
11 │ /// Returns value of type <Complex> mapped to
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/complex.g.dart
INFO: Angle brackets will be interpreted as HTML.
lib/dpi_resolution.g.dart:11:29
╷
11 │ /// Returns value of type <double> mapped to
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/dpi_resolution.g.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
exception_templates |
^0.2.0 |
0.2.4 | 0.3.2 | |
generic_enum |
^0.4.0 |
0.4.3 | 0.4.3 | Discontinued |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.2.0` on exception_templates does not support the stable version `0.3.0`.
Try running dart pub upgrade --major-versions exception_templates to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- generic_enum.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Dart 3.10.7.
Check the analysis log for details.