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 19 days ago, and awarded it 80 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
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:theta_models/theta_models.dartthat imports:package:theta_models/src/widgets/features/index.dartthat imports:package:theta_models/src/widgets/features/size_range.dartthat imports:package:theta_models/src/responsive_builder.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
ERROR: The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart (via package:flutter/material.dart)' and 'package:theta_models/src/widgets/nodes/widget_state.dart (via package:theta_models/theta_models.dart)'.
lib/src/widgets/nodes/node.dart:433:20
╷
433 │ required final WidgetState state,
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/nodes/node.dart
ERROR: The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart (via package:flutter/material.dart)' and 'package:theta_models/src/widgets/nodes/widget_state.dart (via package:theta_models/theta_models.dart)'.
lib/src/widgets/nodes/widget_adapter.dart:9:20
╷
9 │ required final WidgetState state,
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/nodes/widget_adapter.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.7 | 2.0.7 | |
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.0 | 1.4.1 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
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 2 errors:
AMBIGUOUS_IMPORT-lib/src/widgets/nodes/node.dart:433:20- The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart (via package:flutter/material.dart)' and 'package:theta_models/src/widgets/nodes/widget_state.dart (via package:theta_models/theta_models.dart)'.AMBIGUOUS_IMPORT-lib/src/widgets/nodes/widget_adapter.dart:9:20- The name 'WidgetState' is defined in the libraries 'package:flutter/src/widgets/widget_state.dart (via package:flutter/material.dart)' and 'package:theta_models/src/widgets/nodes/widget_state.dart (via package:theta_models/theta_models.dart)'.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.