display_metrics_macos 1.0.1 copy "display_metrics_macos: ^1.0.1" to clipboard
display_metrics_macos: ^1.0.1 copied to clipboard

unlisted

macOS platform implementation of display_metrics plugin. This package will be automatically included in your app when you use display_metrics in macOS project

110/ 160
pub points
1.14k
downloads

We analyzed this package 7 days ago, and awarded it 110 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

5 out of 7 API elements (71.4 %) have documentation comments.

Some symbols that are missing documentation: display_metrics_macos, display_metrics_macos.DisplayMetricsMacos.DisplayMetricsMacos.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:display_metrics_macos/display_metrics_macos.dart that declares support for platforms: macOS.
Package does not support platform `iOS`.

Because:

  • package:display_metrics_macos/display_metrics_macos.dart that declares support for platforms: macOS.
Package does not support platform `Windows`.

Because:

  • package:display_metrics_macos/display_metrics_macos.dart that declares support for platforms: macOS.
Package does not support platform `Linux`.

Because:

  • package:display_metrics_macos/display_metrics_macos.dart that declares support for platforms: macOS.
Package does not support platform `Web`.

Because:

  • package:display_metrics_macos/display_metrics_macos.dart that declares support for platforms: macOS.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: Target of URI doesn't exist: 'package:display_metrics_platform_interface/display_metrics_method_channel.dart'.

lib/display_metrics_macos.dart:3:8

  ╷
3 │ import 'package:display_metrics_platform_interface/display_metrics_method_channel.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Missing concrete implementation of 'abstract class DisplayMetricsPlatform extends PlatformInterface.getDisplays'.

lib/display_metrics_macos.dart:9:7

  ╷
9 │ class DisplayMetricsMacos extends DisplayMetricsPlatform {
  │       ^^^^^^^^^^^^^^^^^^^
  ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
display_metrics_platform_interface ^1.0.3 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
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

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
1.14k
downloads

Publisher

verified publishernukeolay.dev

Weekly Downloads

macOS platform implementation of display_metrics plugin. This package will be automatically included in your app when you use display_metrics in macOS project

Repository (GitHub)
View/report issues

Topics

#screen #ppi #size #resolution #pixels

Documentation

API reference

License

MIT (license)

Dependencies

display_metrics_platform_interface, flutter

More

Packages that depend on display_metrics_macos

Packages that implement display_metrics_macos