patapata_core 1.0.2 copy "patapata_core: ^1.0.2" to clipboard
patapata_core: ^1.0.2 copied to clipboard

A collection of best-practices for building applications quickly and reliably.

7
likes
110/ 140
pub points
52%
popularity

We analyzed this package in the last hour, and awarded it 110 pub points (of a possible 140):

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
10 / 20trigger folding of the section

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

871 out of 955 API elements (91.2 %) have documentation comments.

Some symbols that are missing documentation: patapata_core, patapata_core.DateDateTimeExtension, patapata_core.DeviceInfoLinuxPlatform, patapata_core.DeviceInfoLinuxPlatform.DeviceInfoLinuxPlatform, patapata_core.DeviceInfoLinuxPlatform.deviceInfo.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:patapata_core/patapata_core.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:patapata_core/patapata_core.dart that declares support for platforms: Android, iOS, macOS, 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:patapata_core/patapata_core.dart that imports:
  • package:patapata_core/src/notifications.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:patapata_core/patapata_core.dart that imports:
  • package:patapata_core/src/notifications.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:patapata_core/patapata_core.dart that imports:
  • package:patapata_core/src/notifications.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:patapata_core/patapata_core.dart that imports:
  • package:patapata_core/src/notifications.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that declares support for platforms: Android, iOS, Linux, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Dangling library doc comment.

lib/src/fake_ffi.dart:6:1

  ╷
6 │ ┌ /// This file is for the sole purpose of providing an empty ffi shell for
7 │ └ /// the web. Just to compile things. Not execute.
  ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
args ^2.4.2 2.5.0 2.5.0
collection >=1.17.2 <1.19.0 1.18.0 1.18.0
connectivity_plus ^5.0.0 5.0.2 6.0.3
dart_style ^2.3.2 2.3.6 2.3.6
device_info_plus ^9.0.3 9.1.2 10.1.0
device_info_plus_platform_interface ^7.0.0 7.0.0 7.0.0
flutter flutter 0.0.0 0.0.0
flutter_local_notifications ^15.1.0 15.1.3 17.1.1
flutter_localizations flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
intl >=0.17.0 <0.19.0 0.18.1 0.19.0
logging ^1.2.0 1.2.0 1.2.0
package_info_plus ^4.1.0 4.2.0 8.0.0
provider ^6.0.5 6.1.2 6.1.2
stack_trace ^1.11.0 1.11.1 1.11.1
timezone >=0.9.0 <0.11.0 0.9.3 0.9.3
visibility_detector ^0.4.0+2 0.4.0+2 0.4.0+2
xml ^6.3.0 6.5.0 6.5.0
yaml ^3.1.1 3.1.2 3.1.2
yaml_edit ^2.1.1 2.2.1 2.2.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 67.0.0 68.0.0
analyzer - 6.4.1 6.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
connectivity_plus_platform_interface - 1.2.4 2.0.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_local_notifications_linux - 4.0.0+1 4.0.0+1
flutter_local_notifications_platform_interface - 7.1.0 7.1.0
glob - 2.1.2 2.1.2
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
package_config - 2.1.0 2.1.0
package_info_plus_platform_interface - 2.0.1 3.0.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
win32_registry - 1.1.3 1.1.3
xdg_directories - 1.0.4 1.0.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 5 issues. Showing the first 2:

The constraint `^5.0.0` on connectivity_plus does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.

The constraint `^9.0.3` on device_info_plus does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions device_info_plus to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.