brain_dev_notification 1.0.8
brain_dev_notification: ^1.0.8 copied to clipboard
A local notification Flutter project.
We analyzed this package 12 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting brain_dev_notification... Discovering libraries... ERR: dartdoc 9.0.0 (/tmp/analyzerTQLGST/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.10.3.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/analyzerTQLGST/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: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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:brain_dev_notification/brain_dev_notification.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:brain_dev_notification/brain_dev_notification.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:brain_dev_notification/brain_dev_notification.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:brain_dev_notification/brain_dev_notification.dartthat imports:package:brain_dev_notification/controllers/notification_controller.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:brain_dev_notification/brain_dev_notification.dartthat imports:package:brain_dev_notification/controllers/notification_controller.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:brain_dev_notification/brain_dev_notification.dartthat imports:package:brain_dev_notification/controllers/notification_controller.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:brain_dev_tools/Repository/http_repo/http_client_repository.dart'.
lib/models/notification/notification_helper.dart:4:8
╷
4 │ import 'package:brain_dev_tools/Repository/http_repo/http_client_repository.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/notification/notification_helper.dart
ERROR: The method 'HttpClientRepository' isn't defined for the type 'NotificationHelper'.
lib/models/notification/notification_helper.dart:93:26
╷
93 │ var response = await HttpClientRepository().getData(url,fName: 'downloadAndSaveFile');
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/notification/notification_helper.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
brain_dev_business |
^1.0.8 |
1.0.8 | 1.0.8 | |
brain_dev_tools |
^1.0.8 |
1.0.8 | 1.0.8 | |
flutter_local_notifications |
^19.2.1 |
19.5.0 | 19.5.0 | |
flutter_timezone |
^4.1.1 |
4.1.1 | 5.0.1 | |
get |
^4.7.2 |
4.7.3 | 4.7.3 | |
http |
^1.3.0 |
1.6.0 | 1.6.0 | |
http_parser |
^4.1.2 |
4.1.2 | 4.1.2 | |
intl |
^0.19.0 |
0.19.0 | 0.20.2 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
plugin_platform_interface |
^2.1.8 |
2.1.8 | 2.1.8 | |
timeago |
^3.7.1 |
3.7.1 | 3.7.1 | |
timezone |
^0.10.1 |
0.10.1 | 0.10.1 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.1.1` on flutter_timezone does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions flutter_timezone to update the constraint.
The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.
Try running dart pub upgrade --major-versions intl 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 2 errors:
URI_DOES_NOT_EXIST-lib/models/notification/notification_helper.dart:4:8- Target of URI doesn't exist: 'package:brain_dev_tools/Repository/http_repo/http_client_repository.dart'.UNDEFINED_METHOD-lib/models/notification/notification_helper.dart:93:26- The method 'HttpClientRepository' isn't defined for the type 'NotificationHelper'.
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.