bitsdojo_window_support 0.1.1+1
bitsdojo_window_support: ^0.1.1+1 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 22 days ago, and awarded it 120 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.
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: bitsdojo_window_support.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: bitsdojo_window_support, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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_support, bitsdojo_window_support.CloseIcon.CloseIcon.new, bitsdojo_window_support.CloseIcon.color, bitsdojo_window_support.CloseWindowButton, bitsdojo_window_support.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_support/bitsdojo_window_support.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `iOS`.
Because:
package:bitsdojo_window_support/bitsdojo_window_support.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `Web`.
Because:
package:bitsdojo_window_support/bitsdojo_window_support.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_support/bitsdojo_window_support.dartthat imports:package:bitsdojo_window_support/src/app_window.dartthat imports:package:bitsdojo_window_linux/bitsdojo_window_linux.dartthat declares support for platforms:Linux.
Package does not support platform `Linux`.
Because:
package:bitsdojo_window_support/bitsdojo_window_support.dartthat imports:package:bitsdojo_window_support/src/app_window.dartthat imports:package:bitsdojo_window_windows_support/bitsdojo_window_windows_support.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:bitsdojo_window_support/bitsdojo_window_support.dartthat imports:package:bitsdojo_window_support/src/app_window.dartthat imports:package:bitsdojo_window_windows_support/bitsdojo_window_windows_support.dartthat declares support for platforms:Windows.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
WARNING: The '!' will have no effect because the receiver can't be null.
lib/src/widgets/mouse_state_builder.dart:60:38
╷
60 │ WidgetsBinding.instance!.addPostFrameCallback((_) {
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/mouse_state_builder.dart
INFO: The import of 'package:flutter/widgets.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.
lib/src/widgets/window_button.dart:2:8
╷
2 │ import 'package:flutter/widgets.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
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 |
^0.1.1 |
0.1.2 | 0.1.4 | |
bitsdojo_window_macos |
^0.1.0 |
0.1.2 | 0.1.4 | |
bitsdojo_window_platform_interface |
^0.1.0 |
0.1.2 | 0.1.2 | |
bitsdojo_window_windows_support |
^0.1.0 |
0.1.0 | 0.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 1.2.1 | 2.1.4 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
win32 |
- | 2.6.1 | 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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.