flutter_p2p_plus 1.0.2 copy "flutter_p2p_plus: ^1.0.2" to clipboard
flutter_p2p_plus: ^1.0.2 copied to clipboard

A WiFi Direct Plugin for Flutter. This Plugin uses the native WiFi P2P API of Android.

60/ 160
pub points
35
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

509 out of 833 API elements (61.1 %) have documentation comments.

Some symbols that are missing documentation: flutter_p2p_plus, flutter_p2p_plus.FlutterP2pPlus, flutter_p2p_plus.FlutterP2pPlus.FlutterP2pPlus.new, flutter_p2p_plus.FlutterP2pPlus.acceptPort, flutter_p2p_plus.FlutterP2pPlus.cancelConnect.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

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

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

Found 17 issues. Showing the first 2:

ERROR: Missing concrete implementations of 'getter WidgetsLocalizations.copyButtonLabel', 'getter WidgetsLocalizations.cutButtonLabel', 'getter WidgetsLocalizations.lookUpButtonLabel', 'getter WidgetsLocalizations.noResultsFound', and 12 more.

lib/generated/i18n.dart:12:7

   ╷
12 │ class S implements WidgetsLocalizations {
   │       ^
   ╵

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

ERROR: A value of type 'S?' can't be returned from the method 'of' because it has a return type of 'S'.

lib/generated/i18n.dart:19:7

   ╷
19 │       Localizations.of<S>(context, WidgetsLocalizations);
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
protobuf ^2.0.1 2.1.0 6.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
fixnum - 1.1.1 1.1.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
vector_math - 2.2.0 2.2.0

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

The constraint `^2.0.1` on protobuf does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions protobuf to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 5 errors:

  • NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER - lib/generated/i18n.dart:12:7 - Missing concrete implementations of 'getter WidgetsLocalizations.copyButtonLabel', 'getter WidgetsLocalizations.cutButtonLabel', 'getter WidgetsLocalizations.lookUpButtonLabel', 'getter WidgetsLocalizations.noResultsFound', and 12 more.
  • RETURN_OF_INVALID_TYPE - lib/generated/i18n.dart:19:7 - A value of type 'S?' can't be returned from the method 'of' because it has a return type of 'S'.
  • MISSING_DEFAULT_VALUE_FOR_PARAMETER - lib/generated/i18n.dart:42:47 - The parameter 'fallback' can't have a value of 'null' because of its type, but the implicit default value is 'null'.

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.10, Flutter 3.41.0, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
60
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

A WiFi Direct Plugin for Flutter. This Plugin uses the native WiFi P2P API of Android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, flutter_web_plugins, protobuf

More

Packages that depend on flutter_p2p_plus

Packages that implement flutter_p2p_plus