dz_flutter_template 0.0.1
dz_flutter_template: ^0.0.1 copied to clipboard
A DZ Flutter template for both android and iOS.
We analyzed this package 5 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.
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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting dz_flutter_template... Discovering libraries... ERR: dartdoc 9.0.0 (/tmp/analyzerEGSPSA/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.10.4.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/pana_OPGKJR/lib/DzUtils'. #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:198:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:281:22)
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:dz_flutter_template/dz_flutter_template.dartthat imports:package:dz_flutter_template/image/dz_image.dartthat imports:package:image_cropper/image_cropper.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:dz_flutter_template/dz_flutter_template.dartthat imports:package:dz_flutter_template/image/dz_image.dartthat imports:package:image_cropper/image_cropper.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:dz_flutter_template/dz_flutter_template.dartthat imports:package:dz_flutter_template/image/dz_image.dartthat imports:package:image_cropper/image_cropper.dartthat declares support for platforms:Android,iOS,Web.
Package not compatible with platform Web
Because:
package:dz_flutter_template/dz_flutter_template.dartthat imports:package:dz_flutter_template/networking/remote_data_source.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 32 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:dz_flutter_template/DzUtils/dz_logx.dart'.
lib/dzutils/dz_json_util.dart:3:8
╷
3 │ import 'package:dz_flutter_template/DzUtils/dz_logx.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/dzutils/dz_json_util.dart
ERROR: Undefined name 'DzLogX'.
lib/dzutils/dz_json_util.dart:23:7
╷
23 │ DzLogX.printLog('JsonUtil convert error, Exception:${e.toString()}');
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/dzutils/dz_json_util.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_styled_toast |
^2.1.3 |
2.3.0 | 2.3.0 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
image_cropper |
^5.0.0 |
5.0.1 | 11.0.0 | |
image_picker |
^1.0.2 |
1.2.1 | 1.2.1 | |
logger |
^2.0.1 |
2.6.2 | 2.6.2 | |
lottie |
^2.6.0 |
2.7.0 | 3.3.2 | |
material_dialogs |
^1.1.4 |
1.1.4 | 1.1.5 | |
shared_preferences |
^2.2.0 |
2.5.4 | 2.5.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+1 | 0.3.5+1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
file_selector_linux |
- | 0.9.4 | 0.9.4 | |
file_selector_macos |
- | 0.9.5 | 0.9.5 | |
file_selector_platform_interface |
- | 2.7.0 | 2.7.0 | |
file_selector_windows |
- | 0.9.3+5 | 0.9.3+5 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_cropper_for_web |
- | 3.0.0 | 7.0.0 | |
image_cropper_platform_interface |
- | 5.0.0 | 8.0.0 | |
image_picker_android |
- | 0.8.13+10 | 0.8.13+10 | |
image_picker_for_web |
- | 3.1.1 | 3.1.1 | |
image_picker_ios |
- | 0.8.13+3 | 0.8.13+3 | |
image_picker_linux |
- | 0.2.2 | 0.2.2 | |
image_picker_macos |
- | 0.2.2+1 | 0.2.2+1 | |
image_picker_platform_interface |
- | 2.11.1 | 2.11.1 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^5.0.0` on image_cropper does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions image_cropper to update the constraint.
The constraint `^2.6.0` on lottie does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions lottie to update the constraint.
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 21 errors:
URI_DOES_NOT_EXIST-lib/dzutils/dz_json_util.dart:3:8- Target of URI doesn't exist: 'package:dz_flutter_template/DzUtils/dz_logx.dart'.UNDEFINED_IDENTIFIER-lib/dzutils/dz_json_util.dart:23:7- Undefined name 'DzLogX'.UNDEFINED_IDENTIFIER-lib/dzutils/dz_json_util.dart:43:7- Undefined name 'DzLogX'.
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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.