win32_gui 1.1.4 copy "win32_gui: ^1.1.4" to clipboard
win32_gui: ^1.1.4 copied to clipboard

Win32 API GUI in Object-Oriented style with some helpers. Uses package `win32` and `dart:ffi`.

6
likes
150/ 160
pub points
23%
popularity

We analyzed this package 2 days ago, and awarded it 150 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/gmpassos/win32_gui/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: 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

6150 out of 19972 API elements (30.8 %) have documentation comments.

Some symbols that are missing documentation: win32_gui.ACCEL.cmd, win32_gui.ACCEL.fVirt, win32_gui.ACCEL.key, win32_gui.ACCEL_VIRT_FLAGS, win32_gui.ACCEL_VIRT_FLAGS.ACCEL_VIRT_FLAGS.

10/10 points: Package has an example and has no issues with screenshots

failed
Platform support
20 / 20trigger 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_gui/win32_gui.dart that imports:
  • package:win32_gui/src/win32_thread.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

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

Because:

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

Because:

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

Because:

  • package:win32_gui/win32_gui.dart that imports:
  • package:win32_gui/src/win32_thread.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:win32_gui/win32_gui.dart that imports:
  • package:win32_gui/src/win32_thread.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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 64 issues. Showing the first 2:

INFO: 'WS_TABSTOP' is deprecated and shouldn't be used. Use WINDOW_STYLE.WS_TABSTOP instead.

lib/src/components/win32_component_button.dart:21:26

   ╷
21 │       int windowStyles = WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
   │                          ^^^^^^^^^^
   ╵

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

INFO: 'WS_VISIBLE' is deprecated and shouldn't be used. Use WINDOW_STYLE.WS_VISIBLE instead.

lib/src/components/win32_component_button.dart:21:39

   ╷
21 │       int windowStyles = WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
   │                                       ^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
collection ^1.17.0 1.19.1 1.19.1
ffi ^2.1.0 2.1.3 2.1.3
logging ^1.1.0 1.3.0 1.3.0
resource_portable ^3.1.0 3.1.0 3.1.0
win32 ^5.0.7 5.8.0 5.8.0
Transitive dependencies
Package Constraint Compatible Latest
path - 1.9.1 1.9.1
typed_data - 1.4.0 1.4.0

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

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, Dart 3.5.4.

Check the analysis log for details.

6
likes
150
pub points
23%
popularity
screenshot

Publisher

unverified uploader

Win32 API GUI in Object-Oriented style with some helpers. Uses package `win32` and `dart:ffi`.

Repository (GitHub)
View/report issues

Topics

#win32 #windows #ffi

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, ffi, logging, resource_portable, win32

More

Packages that depend on win32_gui