modern_titlebar_buttons 1.1.1 copy "modern_titlebar_buttons: ^1.1.1" to clipboard
modern_titlebar_buttons: ^1.1.1 copied to clipboard

A package which provides most of the titlebar buttons from windows, linux and macos. forked from titlebar_buttons

1
likes
110/ 140
pub points
30%
popularity

We analyzed this package 4 days ago, and awarded it 110 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

Repository URL doesn't exist.

At the time of the analysis https://github.com/ArcaneArts/modern_titlebar_buttons was unreachable. Make sure that the website is reachable via HEAD requests.

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: modern_titlebar_buttons,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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: MPL-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

22 out of 33 API elements (66.7 %) have documentation comments.

Some symbols that are missing documentation: modern_titlebar_buttons, modern_titlebar_buttons.DecoratedCloseButton, modern_titlebar_buttons.DecoratedCloseButton.DecoratedCloseButton, modern_titlebar_buttons.DecoratedMaximizeButton, modern_titlebar_buttons.DecoratedMaximizeButton.DecoratedMaximizeButton.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:modern_titlebar_buttons/modern_titlebar_buttons.dart that declares support for platforms: Android, iOS, 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 `Android`.

Because:

  • package:modern_titlebar_buttons/modern_titlebar_buttons.dart that imports:
  • package:modern_titlebar_buttons/src/decorated_button.dart that imports:
  • package:modern_titlebar_buttons/src/get_theme.dart that imports:
  • package:gsettings/gsettings.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:modern_titlebar_buttons/modern_titlebar_buttons.dart that imports:
  • package:modern_titlebar_buttons/src/decorated_button.dart that imports:
  • package:modern_titlebar_buttons/src/get_theme.dart that imports:
  • package:gsettings/gsettings.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:modern_titlebar_buttons/modern_titlebar_buttons.dart that imports:
  • package:modern_titlebar_buttons/src/decorated_button.dart that imports:
  • package:modern_titlebar_buttons/src/get_theme.dart that imports:
  • package:gsettings/gsettings.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:modern_titlebar_buttons/modern_titlebar_buttons.dart that imports:
  • package:modern_titlebar_buttons/src/decorated_button.dart that imports:
  • package:modern_titlebar_buttons/src/get_theme.dart that imports:
  • package:gsettings/gsettings.dart that declares support for platforms: Linux.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: 'describeEnum' is deprecated and shouldn't be used. Use the `name` getter on enums instead. This feature was deprecated after v3.14.0-2.0.pre.

lib/src/decorated_button.dart:165:19

    ╷
165 │                   describeEnum(element).toParamCase(),
    │                   ^^^^^^^^^^^^
    ╵

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

INFO: 'describeEnum' is deprecated and shouldn't be used. Use the `name` getter on enums instead. This feature was deprecated after v3.14.0-2.0.pre.

lib/src/decorated_button.dart:170:23

    ╷
170 │     final themeName = describeEnum(type).toParamCase();
    │                       ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/decorated_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
change_case ^2.0.1 2.0.1 2.0.1
dbus ^0.7.10 0.7.10 0.7.10
flutter flutter 0.0.0 0.0.0
flutter_svg >=2.0.0 <3.0.0 2.0.10+1 2.0.10+1
gsettings ^0.2.8 0.2.8 0.2.8
universal_io ^2.2.2 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
ffi - 2.1.2 2.1.2
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_graphics - 1.1.11+1 1.1.11+1
vector_graphics_codec - 1.1.11+1 1.1.11+1
vector_graphics_compiler - 1.1.11+1 1.1.11+1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.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.22.1, Dart 3.4.1.

Check the analysis log for details.

1
likes
110
pub points
30%
popularity

Publisher

verified publisherarcane.art

A package which provides most of the titlebar buttons from windows, linux and macos. forked from titlebar_buttons

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (LICENSE)

Dependencies

change_case, dbus, flutter, flutter_svg, gsettings, universal_io

More

Packages that depend on modern_titlebar_buttons