instamojo 1.0.0+2 copy "instamojo: ^1.0.0+2" to clipboard
instamojo: ^1.0.0+2 copied to clipboard

Instamojo SDK from Instamojo ported to flutter as plugin with all necessary features and with Null Safety which is implementation by EvilRATT

11
likes
120/ 160
pub points
77%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/evilrat/instamojo/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

76 out of 443 API elements (17.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: api_endpoints, api_endpoints.DEFAULT_ORDER_CREATION_URL, api_endpoints.LIVE_URL, api_endpoints.TEST_URL, api_endpoints.getpaymentMethods.

10/10 points: Package has an example

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

Because:

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

Because:

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

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

Package does not support platform `Web`.

Because:

  • package:instamojo/instamojo.dart that imports:
  • package:instamojo/widgets/payment_modes.dart that imports:
  • package:instamojo/widgets/wallet/wallet.dart that imports:
  • package:instamojo/widgets/browser.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:instamojo/instamojo.dart that imports:
  • package:instamojo/widgets/payment_modes.dart that imports:
  • package:instamojo/widgets/wallet/wallet.dart that imports:
  • package:instamojo/widgets/browser.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that imports:
  • package:flutter_inappwebview/src/main.dart that imports:
  • package:flutter_inappwebview/src/web_message/main.dart that imports:
  • package:flutter_inappwebview/src/web_message/web_message_listener.dart that imports:
  • package:flutter_inappwebview/src/types.dart that imports:
  • package:flutter_inappwebview/src/web_message/web_message_channel.dart that imports:
  • package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.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.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/instamojo/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.

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

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

Found 19 issues. Showing the first 2:

WARNING: Unused import: 'package:flutter/material.dart'.

lib/bloc/instamojo_event.dart:2:8

  ╷
2 │ import 'package:flutter/material.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: Unused import: 'package:flutter/material.dart'.

lib/controllers/instamojo_controller.dart:1:8

  ╷
1 │ import 'package:flutter/material.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
decimal ^2.1.0 2.3.3 3.0.2
equatable ^2.0.3 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
flutter_bloc ^7.3.3 7.3.3 8.1.6
flutter_inappwebview ^5.3.2 5.8.0 6.1.5
flutter_web_plugins flutter 0.0.0 0.0.0
http ^0.13.4 0.13.6 1.2.2
meta ^1.7.0 1.15.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
bloc - 7.2.1 8.1.4
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
http_parser - 4.0.2 4.1.1
material_color_utilities - 0.11.1 0.12.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
provider - 6.1.2 6.1.2
rational - 2.2.3 2.2.3
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4

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

Found 4 issues. Showing the first 2:

The constraint `^2.1.0` on decimal does not support the stable version `3.0.0`.

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

The constraint `^7.3.3` on flutter_bloc does not support the stable version `8.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

11
likes
120
pub points
77%
popularity

Publisher

verified publisherevilrattechnologies.com

Instamojo SDK from Instamojo ported to flutter as plugin with all necessary features and with Null Safety which is implementation by EvilRATT

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

decimal, equatable, flutter, flutter_bloc, flutter_inappwebview, flutter_web_plugins, http, meta

More

Packages that depend on instamojo