checkout 0.0.1 copy "checkout: ^0.0.1" to clipboard
checkout: ^0.0.1 copied to clipboard

A new Flutter package project.

0
likes
70/ 140
pub points
0%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://gitlab.com/storegence/flutter/checkout was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
0 / 20trigger folding of the section

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

40 out of 312 API elements (12.8 %) 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: button_Global, button_Global.ButtonGlobal, button_Global.ButtonGlobal.ButtonGlobal, button_Global.ButtonGlobal.onTap, button_Global.ButtonGlobal.text.

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:checkout/checkout.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:checkout/checkout.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:checkout/checkout.dart that imports:
  • package:checkout/functions/toasts.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:checkout/checkout.dart that imports:
  • package:checkout/database/db.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 131 issues. Showing the first 2:

WARNING: Unused import: 'package:loader_overlay/src/overlay_controller_widget_extension.dart'.

lib/checkout.dart:17:8

   ╷
17 │ import 'package:loader_overlay/src/overlay_controller_widget_extension.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The value of the local variable 'idToken' isn't used.

lib/checkout.dart:385:13

    ╷
385 │       final idToken = await user!.getIdToken();
    │             ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/checkout.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
carousel_slider ^4.0.0 4.2.1 4.2.1
cloud_firestore ^3.1.0 3.5.1 4.17.0
country_code_picker ^2.0.2 2.0.2 3.0.0
cupertino_icons ^1.0.2 1.0.8 1.0.8
double_back_to_close_app ^2.0.1 2.1.0 2.1.0
firebase_auth ^3.1.4 3.11.2 4.19.2
firebase_core ^1.7.0 1.24.0 2.30.0
firebase_crashlytics ^2.3.0 2.9.0 3.5.2
firebase_remote_config ^0.11.0+1 0.11.0+2 4.4.2
flutter flutter 0.0.0 0.0.0
flutter_easyloading ^3.0.3 3.0.5 3.0.5
flutter_launcher_icons ^0.9.2 0.9.3 0.13.1
flutter_native_splash ^1.2.4 1.3.3 2.4.0
flutter_stripe ^2.0.2 2.5.0 10.1.1
fluttertoast ^8.0.8 8.2.5 8.2.5
font_awesome_flutter ^9.2.0 9.2.0 10.7.0
geocoding ^2.0.1 2.2.2 3.0.0
geolocator ^7.7.0 7.7.1 11.0.0
get ^4.3.8 4.6.6 4.6.6
google_fonts ^2.1.0 2.3.3 6.2.1
google_maps_flutter ^2.0.11 2.6.1 2.6.1
google_sign_in ^5.2.0 5.4.4 6.2.1
hive ^2.0.4 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
http ^0.13.4 0.13.6 1.2.1
intl ^0.17.0 0.17.0 0.19.0
loader_overlay ^2.0.4 2.3.2 4.0.0
lottie ^1.2.1 1.4.3 3.1.0
oauth2 ^2.0.0 2.0.2 2.0.2
package_info_plus ^1.3.0 1.4.3+1 7.0.0
path ^1.8.0 1.9.0 1.9.0
path_provider ^2.0.5 2.1.3 2.1.3
persistent_bottom_nav_bar ^4.0.2 4.0.2 5.0.2
pull_to_refresh ^2.0.0 2.0.0 2.0.0
shared_preferences ^2.0.8 2.2.3 2.2.3
skeleton_loader ^2.0.0+4 2.0.0+4 2.0.0+4
sqflite ^2.0.0+4 2.3.3 2.3.3
url_launcher ^6.0.12 6.2.6 6.2.6
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.0.2 1.3.30
archive - 3.4.10 3.4.10
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
back_button_interceptor - 6.0.2 7.0.3
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.0
cloud_firestore_web - 2.8.10 3.12.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
fake_async - 1.3.1 1.3.1
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
firebase_auth_platform_interface - 6.10.1 7.2.3
firebase_auth_web - 4.6.1 5.11.2
firebase_core_platform_interface - 4.8.0 5.0.0
firebase_core_web - 1.7.3 2.15.0
firebase_crashlytics_platform_interface - 3.3.0 3.6.30
firebase_remote_config_platform_interface - 0.3.0+7 1.4.30
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_spinkit - 5.2.1 5.2.1
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.1 2.4.1
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
google_maps - 7.1.0 7.1.0
google_maps_flutter_android - 2.7.0 2.7.0
google_maps_flutter_ios - 2.6.0 2.6.0
google_maps_flutter_platform_interface - 2.6.0 2.6.0
google_maps_flutter_web - 0.5.6+2 0.5.6+2
google_sign_in_android - 6.1.23 6.1.23
google_sign_in_ios - 5.7.6 5.7.6
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.10.2+1 0.12.4
html - 0.15.4 0.15.4
http_parser - 4.0.2 4.0.2
image - 3.1.3 4.1.7
js - 0.6.7 0.7.1
js_wrapping - 0.7.4 0.7.4
json_annotation - 4.8.1 4.8.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
modal_bottom_sheet - 2.1.2 3.0.0
package_info_plus_linux - 1.0.5 2.0.0
package_info_plus_macos - 1.3.0 2.0.0
package_info_plus_platform_interface - 1.0.2 3.0.0
package_info_plus_web - 1.0.6 2.0.0
package_info_plus_windows - 2.1.0 3.0.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.8.0 3.8.0
sanitize_html - 2.1.0 2.1.0
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
shimmer - 2.0.0 3.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite_common - 2.5.4 2.5.4
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
stripe_android - 2.5.0 10.1.1
stripe_ios - 2.5.0 10.1.0
stripe_platform_interface - 2.5.0+1 10.1.1
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
test_api - 0.6.1 0.7.1
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
universal_platform - 1.0.0+1 1.0.0+1
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 - 3.1.4 5.4.0
xdg_directories - 1.0.4 1.0.4
xml - 5.4.1 6.5.0
yaml - 3.1.2 3.1.2

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

Found 20 issues. Showing the first 2:

The constraint `^3.1.0` 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 `^2.0.2` on country_code_picker does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions country_code_picker 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.