consta_pay_sdk 1.0.0 copy "consta_pay_sdk: ^1.0.0" to clipboard
consta_pay_sdk: ^1.0.0 copied to clipboard

A new flutter Consta Pay SDK project.

2
likes
80/ 160
pub points
31
downloads

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

failed
Follow Dart file conventions
20 / 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.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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: BSL-1.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

5 out of 48 API elements (10.4 %) 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: api_provider, api_provider.APIs, api_provider.APIs.APIs, api_provider.APIs.ROOT_URL, api_provider.APIs.messageBox.

10/10 points: Package has 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 does not support platform `Android`.

Because:

  • package:consta_pay_sdk/api_provider.dart that declares support for platforms: .
Package does not support platform `iOS`.

Because:

  • package:consta_pay_sdk/api_provider.dart that declares support for platforms: .
Package does not support platform `Windows`.

Because:

  • package:consta_pay_sdk/api_provider.dart that declares support for platforms: .
Package does not support platform `Linux`.

Because:

  • package:consta_pay_sdk/api_provider.dart that declares support for platforms: .
Package does not support platform `macOS`.

Because:

  • package:consta_pay_sdk/api_provider.dart that declares support for platforms: .
Package does not support platform `Web`.

Because:

  • package:consta_pay_sdk/api_provider.dart that declares support for platforms: .

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:consta_pay_sdk/lycan_payment.dart that imports:
  • package:consta_pay_sdk/payment_screen.dart that imports:
  • package:consta_pay_sdk/qr_screen.dart that imports:
  • package:consta_pay_sdk/payment_successful.dart that imports:
  • package:flutter_svg/svg.dart that imports:
  • package:flutter_svg/src/vector_drawable.dart that imports:
  • package:flutter_svg/src/svg/parsers.dart that imports:
  • package:flutter_svg/src/utilities/http.dart that imports:
  • package:flutter_svg/src/utilities/_http_io.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 55 issues. Showing the first 2:

INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre.

lib/payment_failed.dart:20:12

   ╷
20 │     return WillPopScope(
   │            ^^^^^^^^^^^^
   ╵

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

INFO: 'WillPopScope.new' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre.

lib/payment_failed.dart:20:12

   ╷
20 │     return WillPopScope(
   │            ^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_svg ^1.0.0 1.1.6 2.0.16
http ^0.13.5 0.13.6 1.2.2
provider ^6.0.3 6.1.2 6.1.2
qr_flutter ^4.0.0 4.1.0 4.1.0
shimmer ^2.0.0 2.0.0 3.0.0
slide_to_act ^2.0.1 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
http_parser - 4.1.1 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.0.2 6.0.2
qr - 3.0.2 3.0.2
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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

Found 3 issues. Showing the first 2:

The constraint `^1.0.0` on flutter_svg does not support the stable version `2.0.0`.

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

The constraint `^0.13.5` on http does not support the stable version `1.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/qr_screen.dart:330:28 - The method 'QrImageView' isn't defined for the type '_QrCodePageScreenState'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

2
likes
80
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

A new flutter Consta Pay SDK project.

Documentation

API reference

License

BSL-1.0 (license)

Dependencies

flutter, flutter_svg, http, provider, qr_flutter, shimmer, slide_to_act

More

Packages that depend on consta_pay_sdk