another_brother 0.0.34
another_brother: ^0.0.34 copied to clipboard
A flutter plugin for printing with the Brother label and TypeB printers.
We analyzed this package 13 hours ago, and awarded it 90 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: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
67 out of 1453 API elements (4.6 %) 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: another_brother
, another_brother.AnotherBrother
, another_brother.AnotherBrother.AnotherBrother.new
, another_brother.AnotherBrother.platformVersion
, bluetooth_preference
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:another_brother/another_brother.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:another_brother/another_brother.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:another_brother/another_brother.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:another_brother/another_brother.dart
that declares support for platforms:Android
,iOS
.
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.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 146 issues. Showing the first 2:
ERROR: This expression has a type of 'void' so its value can't be used.
lib/printer_info.dart:3300:37
╷
3300 │ FlutterBluePlus flutterBlue = FlutterBluePlus.instance;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/printer_info.dart
ERROR: The static method 'startScan' can't be accessed through an instance.
lib/printer_info.dart:3303:19
╷
3303 │ flutterBlue.startScan(withServices: [Guid("A76EB9E0-F3AC-4990-84CF-3A94D2426B2B")], timeout: Duration(seconds: timeout~/1000));
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/printer_info.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_blue_plus |
^1.1.3 |
1.35.4 | 1.35.4 | |
path_provider |
^2.0.11 |
2.1.5 | 2.1.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
flutter_blue_plus_android |
- | 4.0.2 | 4.0.2 | |
flutter_blue_plus_darwin |
- | 4.0.1 | 4.0.1 | |
flutter_blue_plus_linux |
- | 3.0.1 | 3.0.1 | |
flutter_blue_plus_platform_interface |
- | 4.0.1 | 4.0.1 | |
flutter_blue_plus_web |
- | 3.0.1 | 3.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 6.1.0 | 6.1.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.