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.

90/ 160
pub points
247
downloads

We analyzed this package 19 hours ago, and awarded it 90 pub points (of a possible 160):

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

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 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.

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

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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 187 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 report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
cloud_firestore ^3.1.6 3.5.1 6.0.2
firebase_auth ^3.2.0 3.11.2 6.1.0
geocoding ^2.0.1 2.2.2 4.0.0
geolocator ^7.7.1 7.7.1 14.0.2
http ^0.13.4 0.13.6 1.5.0
intl ^0.17.0 0.17.0 0.20.2
palette_generator ^0.3.2 0.3.3+7 0.3.3+7 Discontinued
path_provider ^2.0.6 2.1.5 2.1.5
share_plus ^3.0.4 3.1.0 12.0.0
syncfusion_flutter_xlsio ^19.4.42-beta 19.4.56-beta 31.1.22
universal_platform ^1.0.0+1 1.1.0 1.1.0
url_launcher ^6.0.12 6.3.2 6.3.2
xapptor_router ^0.0.2 0.0.2 0.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.0.2 1.3.62
archive - 3.6.1 4.0.7
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
cloud_firestore_platform_interface - 5.7.7 7.0.2
cloud_firestore_web - 2.8.10 5.0.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 6.1.4 7.0.1
firebase - 9.0.3 9.0.3 Discontinued
firebase_analytics - 8.3.4 12.0.2
firebase_analytics_platform_interface - 2.0.1 5.0.2
firebase_analytics_web - 0.3.0+1 0.6.0+2
firebase_auth_platform_interface - 6.10.1 8.1.2
firebase_auth_web - 4.6.1 6.0.3
firebase_core - 1.24.0 4.1.1
firebase_core_platform_interface - 4.8.0 6.0.1
firebase_core_web - 1.7.3 3.1.1
geocoding_android - 3.3.1 4.0.1
geocoding_ios - 2.3.0 3.1.0
geocoding_platform_interface - 3.2.0 3.2.0
geolocator_android - 2.1.0 5.0.2
geolocator_apple - 1.2.2 2.3.13
geolocator_platform_interface - 2.3.6 4.2.6
geolocator_web - 2.0.6 4.1.3
http_parser - 4.1.2 4.1.2
image - 3.1.3 4.5.4
js - 0.6.7 0.7.2 Discontinued
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
petitparser - 5.4.0 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
share_plus_linux - 2.0.4 3.0.1 Discontinued
share_plus_macos - 2.1.0 3.0.1 Discontinued
share_plus_platform_interface - 2.1.0 6.1.0
share_plus_web - 2.0.4 3.1.0 Discontinued
share_plus_windows - 2.0.3 4.0.0 Discontinued
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
syncfusion_flutter_core - 19.4.56 31.1.22
syncfusion_officecore - 19.4.56-beta 31.1.22
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.7
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.23 6.3.23
url_launcher_ios - 6.3.4 6.3.4
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.3 3.2.3
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 5.4.1 6.6.1

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

Found 9 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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
90
points
247
downloads

Publisher

verified publisherxapptor.com

Weekly Downloads

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

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cloud_firestore, firebase_auth, flutter, geocoding, geolocator, http, intl, palette_generator, path_provider, share_plus, syncfusion_flutter_xlsio, universal_platform, url_launcher, xapptor_router

More

Packages that depend on xapptor_logic