smtc_windows 1.1.0
smtc_windows: ^1.1.0 copied to clipboard
Windows `SystemMediaTransportControls` implementation for Flutter giving access to Windows OS Media Control applet.
We analyzed this package 23 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
6 out of 95 API elements (6.3 %) 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: smtc_windows, smtc_windows.MusicMetadata, smtc_windows.MusicMetadata.MusicMetadata.new, smtc_windows.MusicMetadata.album, smtc_windows.MusicMetadata.albumArtist.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Windows
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:smtc_windows/smtc_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:smtc_windows/smtc_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:smtc_windows/smtc_windows.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:smtc_windows/smtc_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:smtc_windows/smtc_windows.dartthat declares support for platforms:Windows.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: Undefined class 'RustLibWasmModule'.
lib/src/rust/frb_generated.web.dart:197:38
╷
197 │ @JS('wasm_bindgen') external RustLibWasmModule get wasmModule;
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/rust/frb_generated.web.dart
ERROR: This requires the 'inline-class' language feature to be enabled.
lib/src/rust/frb_generated.web.dart:199:36
╷
199 │ @JS() @anonymous extension type RustLibWasmModule._(JSObject _) implements JSObject {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/rust/frb_generated.web.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.4 |
2.1.4 | 2.1.4 | |
flutter_rust_bridge |
^2.11.1 |
2.11.1 | 2.11.1 | |
meta |
^1.16.0 |
1.17.0 | 1.17.0 | |
plugin_platform_interface |
^2.1.8 |
2.1.8 | 2.1.8 | |
uuid |
^4.5.1 |
4.5.2 | 4.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
build_cli_annotations |
- | 2.1.1 | 2.1.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
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_CLASS-lib/src/rust/frb_generated.web.dart:197:38- Undefined class 'RustLibWasmModule'.EXPERIMENT_NOT_ENABLED-lib/src/rust/frb_generated.web.dart:199:36- This requires the 'inline-class' language feature to be enabled.
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.