ap_common 0.21.2
ap_common: ^0.21.2 copied to clipboard
The school affairs(AP) series shares the engineering kit, rapid development of the school affairs series(AP) app
We analyzed this package 10 hours ago, and awarded it 85 pub points (of a possible 130):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/10 points: 20% or more of the public API has dartdoc comments
- 414 out of 1949 API elements (21.2 %) have documentation comments.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
20/30 points: code has no errors, warnings, lints, or formatting issues
INFO: The operand can't be null, so the condition is always false.
lib/pages/announcement/home_page.dart:813:25
╷
813 │ if (idToken == null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/pages/announcement/home_page.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
add_2_calendar | ^2.1.3 | 2.1.3 | 2.1.3 |
app_tracking_transparency | ^2.0.2+4 | 2.0.2+4 | 2.0.2+4 |
auto_size_text_pk | ^3.0.0 | 3.0.0 | 3.0.0 |
barcode | ^2.2.1 | 2.2.2 | 2.2.2 |
barcode_widget | ^2.0.1 | 2.0.3 | 2.0.3 |
cached_network_image | ^3.2.1 | 3.2.1 | 3.2.1 |
cookie_jar | ^3.0.1 | 3.0.1 | 3.0.1 |
cupertino_back_gesture | ^0.1.0 | 0.1.0 | 0.1.0 |
dio | ^4.0.6 | 4.0.6 | 4.0.6 |
dio_cookie_manager | ^2.0.0 | 2.0.0 | 2.0.0 |
encrypt | ^5.0.1 | 5.0.1 | 5.0.1 |
file_selector | ^0.8.4+2 | 0.8.4+3 | 0.9.0 |
file_selector_linux | ^0.0.2+1 | 0.0.2+1 | 0.0.2+1 |
flutter | flutter | 0.0.0 | 0.0.0 |
flutter_keyboard_visibility | ^5.2.0 | 5.3.0 | 5.3.0 |
flutter_linkify | ^5.0.2 | 5.0.2 | 5.0.2 |
flutter_local_notifications | ^9.6.1 | 9.7.1 | 9.7.1 |
flutter_localizations | flutter | 0.0.0 | 0.0.0 |
google_sign_in | ^5.3.2 | 5.4.1 | 5.4.1 |
hive | ^2.0.4 | 2.2.3 | 2.2.3 |
hive_flutter | ^1.0.0 | 1.1.0 | 1.1.0 |
image_picker | ^0.8.5+3 | 0.8.5+3 | 0.8.5+3 |
in_app_review | ^2.0.3 | 2.0.4 | 2.0.4 |
intl | >=0.16.0 <1.0.0 | 0.17.0 | 0.17.0 |
jwt_decoder | ^2.0.1 | 2.0.1 | 2.0.1 |
multiple_localization | ^0.3.0 | 0.3.0 | 0.3.0 |
package_info_plus | ^1.4.2 | 1.4.3+1 | 1.4.3+1 |
path | ^1.7.0 | 1.8.1 | 1.8.2 |
path_provider | ^2.0.10 | 2.0.11 | 2.0.11 |
pdf | ^3.8.1 | 3.8.2 | 3.8.2 |
photo_manager | ^2.1.1 | 2.2.0 | 2.2.0 |
photo_view | ^0.14.0 | 0.14.0 | 0.14.0 |
platform | ^3.1.0 | 3.1.0 | 3.1.0 |
printing | ^5.9.1 | 5.9.2 | 5.9.2 |
share_plus | ^4.0.8 | 4.0.10+1 | 4.0.10+1 |
shared_preferences | ^2.0.15 | 2.0.15 | 2.0.15 |
sign_in_with_apple | ^4.0.0 | 4.1.0 | 4.1.0 |
sprintf | ^6.0.0 | 6.0.2 | 6.0.2 |
timezone | ^0.8.0 | 0.8.0 | 0.8.0 |
universal_html | ^2.0.8 | 2.0.8 | 2.0.8 |
url_launcher | ^6.1.2 | 6.1.5 | 6.1.5 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.8.4+2` on file_selector does not support the stable version `0.9.0`, that was published 24 days ago.
When file_selector is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions file_selector
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Null safety support has one or more issues.
Unable to access import.
Because:
package:ap_common/models/cloud_message.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:ap_common/pages/cloud_message_content_page.dart
that imports:package:ap_common/utils/cloud_message_utils.dart
that imports:package:ap_common/models/cloud_message.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:ap_common/pages/cloud_message_list_page.dart
that imports:package:ap_common/utils/cloud_message_utils.dart
that imports:package:ap_common/models/cloud_message.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:ap_common/utils/ap_hive_utils.dart
that imports:package:ap_common/models/cloud_message.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:ap_common/utils/cloud_message_utils.dart
that imports:package:ap_common/models/cloud_message.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
For more information
Try running dart pub outdated --mode=null-safety
.
Be sure to read the migration guide.
Analysed with Pana 0.21.15
, Flutter 3.0.5
, Dart 2.17.6
.