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

60/ 160
pub points
48
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

Detected license: MIT.

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

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.new, fast_zarinpal.FastZarinPal, fast_zarinpal.FastZarinPal.FastZarinPal.new.

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)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 7 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 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
cupertino_icons ^1.0.2 1.0.8 1.0.8
equatable ^2.0.5 2.0.8 2.0.8
flutter_bloc ^8.1.1 8.1.6 9.1.1
persian_number_utility ^1.1.2 1.1.6 1.1.6
uni_links ^0.5.1 0.5.1 0.5.1 Discontinued
url_launcher ^6.1.7 6.3.2 6.3.2
zarinpal ^1.0.4+1 1.0.5+1 2.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
bloc - 8.1.4 9.2.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
dio - 5.9.2 5.9.2
dio_web_adapter - 2.1.2 2.1.2
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
source_span - 1.10.2 1.10.2
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uni_links_platform_interface - 1.0.0 1.0.0
uni_links_web - 0.1.0 0.1.0
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.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 `^8.1.1` on flutter_bloc does not support the stable version `9.0.0`.

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

The constraint `^1.0.4+1` on zarinpal does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions zarinpal 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 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.23.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: