ttrouter_generator 0.0.2
ttrouter_generator: ^0.0.2 copied to clipboard
A Router For Flutter
We analyzed this package 34 hours ago, and awarded it 50 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://github.com/ZanderZhan/ttrouter 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting ttrouter_generator... Discovering libraries... ERR: dartdoc 9.0.1 (/tmp/analyzerKQFHPB/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.10.7.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/analyzerKQFHPB/pub-cache/[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:199:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:282:22)
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package not compatible with platform Android
Because:
package:ttrouter_generator/builder.dartthat imports:package:ttrouter_generator/generators/generator_router.dartthat imports:package:source_gen/src/library.dartthat imports:package:source_gen/src/type_checker.dartthat imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:ttrouter_generator/builder.dartthat imports:package:ttrouter_generator/generators/generator_router.dartthat imports:package:source_gen/src/library.dartthat imports:package:source_gen/src/type_checker.dartthat imports:dart:mirrors
Package not compatible with platform Windows
Because:
package:ttrouter_generator/builder.dartthat imports:package:ttrouter_generator/generators/generator_router.dartthat imports:package:source_gen/src/library.dartthat imports:package:source_gen/src/type_checker.dartthat imports:dart:mirrors
Package not compatible with platform Linux
Because:
package:ttrouter_generator/builder.dartthat imports:package:ttrouter_generator/generators/generator_router.dartthat imports:package:source_gen/src/library.dartthat imports:package:source_gen/src/type_checker.dartthat imports:dart:mirrors
Package not compatible with platform macOS
Because:
package:ttrouter_generator/builder.dartthat imports:package:ttrouter_generator/generators/generator_router.dartthat imports:package:source_gen/src/library.dartthat imports:package:source_gen/src/type_checker.dartthat imports:dart:mirrors
Package not compatible with platform Web
Because:
package:ttrouter_generator/builder.dartthat imports:package:ttrouter_generator/generators/generator_router.dartthat imports:package:source_gen/src/library.dartthat imports:package:source_gen/src/utils.dartthat imports:package:build/build.dartthat imports:package:build/src/generate/run_post_process_builder.dartthat imports:package:build/src/builder/post_process_builder.dartthat imports:package:build/src/builder/builder.dartthat imports:package:build/src/builder/build_step.dartthat imports:package:build/src/asset/reader.dartthat imports:package:glob/glob.dartthat imports:package:glob/src/list_tree.dartthat imports:package:file/file.dartthat imports:package:file/src/interface.dartthat imports:package:file/src/io.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:ttrouter/annotations/annotation_route.dart'.
lib/generators/generator_json.dart:7:8
╷
7 │ import 'package:ttrouter/annotations/annotation_route.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/generators/generator_json.dart
ERROR: The name 'TTRoute' isn't a type, so it can't be used as a type argument.
lib/generators/generator_json.dart:9:43
╷
9 │ class JsonGenerator extends BaseGenerator<TTRoute> {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/generators/generator_json.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
^1.7.0 |
1.7.2 | 10.0.1 | |
build |
^2.0.0 |
2.4.1 | 4.0.4 | |
code_builder |
^4.0.0 |
4.11.1 | 4.11.1 | |
dart_style |
^2.0.0 |
2.1.1 | 3.1.4 | |
glob |
^2.0.0 |
2.1.3 | 2.1.3 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
source_gen |
^1.0.0 |
1.0.3 | 4.2.0 | |
ttrouter |
^0.0.2 |
0.0.5 | 0.0.5 | Discontinued |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 22.0.0 | 93.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.3 | 8.12.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
cli_util |
- | 0.3.5 | 0.4.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pedantic |
- | 1.11.1 | 1.11.1 | Discontinued |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^1.7.0` on analyzer does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
The constraint `^2.0.0` on build does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions build to update the constraint.
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, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.