flutter_bmflocation 3.8.3+1
flutter_bmflocation: ^3.8.3+1 copied to clipboard
BaiduMapLocation plugin for flutter. This plugin provides a cross-platform (iOS, Android) API to request location.
We analyzed this package 2 days ago, and awarded it 75 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
137 out of 214 API elements (64.0 %) have documentation comments.
Some symbols that are missing documentation: flutter_bmflocation.AuxiliaryFuctionFlutterPlugin, flutter_bmflocation.AuxiliaryFuctionFlutterPlugin.AuxiliaryFuctionFlutterPlugin.new, flutter_bmflocation.AuxiliaryFuctionFlutterPlugin.getNetworkState, flutter_bmflocation.AuxiliaryFuctionFlutterPlugin.networkStateCallback, flutter_bmflocation.BMFActivityType.
10/10 points: Package has 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:flutter_bmflocation/flutter_bmflocation.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flutter_bmflocation/flutter_bmflocation.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_bmflocation/flutter_bmflocation.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_bmflocation/flutter_bmflocation.dartthat 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.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 59 issues. Showing the first 2:
ERROR: The getter 'isOhos' isn't defined for the type 'Platform'.
lib/src/controller/bdmap_location_controller.dart:122:36
╷
122 │ if (Platform.isIOS || Platform.isOhos) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/controller/bdmap_location_controller.dart
ERROR: The getter 'isOhos' isn't defined for the type 'Platform'.
lib/src/private/dispatcher/bdmap_location_options_dispather.dart:58:27
╷
58 │ } else if (Platform.isOhos) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/private/dispatcher/bdmap_location_options_dispather.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
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 | |
vector_math |
- | 2.2.0 | 2.2.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
UNDEFINED_GETTER-lib/src/controller/bdmap_location_controller.dart:122:36- The getter 'isOhos' isn't defined for the type 'Platform'.UNDEFINED_GETTER-lib/src/private/dispatcher/bdmap_location_options_dispather.dart:58:27- The getter 'isOhos' isn't defined for the type 'Platform'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.