seatsio 0.3.4
seatsio: ^0.3.4 copied to clipboard
Seatsio SDK for Flutter.
We analyzed this package 23 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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.
10/10 points: 20% or more of the public API has dartdoc comments
106 out of 433 API elements (24.5 %) have documentation comments.
Some symbols that are missing documentation: seatsio, seatsio.BestAvailable, seatsio.BestAvailable.BestAvailable.new, seatsio.BestAvailable.category, seatsio.BestAvailable.clearSelection.
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:seatsio/seatsio.dartthat imports:package:seatsio/src/models/seating_chart.dartthat imports:package:seatsio/src/util/seatsio_web_view_controller.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:seatsio/seatsio.dartthat imports:package:seatsio/src/models/seating_chart.dartthat imports:package:seatsio/src/util/seatsio_web_view_controller.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:seatsio/seatsio.dartthat imports:package:seatsio/src/models/seating_chart.dartthat imports:package:seatsio/src/util/seatsio_web_view_controller.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:seatsio/seatsio.dartthat imports:package:seatsio/src/models/seating_chart.dartthat imports:package:seatsio/src/util/seatsio_web_view_controller.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS.
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:seatsio/seatsio.dartthat imports:package:seatsio/src/models/seating_chart.dartthat imports:package:seatsio/src/util/seatsio_web_view_controller.dartthat imports:package:webview_flutter/webview_flutter.dartthat imports:package:webview_flutter/src/webview.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS.
Package does not support platform `iOS`.
Because:
package:seatsio/seatsio.dartthat imports:package:seatsio/src/models/seating_chart.dartthat imports:package:seatsio/src/util/seatsio_web_view_controller.dartthat imports:package:webview_flutter/webview_flutter.dartthat imports:package:webview_flutter/src/webview.dartthat imports:package:webview_flutter_android/webview_android_cookie_manager.dartthat declares support for platforms:Android.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/ui/seatsio_web_view.dart:143:13
╷
143 │ ┌ debugPrint(
144 │ └ "[Seatsio]-> _onFlutterJsBridgeChannel callback message: ${message.message}");
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/seatsio_web_view.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/ui/seatsio_web_view.dart:159:13
╷
159 │ ┌ debugPrint(
160 │ └ "[Seatsio]-> onObjectClicked callback message: ${message.message}");
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/seatsio_web_view.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
built_collection |
^5.0.0 |
5.1.1 | 5.1.1 | |
built_value |
^8.0.6 |
8.12.1 | 8.12.1 | |
json_annotation |
^4.0.1 |
4.9.0 | 4.9.0 | |
webview_flutter |
^2.0.10 |
2.8.0 | 4.13.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
webview_flutter_android |
- | 2.10.4 | 4.10.11 | |
webview_flutter_platform_interface |
- | 1.9.5 | 2.14.0 | |
webview_flutter_wkwebview |
- | 2.9.5 | 3.23.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.0.10` on webview_flutter does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions webview_flutter to update the constraint.
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 1 error:
UNDEFINED_METHOD-lib/src/util/seatsio_web_view_controller.dart:80:26- The method 'runJavascript' isn't defined for the type 'WebViewController'.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.