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

A new flutter Consta Pay SDK project.

75/ 160
pub points
19
downloads

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

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

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

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: BSL-1.0.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 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.new, api_provider.APIs.ROOT_URL, api_provider.APIs.messageBox.

Passed check 10/10 points: Package has 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 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: .
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 54 issues. Showing the first 2:

INFO: Missing type annotation.

lib/api_provider.dart:7:3

  ╷
7 │   messageBox(context, msg) {
  │   ^^^^^^^^^^
  ╵

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

INFO: Missing type annotation.

lib/api_provider.dart:7:14

  ╷
7 │   messageBox(context, msg) {
  │              ^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
flutter_svg ^1.0.0 1.1.6 2.2.3
http ^0.13.5 0.13.6 1.6.0
provider ^6.0.3 6.1.5+1 6.1.5+1
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 Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.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 - 7.0.1 7.0.1
qr - 3.0.2 3.0.2
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.2.0 2.2.0
xml - 6.6.1 6.6.1

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.

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

Failed check 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.23.8, Flutter 3.38.6, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
75
points
19
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

Packages that implement consta_pay_sdk