flutterduplo 0.0.3 copy "flutterduplo: ^0.0.3" to clipboard
flutterduplo: ^0.0.3 copied to clipboard

A Flutter plugin for making payments via Duplo Payment Gateway. Completely supports all platforms.

0
likes
120/ 140
pub points
20%
popularity

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

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

22 out of 109 API elements (20.2 %) have documentation comments.

Some symbols that are missing documentation: flutterduplo, flutterduplo.AuthenticationException, flutterduplo.AuthenticationException.AuthenticationException, flutterduplo.Bearer, flutterduplo.Bearer.Bearer.

10/10 points: Package has an example

OK
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:flutterduplo/flutterduplo.dart that imports:
  • package:flutterduplo/src/common/duplo.dart that imports:
  • package:flutterduplo/src/ui/checkout/checkout_widget.dart that imports:
  • package:flutterduplo/src/wallet/debitcard.dart that imports:
  • package:flutterduplo/src/api/transaction/cardtransactionmanager.dart that imports:
  • package:flutterduplo/src/api/transaction/basetransactionmanager.dart that imports:
  • package:flutterduplo/src/ui/webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:flutterduplo/flutterduplo.dart that imports:
  • package:flutterduplo/src/common/duplo.dart that imports:
  • package:flutterduplo/src/common/platform_info.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:flutterduplo/flutterduplo.dart that imports:
  • package:flutterduplo/src/common/duplo.dart that imports:
  • package:flutterduplo/src/common/platform_info.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:flutterduplo/flutterduplo.dart that imports:
  • package:flutterduplo/src/common/duplo.dart that imports:
  • package:flutterduplo/src/ui/checkout/checkout_widget.dart that imports:
  • package:flutterduplo/src/wallet/ussd.dart that imports:
  • package:flutterduplo/src/ui/sucessful_widget.dart that imports:
  • package:flutterduplo/src/ui/statuswidget.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:flutterduplo/flutterduplo.dart that imports:
  • package:flutterduplo/src/common/duplo.dart that imports:
  • package:flutterduplo/src/common/platform_info.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:flutterduplo/flutterduplo.dart that imports:
  • package:flutterduplo/src/common/duplo.dart that imports:
  • package:flutterduplo/src/common/platform_info.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 29 issues. Showing the first 2:

INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.

lib/src/constant/constant.dart:11:46

   ╷
11 │   var brightness = SchedulerBinding.instance.window.platformBrightness;
   │                                              ^^^^^^
   ╵

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

INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre.

lib/src/ui/base_widget.dart:19:12

   ╷
19 │     return WillPopScope(
   │            ^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
clipboard ^0.1.3 0.1.3 0.1.3
device_info_plus ^9.0.3 9.1.2 10.1.0
encrypt ^5.0.3 5.0.3 5.0.3
flutter flutter 0.0.0 0.0.0
flutter_to_pdf ^0.1.1 0.1.2 0.2.0
gainer_crypto ^0.0.6 0.0.6 0.0.6
google_fonts ^6.1.0 6.2.1 6.2.1
http ^1.1.0 1.2.1 1.2.1
intl ^0.18.1 0.18.1 0.19.0
open_filex ^4.3.4 4.4.0 4.4.0
package_info_plus ^4.1.0 4.2.0 8.0.0
path_provider ^2.1.1 2.1.3 2.1.3
pin_code_fields ^8.0.1 8.0.1 8.0.1
platform_info ^4.0.2 4.0.2 4.0.2
timer_count_down ^2.2.2 2.2.2 2.2.2
url_launcher ^6.1.14 6.2.6 6.2.6
webview_flutter ^4.2.4 4.7.0 4.7.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.5.1 3.5.1
args - 2.5.0 2.5.0
asn1lib - 1.5.2 1.5.2
async - 2.11.0 2.11.0
barcode - 2.2.8 2.2.8
bidi - 2.0.10 2.0.10
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
device_info_plus_platform_interface - 7.0.0 7.0.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
image - 4.1.7 4.1.7
js - 0.7.1 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
package_info_plus_platform_interface - 2.0.1 3.0.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
pdf - 3.10.8 3.10.8
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.0 3.9.0
qr - 3.0.1 3.0.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.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.1 3.1.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
webview_flutter_android - 3.16.1 3.16.1
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.13.0 3.13.0
win32 - 5.5.0 5.5.0
win32_registry - 1.1.3 1.1.3
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^9.0.3` on device_info_plus does not support the stable version `10.0.0`.

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

The constraint `^0.1.1` on flutter_to_pdf does not support the stable version `0.2.0`, that was published 28 days ago.

When flutter_to_pdf is 30 days old, this package will no longer be awarded points in this category.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.