win32_suspend_process 1.0.0
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):
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
.
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.
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
.
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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
win32 | ^2.0.4 | 2.7.0 | 4.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
ffi | - | 2.0.1 | 2.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
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with Pana 0.21.25
, Dart 2.19.1
.