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 5 days ago, and awarded it 80 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.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:another_brother/another_brother.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:another_brother/another_brother.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:another_brother/another_brother.dartthat declares support for platforms:Android,iOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 164 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
0/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.36.8 | 2.1.0 | |
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.1 | |
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 |
- | 7.0.4 | 8.1.0 | |
flutter_blue_plus_darwin |
- | 7.0.3 | 8.1.0 | |
flutter_blue_plus_linux |
- | 7.0.3 | 8.1.0 | |
flutter_blue_plus_platform_interface |
- | 7.0.0 | 8.1.0 | |
flutter_blue_plus_web |
- | 7.0.2 | 8.1.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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 |
- | 7.0.1 | 7.0.1 | |
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.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.1.3` on flutter_blue_plus does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_blue_plus 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.