theta_models 0.8.5
theta_models: ^0.8.5 copied to clipboard
A package for the models used in Theta.
We analyzed this package 6 days ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://buildwiththeta.com was unreachable. Make sure that the website is reachable via HEAD requests.
Documentation URL doesn't exist.
At the time of the analysis https://docs.buildwiththeta.com was unreachable. Make sure that the website is reachable via HEAD requests.
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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
247 out of 939 API elements (26.3 %) have documentation comments.
Some symbols that are missing documentation: theta_models, theta_models.AlignIntrinsicStates.AlignIntrinsicStates.create, theta_models.AlignIntrinsicStates.AlignIntrinsicStates.new, theta_models.AssetType, theta_models.AutoResizingTextType.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 37 issues. Showing the first 2:
ERROR: The switch case expression type 'FontWeight' can't override the '==' operator.
lib/src/widgets/features/font_weight.dart:88:12
╷
88 │ case FontWeight.w100:
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/features/font_weight.dart
ERROR: The switch case expression type 'FontWeight' can't override the '==' operator.
lib/src/widgets/features/font_weight.dart:90:12
╷
90 │ case FontWeight.w200:
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/features/font_weight.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.1 |
1.19.1 | 1.19.1 | |
device_frame |
^1.1.0 |
1.4.0 | 1.4.0 | |
enum_to_string |
^2.0.1 |
2.2.1 | 2.2.1 | |
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
light_logger |
^0.0.3 |
0.0.3 | 0.0.3 | |
recase |
^4.1.0 |
4.1.0 | 4.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
json_annotation |
- | 4.11.0 | 4.11.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
vector_math |
- | 2.2.0 | 2.2.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 20 errors:
CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS-lib/src/widgets/features/font_weight.dart:88:12- The switch case expression type 'FontWeight' can't override the '==' operator.CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS-lib/src/widgets/features/font_weight.dart:90:12- The switch case expression type 'FontWeight' can't override the '==' operator.CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS-lib/src/widgets/features/font_weight.dart:92:12- The switch case expression type 'FontWeight' can't override the '==' operator.
Run flutter pub downgrade and then flutter 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.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.