bitsdojo_window_v3 3.0.0
bitsdojo_window_v3: ^3.0.0 copied to clipboard
A package to help with creating custom windows with Flutter desktop (custom border, titlebar and minimize/maximize/close buttons) and common desktop window operations (show/hide/position on screen) fo [...]
We analyzed this package 9 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
Homepage URL doesn't exist.
At the time of the analysis https://www.bitsdojo.com was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/DartGit-dev/bitsdojo_window 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
12 out of 71 API elements (16.9 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: bitsdojo_window_v3, bitsdojo_window_v3.CloseIcon.CloseIcon.new, bitsdojo_window_v3.CloseIcon.color, bitsdojo_window_v3.CloseWindowButton, bitsdojo_window_v3.CloseWindowButton.CloseWindowButton.new.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:bitsdojo_window_v3/bitsdojo_window_v3.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `iOS`.
Because:
package:bitsdojo_window_v3/bitsdojo_window_v3.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `Web`.
Because:
package:bitsdojo_window_v3/bitsdojo_window_v3.dartthat declares support for platforms: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 `Windows`.
Because:
package:bitsdojo_window_v3/bitsdojo_window_v3.dartthat imports:package:bitsdojo_window_v3/src/app_window.dartthat imports:package:bitsdojo_window_linux_v3/bitsdojo_window_linux.dartthat declares support for platforms:Linux.
Package does not support platform `Linux`.
Because:
package:bitsdojo_window_v3/bitsdojo_window_v3.dartthat imports:package:bitsdojo_window_v3/src/app_window.dartthat imports:package:bitsdojo_window_macos_v3/bitsdojo_window_macos.dartthat declares support for platforms:macOS.
Package does not support platform `macOS`.
Because:
package:bitsdojo_window_v3/bitsdojo_window_v3.dartthat imports:package:bitsdojo_window_v3/src/app_window.dartthat imports:package:bitsdojo_window_linux_v3/bitsdojo_window_linux.dartthat declares support for platforms:Linux.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:bitsdojo_window_v3/bitsdojo_window_v3.dartthat imports:package:bitsdojo_window_v3/src/app_window.dartthat 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/widgets/window_button.dart:116:66
╷
116 │ getBackgroundColor(MouseState()..isMouseOver = true).withOpacity(0);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/window_button.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bitsdojo_window_linux_v3 |
^3.0.0 |
3.0.1 | 3.0.1 | |
bitsdojo_window_macos_v3 |
^3.0.0 |
3.0.0 | 3.0.0 | |
bitsdojo_window_platform_interface_v3 |
^3.0.0 |
3.0.0 | 3.0.0 | |
bitsdojo_window_windows_v3 |
^3.0.0 |
3.0.1 | 3.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
win32 |
- | 5.15.0 | 5.15.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
URI_DOES_NOT_EXIST-lib/src/app_window.dart:3:8- Target of URI doesn't exist: 'package:bitsdojo_window_windows_v3/bitsdojo_window_windows_v3.dart'.UNDEFINED_FUNCTION-lib/src/app_window.dart:16:43- The function 'BitsdojoWindowWindows' isn't defined.URI_DOES_NOT_EXIST-lib/src/widgets/window_border.dart:1:8- Target of URI doesn't exist: 'package:bitsdojo_window_windows_v3/bitsdojo_window_windows_v3.dart'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.