contentsquare 0.5.3 copy "contentsquare: ^0.5.3" to clipboard
contentsquare: ^0.5.3 copied to clipboard

Contentsquare Flutter plugin.

11
likes
110/ 140
pub points
90%
popularity

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

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

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 60 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

16 out of 17 API elements (94.1 %) have documentation comments.

Some symbols that are missing documentation: contentsquare.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:contentsquare/contentsquare.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:contentsquare/contentsquare.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

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

Because:

  • package:contentsquare/contentsquare.dart that declares support for platforms: Android, iOS.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/modules/gestures/gesture_listener.dart:1:1

  ╷
1 │ /// This file is inspired from gesture_x_detector.dart from the [gesture_x_detector](https://github.com/taodo2291/xgesture_flutter) library
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/modules/gestures/gesture_listener.dart

INFO: 'renderViewElement' is deprecated and shouldn't be used. Use rootElement instead. This feature was deprecated after v3.9.0-16.0.pre.

lib/src/modules/screengraph/element_tree.dart:11:48

   ╷
11 │   return WidgetsBindingExtension.safeInstance!.renderViewElement!;
   │                                                ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/modules/screengraph/element_tree.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
contentsquare_platform_interface ^0.5.3 0.5.3 2.3.0
flutter flutter 0.0.0 0.0.0
webview_flutter >=2.0.0 <4.0.0 3.0.4 4.7.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
equatable - 2.0.5 2.0.5
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
webview_flutter_android - 2.10.4 3.16.1
webview_flutter_platform_interface - 1.9.5 2.10.0
webview_flutter_wkwebview - 2.9.5 3.13.1

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

The constraint `^0.5.3` on contentsquare_platform_interface does not support the stable version `1.0.0`.

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

The constraint `>=2.0.0 <4.0.0` on webview_flutter does not support the stable version `4.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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.