olo_pay_sdk 1.1.0 copy "olo_pay_sdk: ^1.1.0" to clipboard
olo_pay_sdk: ^1.1.0 copied to clipboard

Olo Pay Flutter SDK: Add simple PCI-compliant payments to your apps

3
likes
120/ 160
pub points
59%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

187 out of 187 API elements (100.0 %) have documentation comments.

10/10 points: Package has an example

failed
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:olo_pay_sdk/olo_pay_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:olo_pay_sdk/olo_pay_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:olo_pay_sdk/olo_pay_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:olo_pay_sdk/olo_pay_sdk.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:olo_pay_sdk/olo_pay_sdk.dart that imports:
  • package:olo_pay_sdk/olo_pay_sdk_data_types.dart that imports:
  • package:olo_pay_sdk/src/public/data_types.dart that imports:
  • package:olo_pay_sdk/src/public/widgets/card_details_single_line_text_field.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 4 issues. Showing the first 2:

INFO: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.

lib/src/public/data_classes/background_styles.dart:106:32

    ╷
106 │             theme?.colorScheme.background ??
    │                                ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/public/data_classes/background_styles.dart

INFO: 'onBackground' is deprecated and shouldn't be used. Use onSurface instead. This feature was deprecated after v3.18.0-0.1.pre.

lib/src/public/data_classes/background_styles.dart:110:32

    ╷
110 │             theme?.colorScheme.onBackground ??
    │                                ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/public/data_classes/background_styles.dart

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

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

Package Constraint Compatible Latest
checked_yaml ^2.0.3 2.0.3 2.0.3
collection ^1.18.0 1.18.0 1.19.0
flutter flutter 0.0.0 0.0.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
pubspec_parse ^1.2.3 1.3.0 1.3.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.0
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
vector_math - 2.1.4 2.1.4
yaml - 3.1.2 3.1.2

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

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_GETTER - lib/src/private/data/olo_pubspec.dart:21:53 - The getter 'canonicalizedVersion' isn't defined for the type 'Version'.

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.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

3
likes
120
pub points
59%
popularity

Publisher

verified publisherolo.com

Olo Pay Flutter SDK: Add simple PCI-compliant payments to your apps

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

checked_yaml, collection, flutter, plugin_platform_interface, pubspec_parse

More

Packages that depend on olo_pay_sdk