chaos_wave_button 0.0.2
chaos_wave_button: ^0.0.2 copied to clipboard
A Flutter package providing customizable buttons with wave and electric animations, including optional haptic feedback using the vibration package.
We analyzed this package 45 hours ago, and awarded it 150 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.
10/10 points: 20% or more of the public API has dartdoc comments
12 out of 59 API elements (20.3 %) have documentation comments.
Some symbols that are missing documentation: chaos_wave_button, chaos_wave_button.ChaosButton, chaos_wave_button.ChaosButton.ChaosButton.new, chaos_wave_button.ChaosButton.animationDuration, chaos_wave_button.ChaosButton.backgroundColor.
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:chaos_wave_button/chaos_wave_button.dartthat imports:package:chaos_wave_button/src/chaos_wave_button.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:chaos_wave_button/chaos_wave_button.dartthat imports:package:chaos_wave_button/src/chaos_wave_button.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:chaos_wave_button/chaos_wave_button.dartthat imports:package:chaos_wave_button/src/chaos_wave_button.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:chaos_wave_button/chaos_wave_button.dartthat imports:package:chaos_wave_button/src/chaos_wave_button.dartthat imports:package:vibration/vibration.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:chaos_wave_button/chaos_wave_button.dartthat imports:package:chaos_wave_button/src/chaos_wave_button.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:chaos_wave_button/chaos_wave_button.dartthat imports:package:chaos_wave_button/src/chaos_wave_button.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/chaos_wave_button.dart:150:21
╷
150 │ baseColor.withOpacity(0.4), // Brighter start
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chaos_wave_button.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/chaos_wave_button.dart:152:21
╷
152 │ baseColor.withOpacity(0.4), // Brighter end
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chaos_wave_button.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
vibration |
^3.1.3 |
3.1.5 | 3.1.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_info_plus |
- | 12.3.0 | 12.3.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.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 | |
vibration_platform_interface |
- | 0.1.1 | 0.1.1 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.