win32_suspend_process 1.0.0 icon indicating copy to clipboard operation
win32_suspend_process: ^1.0.0 copied to clipboard

Suspend and resume processes on the Windows platform from native dart code.

2
likes
120/ 140
pub points
72%
popularity

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

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger 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: BSD-3-Clause.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 7 out of 8 API elements (87.5 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:win32_suspend_process/win32_suspend_process.dart that imports:
  • package:win32_suspend_process/src/process.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:win32_suspend_process/win32_suspend_process.dart that imports:
  • package:win32_suspend_process/src/process.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:win32_suspend_process/win32_suspend_process.dart that imports:
  • package:win32_suspend_process/src/process.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:win32_suspend_process/win32_suspend_process.dart that imports:
  • package:win32_suspend_process/src/process.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:win32_suspend_process/win32_suspend_process.dart that imports:
  • package:win32_suspend_process/src/process.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 5 issues. Showing the first 2:

INFO: The variable name 'NtResumeProcess' isn't a lowerCamelCase identifier.

lib/src/ntdll.dart:15:5

   ╷
15 │ int NtResumeProcess(int hWnd) {
   │     ^^^^^^^^^^^^^^^
   ╵

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

INFO: The variable name '_NtResumeProcess' isn't a lowerCamelCase identifier.

lib/src/ntdll.dart:16:9

   ╷
16 │   final _NtResumeProcess = _ntdll.lookupFunction<Int32 Function(IntPtr hWnd),
   │         ^^^^^^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
win32^2.0.42.7.04.1.1
Transitive dependencies
PackageConstraintCompatibleLatest
ffi-2.0.12.0.1

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

The constraint `^2.0.4` on win32 does not support the stable version `3.0.0`.

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.25, Dart 2.19.1.

2
likes
120
pub points
72%
popularity

Publisher

verified publisher iconmerritt.codes

Suspend and resume processes on the Windows platform from native dart code.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

win32

More

Packages that depend on win32_suspend_process