bluetooth_enable 0.1.1
bluetooth_enable: ^0.1.1 copied to clipboard
Flutter plugin to turn on bluetooth within app (Android only)
We analyzed this package 7 days ago, and awarded it 90 pub points (of a possible 130):
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: Package has an example
0/10 points: 20% or more of the public API has dartdoc comments
- 0 out of 7 API elements (0.0 %) 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.
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:bluetooth_enable/bluetooth_enable.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:bluetooth_enable/bluetooth_enable.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:bluetooth_enable/bluetooth_enable.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:bluetooth_enable/bluetooth_enable.dart
that declares support for platforms:Android
,iOS
.
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre..
lib/bluetooth_enable.dart:67:13
╷
67 │ FlatButton(
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bluetooth_enable.dart
INFO: 'FlatButton.FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre..
lib/bluetooth_enable.dart:67:13
╷
67 │ FlatButton(
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bluetooth_enable.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter | flutter | 0.0.0 | 0.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.2.0 | 1.2.1 |
collection | - | 1.16.0 | 1.16.0 |
material_color_utilities | - | 0.1.4 | 0.2.0 |
meta | - | 1.7.0 | 1.8.0 |
sky_engine | - | 0.0.99 | 0.0.99 |
vector_math | - | 2.1.2 | 2.1.2 |
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
0/20 points: Package does not opt in to null safety.
Package language version (indicated by the sdk constraint `>=2.1.0 <3.0.0`) is less than 2.12.
Consider migrating.
Analysed with Pana 0.21.15
, Flutter 3.0.5
, Dart 2.17.6
.