drift_model_generator 0.6.3
drift_model_generator: ^0.6.3 copied to clipboard
Dart model based drift model generator.
We analyzed this package 2 days ago, and awarded it 110 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 60 to 180 characters to describe the package, what it does, and its target use case.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting drift_model_generator... Discovering libraries... Linking elements... Precaching local docs for 649305 elements... Initialized dartdoc with 437 libraries Generating docs for library drift_model_generator.dart from package:drift_model_generator/drift_model_generator.dart... Generating docs for library types.dart from package:drift_model_generator/types.dart... Documented 2 public libraries in 53.1 seconds ERR: warning: drift_model_generator has no library level documentation comments from drift_model_generator: (file:///tmp/pana_BVIKVS/lib/drift_model_generator.dart:1:9) warning: unresolved doc reference [useProto] from drift_model_generator.ReferencedBy.ReferencedBy: (file:///tmp/pana_BVIKVS/lib/src/annotations.dart:136:9) warning: unresolved doc reference [References] from drift_model_generator.ReferencedBy.ReferencedBy: (file:///tmp/pana_BVIKVS/lib/src/annotations.dart:136:9) warning: unresolved doc reference [null] from drift_model_generator.ReferencedBy.toFieldNames: (file:///tmp/pana_BVIKVS/lib/src/annotations.dart:130:23) in documentation inherited from drift_model_generator.ReferencedBy.toFieldNames: (file:///tmp/pana_BVIKVS/lib/src/annotations.dart:130:23) warning: unresolved doc reference [fieldName] [23 more lines]
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
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.
lib/src/generator/drift_model_generator.dart:465:56
╷
465 │ String get typeName => element.type.getDisplayString(withNullability: false);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/generator/drift_model_generator.dart
lib/src/generator/drift_model_generator.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer |
^6.4.1 |
6.5.0 | 6.7.0 |
build |
^2.4.1 |
2.4.1 | 2.4.1 |
drift |
>2.0.0 <3.0.0 |
2.18.0 | 2.18.0 |
source_gen |
^1.5.0 |
1.5.0 | 1.5.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 68.0.0 | 72.0.0 |
_macros |
- | 0.1.0 | 0.1.0 |
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
collection |
- | 1.19.0 | 1.19.0 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
dart_style |
- | 2.3.6 | 2.3.6 |
ffi |
- | 2.1.2 | 2.1.2 |
file |
- | 7.0.0 | 7.0.0 |
glob |
- | 2.1.2 | 2.1.2 |
js |
- | 0.7.1 | 0.7.1 |
logging |
- | 1.2.0 | 1.2.0 |
macros |
- | 0.1.0-main.0 | 0.1.2-main.4 |
meta |
- | 1.15.0 | 1.15.0 |
package_config |
- | 2.1.0 | 2.1.0 |
path |
- | 1.9.0 | 1.9.0 |
pub_semver |
- | 2.1.4 | 2.1.4 |
source_span |
- | 1.10.0 | 1.10.0 |
sqlite3 |
- | 2.4.4 | 2.4.4 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
watcher |
- | 1.1.0 | 1.1.0 |
web |
- | 0.5.1 | 0.5.1 |
yaml |
- | 3.1.2 | 3.1.2 |
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 1 error:
IMPLEMENTS_NON_CLASS
-lib/types.dart:5:32
- Classes and mixins can only implement other classes and mixins.
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.22.7
, Dart 3.4.3
.
Check the analysis log for details.