mtrust_sec_kit 1.0.1 copy "mtrust_sec_kit: ^1.0.1" to clipboard
mtrust_sec_kit: ^1.0.1 copied to clipboard

A comprehensive SDK for interfacing with the MTrust SEC Readers. Including an example to get you started as fast as possible.

0
likes
140/ 160
pub points
59
downloads

We analyzed this package 6 days ago, and awarded it 140 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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

1000 out of 1662 API elements (60.2 %) have documentation comments.

Some symbols that are missing documentation: mtrust_sec_kit, mtrust_sec_kit.BatteryIndicator, mtrust_sec_kit.BatteryIndicator.BatteryIndicator, mtrust_sec_kit.BatteryIndicator.lowIndicatorPercentage, mtrust_sec_kit.BatteryIndicator.percentage.

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:mtrust_sec_kit/mtrust_sec_kit.dart that imports:
  • package:mtrust_sec_kit/src/ui/sec_view.dart that imports:
  • package:mtrust_sec_kit/src/ui/scanning_instruction.dart that imports:
  • package:mtrust_urp_ui/mtrust_urp_ui.dart that imports:
  • package:mtrust_urp_ui/src/utils/battery_indicator.dart that imports:
  • package:liquid_flutter/liquid_flutter.dart that imports:
  • package:liquid_flutter/src/liquid_orb.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:mtrust_sec_kit/mtrust_sec_kit.dart that imports:
  • package:mtrust_sec_kit/src/ui/sec_view.dart that imports:
  • package:mtrust_sec_kit/src/ui/scanning_instruction.dart that imports:
  • package:mtrust_urp_ui/mtrust_urp_ui.dart that imports:
  • package:mtrust_urp_ui/src/utils/battery_indicator.dart that imports:
  • package:liquid_flutter/liquid_flutter.dart that imports:
  • package:liquid_flutter/src/liquid_orb.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:mtrust_sec_kit/mtrust_sec_kit.dart that imports:
  • package:mtrust_sec_kit/src/ui/sec_view.dart that imports:
  • package:mtrust_sec_kit/src/ui/scanning_instruction.dart that imports:
  • package:mtrust_urp_ui/mtrust_urp_ui.dart that imports:
  • package:mtrust_urp_ui/src/utils/battery_indicator.dart that imports:
  • package:liquid_flutter/liquid_flutter.dart that imports:
  • package:liquid_flutter/src/liquid_orb.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:mtrust_sec_kit/mtrust_sec_kit.dart that imports:
  • package:mtrust_sec_kit/src/ui/sec_view.dart that imports:
  • package:mtrust_sec_kit/src/ui/scanning_instruction.dart that imports:
  • package:mtrust_urp_ui/mtrust_urp_ui.dart that imports:
  • package:mtrust_urp_ui/src/utils/battery_indicator.dart that imports:
  • package:liquid_flutter/liquid_flutter.dart that imports:
  • package:liquid_flutter/src/window_frame.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mtrust_sec_kit/mtrust_sec_kit.dart that imports:
  • package:mtrust_sec_kit/src/ui/sec_view.dart that imports:
  • package:mtrust_sec_kit/src/ui/scanning_instruction.dart that imports:
  • package:mtrust_urp_ui/mtrust_urp_ui.dart that imports:
  • package:mtrust_urp_ui/src/utils/battery_indicator.dart that imports:
  • package:liquid_flutter/liquid_flutter.dart that imports:
  • package:liquid_flutter/src/window_frame.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

/tmp/pana_JDMELU/lib/src/sec_reader_exception.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_JDMELU/lib/src/ui/l10n/sec_locale.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
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
flutter flutter 0.0.0 0.0.0
flutter_localizations flutter 0.0.0 0.0.0
intl ^0.19.0 0.19.0 0.20.1
liquid_flutter ^15.3.2 15.3.2 17.1.1
mtrust_urp_core ^8.0.1 8.0.1 8.0.1
mtrust_urp_types ^4.1.0 4.1.0 4.1.0
mtrust_urp_ui ^8.0.1 8.0.1 8.0.1
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_animate - 4.5.2 4.5.2
flutter_portal - 1.1.4 1.1.4
flutter_shaders - 0.1.3 0.1.3
flutter_sticky_header - 0.6.5 0.7.0
flutter_svg - 2.0.16 2.0.16
flutter_web_plugins - 0.0.0 0.0.0
haptic_feedback - 0.4.2 0.5.1+1
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
logger - 2.5.0 2.5.0
logging - 1.3.0 1.3.0
lottie - 2.7.0 3.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mtrust_better_log - 1.0.0 1.0.0
multi_split_view - 2.4.0 3.6.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
protobuf - 3.1.0 3.1.0
provider - 6.1.2 6.1.2
responsive_builder - 0.7.1 0.7.1
sensors_plus - 5.0.1 6.1.1
sensors_plus_platform_interface - 1.2.0 2.0.1
shared_preferences - 2.3.4 2.3.4
shared_preferences_android - 2.4.0 2.4.0
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
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
value_layout_builder - 0.3.1 0.4.0
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

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

The constraint `^15.3.2` on liquid_flutter does not support the stable version `17.0.0`, that was published 1 days ago.

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

Try running dart pub upgrade --major-versions liquid_flutter 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

0
likes
140
points
59
downloads

Publisher

verified publishermtrust.io

Weekly Downloads

A comprehensive SDK for interfacing with the MTrust SEC Readers. Including an example to get you started as fast as possible.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, flutter_localizations, intl, liquid_flutter, mtrust_urp_core, mtrust_urp_types, mtrust_urp_ui

More

Packages that depend on mtrust_sec_kit