Skip to main content

gamepads_web 0.1.2 copy "gamepads_web: ^0.1.2" to clipboard
gamepads_web: ^0.1.2 copied to clipboard

Platformweb

Web implementation of gamepads, a Flutter plugin to handle gamepad input across multiple platforms.

120/ 160
pub points
23.5k
downloads

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

5 out of 16 API elements (31.3 %) have documentation comments.

Some symbols that are missing documentation: gamepads_web, gamepads_web.GamepadsWeb.GamepadsWeb.new, gamepads_web.GamepadsWeb.controllers, gamepads_web.GamepadsWeb.dispose, gamepads_web.GamepadsWeb.emitGamepadConnectionEvent.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:gamepads_web/gamepads_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:gamepads_web/gamepads_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:gamepads_web/gamepads_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:gamepads_web/gamepads_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:gamepads_web/gamepads_web.dart that declares support for platforms: Web.

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

WARNING: This method overrides a method annotated as '@mustCallSuper' in 'GamepadsPlatformInterface', but doesn't invoke the overridden method.

lib/gamepads_web.dart:174:16

    ╷
174 │   Future<void> dispose() async {
    │                ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/gamepads_web.dart

INFO: The member 'emitGamepadEvent' overrides an inherited member but isn't annotated with '@override'.

lib/gamepads_web.dart:162:8

    ╷
162 │   void emitGamepadEvent(GamepadEvent event) {
    │        ^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/gamepads_web.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
gamepads_platform_interface ^0.1.3 0.1.4 0.1.4
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
web ^1.1.0 1.1.2 1.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
vector_math - 2.4.3 2.4.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
23.5k
downloads

Documentation

API reference

Publisher

verified publisherflame-engine.org

Weekly Downloads

Web implementation of gamepads, a Flutter plugin to handle gamepad input across multiple platforms.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, gamepads_platform_interface, plugin_platform_interface, web

More

Packages that depend on gamepads_web

Packages that implement gamepads_web