fast_zarinpal 0.1.2 copy "fast_zarinpal: ^0.1.2" to clipboard
fast_zarinpal: ^0.1.2 copied to clipboard

Quick implementation of Zarinpal payments with fast_zarinpal

3
likes
90/ 160
pub points
0%
popularity

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

OK
Follow Dart file conventions
30 / 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

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

31 out of 87 API elements (35.6 %) have documentation comments.

Some symbols that are missing documentation: fast_zarinpal, fast_zarinpal.AnimtedLoading, fast_zarinpal.AnimtedLoading.AnimtedLoading, fast_zarinpal.FastZarinPal, fast_zarinpal.FastZarinPal.FastZarinPal.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

  • package:fast_zarinpal/fast_zarinpal.dart that imports:
  • package:uni_links/uni_links.dart that declares support for platforms: Android, iOS, Web.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.

lib/fast_zarinpal.dart:97:54

   ╷
97 │                           style: themeData.textTheme.subtitle1,
   │                                                      ^^^^^^^^^
   ╵

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

ERROR: The getter 'caption' isn't defined for the type 'TextTheme'.

lib/fast_zarinpal.dart:199:64

    ╷
199 │                                                     .textTheme.caption!
    │                                                                ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/fast_zarinpal.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
cupertino_icons ^1.0.2 1.0.8 1.0.8
equatable ^2.0.5 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.1.1 8.1.6 8.1.6
persian_number_utility ^1.1.2 1.1.4 1.1.4
uni_links ^0.5.1 0.5.1 0.5.1
url_launcher ^6.1.7 6.3.0 6.3.0
zarinpal ^1.0.4+1 1.0.5+1 1.0.5+1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
bloc - 8.1.4 8.1.4
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
dio - 5.5.0+1 5.5.0+1
dio_web_adapter - 1.0.1 1.0.1
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uni_links_platform_interface - 1.0.0 1.0.0
uni_links_web - 0.1.0 0.1.0
url_launcher_android - 6.3.6 6.3.6
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.2.0 3.2.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.2 3.1.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 1.0.0

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 5 errors:

  • UNDEFINED_GETTER - lib/fast_zarinpal.dart:97:54 - The getter 'subtitle1' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/fast_zarinpal.dart:199:64 - The getter 'caption' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/fast_zarinpal.dart:224:66 - The getter 'caption' isn't defined for the type 'TextTheme'.

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.9, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.