xapptor_logic 0.0.3 copy "xapptor_logic: ^0.0.3" to clipboard
xapptor_logic: ^0.0.3 copied to clipboard

Logic Module for util functions like cross-platform downloaders and functions to retrieve remote info.

2
likes
70/ 140
pub points
0%
popularity

We analyzed this package 6 hours ago, and awarded it 70 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: xapptor_logic,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository has no repository or homepage URL.

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: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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

0 out of 78 API elements (0.0 %) 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.

Some symbols that are missing documentation: check_if_payments_are_enabled, check_if_payments_are_enabled.check_if_payments_are_enabled, check_if_user_is_admin, check_if_user_is_admin.check_if_user_is_admin, coupon.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:xapptor_logic/file_downloader/file_downloader_web.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:xapptor_logic/file_downloader/file_downloader_web.dart that imports:
  • dart:html
Package does not support platform `Windows`.

Because:

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

Because:

  • package:xapptor_logic/check_if_payments_are_enabled.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform macOS

Because:

  • package:xapptor_logic/file_downloader/file_downloader_web.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:xapptor_logic/check_if_payments_are_enabled.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that imports:
  • package:firebase_core_platform_interface/firebase_core_platform_interface.dart that imports:
  • package:firebase_core_platform_interface/src/pigeon/test_api.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 163 issues. Showing the first 2:

INFO: The variable name 'check_if_payments_are_enabled' isn't a lowerCamelCase identifier.

lib/check_if_payments_are_enabled.dart:7:14

  ╷
7 │ Future<bool> check_if_payments_are_enabled() async {
  │              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The variable name 'payment_snap' isn't a lowerCamelCase identifier.

lib/check_if_payments_are_enabled.dart:8:7

  ╷
8 │   var payment_snap = await FirebaseFirestore.instance
  │       ^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/check_if_payments_are_enabled.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
cloud_firestore ^3.1.6 3.5.1 4.17.2
firebase_auth ^3.2.0 3.11.2 4.19.4
flutter flutter 0.0.0 0.0.0
geocoding ^2.0.1 2.2.2 3.0.0
geolocator ^7.7.1 7.7.1 11.0.0
http ^0.13.4 0.13.6 1.2.1
intl ^0.17.0 0.17.0 0.19.0
palette_generator ^0.3.2 0.3.3+3 0.3.3+3
path_provider ^2.0.6 2.1.3 2.1.3
share_plus ^3.0.4 3.1.0 9.0.0
syncfusion_flutter_xlsio ^19.4.42-beta 19.4.56-beta 25.1.41
universal_platform ^1.0.0+1 1.0.0+1 1.0.0+1
url_launcher ^6.0.12 6.2.6 6.2.6
xapptor_router ^0.0.2 0.0.2 0.0.2
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.0.2 1.3.32
archive - 3.4.10 3.4.10
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
cloud_firestore_platform_interface - 5.7.7 6.2.2
cloud_firestore_web - 2.8.10 3.12.2
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
fake_async - 1.3.1 1.3.1
ffi - 2.1.2 2.1.2
file - 6.1.4 7.0.0
firebase - 9.0.3 9.0.3
firebase_analytics - 8.3.4 10.10.4
firebase_analytics_platform_interface - 2.0.1 3.10.5
firebase_analytics_web - 0.3.0+1 0.5.7+4
firebase_auth_platform_interface - 6.10.1 7.2.5
firebase_auth_web - 4.6.1 5.11.4
firebase_core - 1.24.0 2.30.1
firebase_core_platform_interface - 4.8.0 5.0.0
firebase_core_web - 1.7.3 2.16.0
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
geocoding_android - 3.3.0 3.3.0
geocoding_ios - 2.3.0 3.0.1
geocoding_platform_interface - 3.2.0 3.2.0
geolocator_android - 2.1.0 4.5.4
geolocator_apple - 1.2.2 2.3.7
geolocator_platform_interface - 2.3.6 4.2.2
geolocator_web - 2.0.6 3.0.0
http_parser - 4.0.2 4.0.2
image - 3.1.3 4.1.7
js - 0.6.7 0.7.1
leak_tracker - 10.0.0 10.0.5
leak_tracker_flutter_testing - 2.0.1 3.0.5
leak_tracker_testing - 2.0.1 3.0.1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
mime - 1.0.5 1.0.5
path - 1.9.0 1.9.0
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 5.4.0 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.0 3.9.0
share_plus_linux - 2.0.4 3.0.1
share_plus_macos - 2.1.0 3.0.1
share_plus_platform_interface - 2.1.0 4.0.0
share_plus_web - 2.0.4 3.1.0
share_plus_windows - 2.0.3 4.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
syncfusion_flutter_core - 19.4.56 25.1.41
syncfusion_officecore - 19.4.56-beta 25.1.41
term_glyph - 1.2.1 1.2.1
test_api - 0.6.1 0.7.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
vm_service - 13.0.0 14.2.1
web - 0.5.1 0.5.1
win32 - 5.4.0 5.4.0
xdg_directories - 1.0.4 1.0.4
xml - 5.4.1 6.5.0

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

Found 8 issues. Showing the first 2:

The constraint `^3.1.6` on cloud_firestore does not support the stable version `4.0.0`.

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

The constraint `^3.2.0` on firebase_auth does not support the stable version `4.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.