than_pkg 6.0.0
than_pkg: ^6.0.0 copied to clipboard
My personal Flutter plugin with support for both Android and Linux platforms.
We analyzed this package 14 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
17 out of 248 API elements (6.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: than_pkg, than_pkg.AndroidDeviceInfo, than_pkg.AndroidDeviceInfo.AndroidDeviceInfo.fromMap, than_pkg.AndroidDeviceInfo.AndroidDeviceInfo.new, than_pkg.AndroidDeviceInfo.abi.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:than_pkg/than_pkg.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:than_pkg/than_pkg.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:than_pkg/than_pkg.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
Because:
package:than_pkg/than_pkg.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:than_pkg/than_pkg.dartthat declares support for platforms:Android.
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:than_pkg/than_pkg.dartthat imports:package:window_manager/window_manager.dartthat declares support for platforms:Windows,Linux,macOS.
Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/core/new_packages/video/video_linux_pkg.dart:3:1
╷
3 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/new_packages/video/video_linux_pkg.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/core/old_packages/linux_pkg/linux_app.dart:3:1
╷
3 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/old_packages/linux_pkg/linux_app.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
mime |
^2.0.0 |
2.1.0 | 2.1.0 | |
plugin_platform_interface |
^2.1.8 |
2.1.8 | 2.1.8 | |
window_manager |
^0.5.2 |
0.5.2 | 0.7.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
screen_retriever |
- | 0.2.2 | 0.4.1 | |
screen_retriever_linux |
- | 0.2.2 | 0.2.2 | Discontinued |
screen_retriever_macos |
- | 0.2.2 | 0.2.2 | Discontinued |
screen_retriever_platform_interface |
- | 0.2.2 | 0.2.2 | Discontinued |
screen_retriever_windows |
- | 0.2.2 | 0.2.2 | Discontinued |
vector_math |
- | 2.4.4 | 2.4.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.5.2` on window_manager does not support the stable version `0.6.0`, that was published 22 days ago.
When window_manager is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions window_manager to update the constraint.
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.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.