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

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

120/ 160
pub points
996
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

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

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

228 out of 233 API elements (97.9 %) have documentation comments.

Some symbols that are missing documentation: olo_pay_sdk.ErrorCodes.ErrorCodes.new, olo_pay_sdk.OloPaySdk.OloPaySdk.new, olo_pay_sdk.TextFieldAlignment, olo_pay_sdk.TextFieldAlignment.stringValue, olo_pay_sdk.TextStyles.getThemeAwareDefaultErrorTextColor.

Passed check 10/10 points: Package has an example

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

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

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/olo_pay_sdk/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm 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 11 issues. Showing the first 2:

INFO: 'alpha' is deprecated and shouldn't be used. Use (*.a * 255.0).round().clamp(0, 255).

lib/src/private/extensions/color_extensions.dart:9:10

  ╷
9 │       '${alpha.toRadixString(16).padLeft(2, '0')}'
  │          ^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/private/extensions/color_extensions.dart

INFO: 'red' is deprecated and shouldn't be used. Use (*.r * 255.0).round().clamp(0, 255).

lib/src/private/extensions/color_extensions.dart:10:10

   ╷
10 │       '${red.toRadixString(16).padLeft(2, '0')}'
   │          ^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/private/extensions/color_extensions.dart

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

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

Package Constraint Compatible Latest Notes
checked_yaml ^2.0.3 2.0.4 2.0.4
collection ^1.18.0 1.19.1 1.19.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
pubspec_parse ^1.2.3 1.5.0 1.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.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
vector_math - 2.2.0 2.2.0
yaml - 3.1.3 3.1.3

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

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_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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: