bitsdojo_window 0.1.6 bitsdojo_window: ^0.1.6 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 2 days ago, and awarded it 130 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.
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 67 API elements (17.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
, bitsdojo_window.CloseIcon.color
, bitsdojo_window.CloseWindowButton
, bitsdojo_window.CloseWindowButton.CloseWindowButton
, bitsdojo_window.MaximizeIcon.color
.
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/bitsdojo_window.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:bitsdojo_window/bitsdojo_window.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `Web`.
Because:
package:bitsdojo_window/bitsdojo_window.dart
that 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/bitsdojo_window.dart
that imports:package:bitsdojo_window/src/app_window.dart
that imports:package:bitsdojo_window_linux/bitsdojo_window_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `Linux`.
Because:
package:bitsdojo_window/bitsdojo_window.dart
that imports:package:bitsdojo_window/src/app_window.dart
that imports:package:bitsdojo_window_macos/bitsdojo_window_macos.dart
that declares support for platforms:macOS
.
Package does not support platform `macOS`.
Because:
package:bitsdojo_window/bitsdojo_window.dart
that imports:package:bitsdojo_window/src/app_window.dart
that imports:package:bitsdojo_window_linux/bitsdojo_window_linux.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:bitsdojo_window/bitsdojo_window.dart
that imports:package:bitsdojo_window/src/app_window.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.
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 |
---|---|---|---|
bitsdojo_window_linux |
^0.1.4 |
0.1.4 | 0.1.4 |
bitsdojo_window_macos |
^0.1.4 |
0.1.4 | 0.1.4 |
bitsdojo_window_platform_interface |
^0.1.2 |
0.1.2 | 0.1.2 |
bitsdojo_window_windows |
^0.1.6 |
0.1.6 | 0.1.6 |
flutter |
flutter |
0.0.0 | 0.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
ffi |
- | 2.1.3 | 2.1.3 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
win32 |
- | 5.9.0 | 5.9.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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.