ap_common_announcement_ui 0.0.2+1 copy "ap_common_announcement_ui: ^0.0.2+1" to clipboard
ap_common_announcement_ui: ^0.0.2+1 copied to clipboard

The school affairs(AP) series shares the engineering kit, rapid development of the school affairs series(AP) app

0
likes
120/ 160
pub points
107
downloads

We analyzed this package 7 days ago, and awarded it 120 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

12 out of 84 API elements (14.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: ap_common_announcement_ui, ap_common_announcement_ui.AnnouncementContentPage, ap_common_announcement_ui.AnnouncementContentPage.AnnouncementContentPage, ap_common_announcement_ui.AnnouncementContentPage.announcement, ap_common_announcement_ui.AnnouncementContentPageState.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:ap_common_announcement_ui/ap_common_announcement_ui.dart that imports:
  • package:ap_common_announcement_ui/src/ui/home_page.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:ap_common_announcement_ui/ap_common_announcement_ui.dart that imports:
  • package:ap_common_announcement_ui/src/ui/home_page.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:ap_common_announcement_ui/ap_common_announcement_ui.dart that imports:
  • package:ap_common_announcement_ui/src/ui/home_page.dart that imports:
  • package:ap_common_flutter_ui/ap_common_flutter_ui.dart that imports:
  • package:ap_common_flutter_ui/src/widgets/ap_network_image.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system_io.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:ap_common_announcement_ui/ap_common_announcement_ui.dart that imports:
  • package:ap_common_announcement_ui/src/ui/home_page.dart that imports:
  • package:ap_common_flutter_ui/ap_common_flutter_ui.dart that imports:
  • package:ap_common_flutter_ui/src/utils/dialog_utils.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:ap_common_announcement_ui/ap_common_announcement_ui.dart that imports:
  • package:ap_common_announcement_ui/src/ui/home_page.dart that imports:
  • package:ap_common_flutter_ui/ap_common_flutter_ui.dart that imports:
  • package:ap_common_flutter_ui/src/utils/dialog_utils.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:ap_common_announcement_ui/ap_common_announcement_ui.dart that imports:
  • package:ap_common_announcement_ui/src/ui/home_page.dart that imports:
  • package:ap_common_flutter_ui/ap_common_flutter_ui.dart that imports:
  • package:ap_common_flutter_ui/src/utils/dialog_utils.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:ap_common_announcement_ui/ap_common_announcement_ui.dart that imports:
  • package:ap_common_announcement_ui/src/ui/home_page.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple/src/sign_in_with_apple.dart that imports:
  • package:sign_in_with_apple_platform_interface/sign_in_with_apple_platform_interface.dart that imports:
  • package:sign_in_with_apple_platform_interface/method_channel_sign_in_with_apple.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 8 issues. Showing the first 2:

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/src/ui/announcement_content_page.dart:28:27

   ╷
28 │     AnalyticsUtil.instance?.setCurrentScreen(
   │                           ^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/announcement_content_page.dart

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/src/ui/announcement_content_page.dart:106:31

    ╷
106 │         AnalyticsUtil.instance?.logEvent('announcement_content_image_click');
    │                               ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/announcement_content_page.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
ap_common_flutter_core ^0.0.2+1 0.0.3 0.0.3
ap_common_flutter_ui ^0.0.2+1 0.0.3 0.0.3
cached_network_image ^3.3.1 3.4.1 3.4.1
cookie_jar ^4.0.0 4.0.8 4.0.8
dio_cookie_manager ^3.1.1 3.1.1 3.1.1
flutter flutter 0.0.0 0.0.0
flutter_linkify ^6.0.0 6.0.0 6.0.0
google_sign_in ^6.2.1 6.2.2 6.2.2
path ^1.9.0 1.9.1 1.9.1
photo_view ^0.15.0 0.15.0 0.15.0
sign_in_with_apple ^6.1.1 6.1.4 6.1.4
sprintf ^7.0.0 7.0.0 7.0.0
Transitive dependencies
Package Constraint Compatible Latest
ap_common_core - 0.0.5 0.0.5
archive - 3.6.1 4.0.2
async - 2.12.0 2.12.0
auto_size_text_pk - 3.0.0 3.0.0
barcode - 2.2.8 2.2.8
barcode_widget - 2.0.4 2.0.4
bidi - 2.0.12 2.0.12
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
cupertino_back_gesture - 0.1.0 0.1.0
dio - 5.7.0 5.7.0
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
flutter_keyboard_visibility - 6.0.0 6.0.0
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_web_plugins - 0.0.0 0.0.0
google_identity_services_web - 0.3.3 0.3.3
google_sign_in_android - 6.1.34 6.1.34
google_sign_in_ios - 5.7.8 5.7.8
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4+3 0.12.4+3
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
image - 4.3.0 4.5.2
injector - 4.0.0 4.0.0
intl - 0.19.0 0.20.1
json_annotation - 4.9.0 4.9.0
jwt_decoder - 2.0.1 2.0.1
linkify - 5.0.0 5.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
multiple_localization - 0.5.0 0.5.0
octo_image - 2.1.0 2.1.0
package_info_plus - 8.1.2 8.1.2
package_info_plus_platform_interface - 3.0.2 3.0.2
path_parsing - 1.1.0 1.1.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.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
pdf - 3.11.1 3.11.1
pdf_widget_wrapper - 1.0.4 1.0.4
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
printing - 5.13.4 5.13.4
qr - 3.0.2 3.0.2
rxdart - 0.28.0 0.28.0
sign_in_with_apple_platform_interface - 1.1.0 1.1.0
sign_in_with_apple_web - 2.1.1 2.1.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

0
likes
120
points
107
downloads

Publisher

unverified uploader

Weekly Downloads

The school affairs(AP) series shares the engineering kit, rapid development of the school affairs series(AP) app

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ap_common_flutter_core, ap_common_flutter_ui, cached_network_image, cookie_jar, dio_cookie_manager, flutter, flutter_linkify, google_sign_in, path, photo_view, sign_in_with_apple, sprintf

More

Packages that depend on ap_common_announcement_ui