bitsdojo_window_support 0.1.1+1 copy "bitsdojo_window_support: ^0.1.1+1" to clipboard
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 [...]

2
likes
100/ 140
pub points
0%
popularity

We analyzed this package 28 hours ago, and awarded it 100 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: bitsdojo_window_support,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: bitsdojo_window_support.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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.

Some symbols that are missing documentation: bitsdojo_window_support, bitsdojo_window_support.CloseIcon.color, bitsdojo_window_support.CloseWindowButton, bitsdojo_window_support.CloseWindowButton.CloseWindowButton, bitsdojo_window_support.MaximizeIcon.color.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:bitsdojo_window_support/bitsdojo_window_support.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:bitsdojo_window_support/bitsdojo_window_support.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_support/bitsdojo_window_support.dart that imports:
  • package:bitsdojo_window_support/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_support/bitsdojo_window_support.dart that imports:
  • package:bitsdojo_window_support/src/app_window.dart that imports:
  • package:bitsdojo_window_windows_support/bitsdojo_window_windows_support.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:bitsdojo_window_support/bitsdojo_window_support.dart that imports:
  • package:bitsdojo_window_support/src/app_window.dart that imports:
  • package:bitsdojo_window_windows_support/bitsdojo_window_windows_support.dart that declares support for platforms: Windows.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

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

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

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

Package Constraint Compatible Latest
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
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
ffi - 1.2.1 2.1.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
win32 - 2.6.1 5.5.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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

2
likes
100
pub points
0%
popularity

Publisher

unverified uploader

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) for Windows and macOS

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

bitsdojo_window_linux, bitsdojo_window_macos, bitsdojo_window_platform_interface, bitsdojo_window_windows_support, flutter

More

Packages that depend on bitsdojo_window_support