ioka 1.0.2 copy "ioka: ^1.0.2" to clipboard
ioka: ^1.0.2 copied to clipboard

Flutter SDK for ioka.kz

5
likes
60/ 160
pub points
74
downloads

We analyzed this package 43 hours ago, and awarded it 60 pub points (of a possible 160):

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.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/iokadev/ioka-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

154 out of 639 API elements (24.1 %) have documentation comments.

Some symbols that are missing documentation: ioka, ioka.$AmountCategoryMap, ioka.$CaptureMethodMap, ioka.$CardStatusMap, ioka.$CurrencyEnumMap.

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

Because:

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

Because:

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

Because:

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

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:ioka/ioka.dart that imports:
  • package:ioka/src/widgets/cupertino_widgets.dart that imports:
  • package:ioka/src/views/payment_confirmation/cupertino_payment_confirmation_view.dart that imports:
  • package:ioka/src/views/confirmation/cupertino_confirmation_view.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS.
Package does not support platform `iOS`.

Because:

  • package:ioka/ioka.dart that imports:
  • package:ioka/src/widgets/cupertino_widgets.dart that imports:
  • package:ioka/src/views/payment_confirmation/cupertino_payment_confirmation_view.dart that imports:
  • package:ioka/src/views/confirmation/cupertino_confirmation_view.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_android/webview_surface_android.dart that declares support for platforms: Android.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 103 issues. Showing the first 2:

ERROR: The named parameter 'headline1' isn't defined.

lib/src/widgets/theme/generator/material_theme_generator.dart:34:9

   ╷
34 │         headline1: typography.heading,
   │         ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/theme/generator/material_theme_generator.dart

ERROR: The named parameter 'headline2' isn't defined.

lib/src/widgets/theme/generator/material_theme_generator.dart:35:9

   ╷
35 │         headline2: typography.heading,
   │         ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/theme/generator/material_theme_generator.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
chopper ^4.0.1 4.0.6 8.0.3
collection ^1.15.0 1.19.0 1.19.1
credit_card_scanner ^1.0.4 1.0.5 1.0.5
credit_card_type_detector ^2.0.0 2.0.0 3.0.0
credit_card_validator ^2.0.1 2.0.1 2.1.0
flutter flutter 0.0.0 0.0.0
flutter_svg ^1.0.3 1.1.6 2.0.16
get_it ^7.2.0 7.7.0 8.0.3
json_annotation ^4.4.0 4.9.0 4.9.0
provider ^6.0.2 6.1.2 6.1.2
webview_flutter ^3.0.0 3.0.4 4.10.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
http - 0.13.6 1.2.2
http_parser - 4.1.1 4.1.1
logging - 1.3.0 1.3.0
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
plugin_platform_interface - 2.1.8 2.1.8
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
webview_flutter_android - 2.10.4 4.2.0
webview_flutter_platform_interface - 1.9.5 2.10.0
webview_flutter_wkwebview - 2.9.5 3.16.3
xml - 6.5.0 6.5.0

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

Found 5 issues. Showing the first 2:

The constraint `^4.0.1` on chopper does not support the stable version `5.0.0`.

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

The constraint `^2.0.0` on credit_card_type_detector does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions credit_card_type_detector 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 23 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/widgets/theme/generator/material_theme_generator.dart:34:9 - The named parameter 'headline1' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/widgets/theme/generator/material_theme_generator.dart:35:9 - The named parameter 'headline2' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/widgets/theme/generator/material_theme_generator.dart:36:9 - The named parameter 'headline3' isn't defined.

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.