spin_wheel 1.2.3
spin_wheel: ^1.2.3 copied to clipboard
A highly customizable, open-source spin wheel widget for Flutter. Perfect for games, promotions, lucky draws, and interactive apps. Supports custom layouts, animations, modular plugins, and vibrant ba [...]
We analyzed this package 5 days ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/sdkwala/spin_wheel
was unreachable. Make sure that the website is reachable via HEAD
requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/sdkwala/spin_wheel
was unreachable. Make sure that the website is reachable via HEAD
requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/sdkwala/spin_wheel/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
OUT:
Documenting spin_wheel...
Discovering libraries...
Linking elements...
Precaching local docs for 1205905 elements...
Initialized dartdoc with 1221 libraries
Generating docs for library spin_wheel.dart from package:spin_wheel/spin_wheel.dart...
Generating docs for library spin_wheel_config.dart from package:spin_wheel/spin_wheel_config.dart...
Generating docs for library spin_wheel_renderer.dart from package:spin_wheel/spin_wheel_renderer.dart...
Generating docs for library spin_wheel_label_alignment.dart from package:spin_wheel/spin_wheel_label_alignment.dart...
Generating docs for library plugin_api.dart from package:spin_wheel/plugin_api.dart...
[2 more lines]
ERR:
warning: spin_wheel has no library level documentation comments
from spin_wheel: (file:///tmp/pana_TDDLXV/lib/spin_wheel_config.dart:1:1)
error: file already written at "spin_wheel/index.html"
for symbol spin_wheel: (file:///tmp/pana_TDDLXV/lib/spin_wheel_config.dart:1:1)
conflicting with file already generated by spin_wheel: (file:///tmp/pana_TDDLXV/lib/spin_wheel.dart:1:1)
Dartdoc generates a path and filename to write to for each symbol.
'spin_wheel' conflicts with another symbol in the generated path, and
therefore can not be written out. Changing the name, library name, or
class name (if appropriate) of one of the conflicting items can resolve
the conflict. Alternatively, use the @nodoc
directive in one symbol's
[27 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Web`.
Because:
package:spin_wheel/spin_wheel.dart
that imports:package:spin_wheel/spin_wheel_renderer.dart
that imports:package:audioplayers/audioplayers.dart
that imports:package:audioplayers/src/audio_cache.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:spin_wheel/spin_wheel.dart
that imports:package:spin_wheel/spin_wheel_renderer.dart
that imports:package:audioplayers/audioplayers.dart
that imports:package:audioplayers/src/audio_cache.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
WARNING: The member 'registerSpinCallback' can only be used within instance members of subclasses of 'SpinWheelController'.
lib/spin_wheel_renderer.dart:73:23
╷
73 │ widget.controller.registerSpinCallback(_startSpin);
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/spin_wheel_renderer.dart
INFO: Angle brackets will be interpreted as HTML.
lib/spin_wheel_config.dart:15:26
╷
15 │ /// - segmentColors: List<Color?>
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/spin_wheel_config.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
audioplayers |
^5.2.1 |
5.2.1 | 6.5.1 | |
confetti |
^0.7.0 |
0.7.0 | 0.8.0 | |
flutter_animate |
^4.2.0 |
4.5.2 | 4.5.2 | |
flutter_gif |
^0.0.4 |
0.0.4 | 0.0.4 | |
lottie |
^2.7.0 |
2.7.0 | 3.3.2 | |
meta |
^1.15.0 |
1.16.0 | 1.17.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
async |
- | 2.13.0 | 2.13.0 | |
audioplayers_android |
- | 4.0.3 | 5.2.1 | |
audioplayers_darwin |
- | 5.0.2 | 6.3.0 | |
audioplayers_linux |
- | 3.1.0 | 4.2.1 | |
audioplayers_platform_interface |
- | 6.1.0 | 7.1.1 | |
audioplayers_web |
- | 4.1.0 | 5.1.1 | |
audioplayers_windows |
- | 3.1.0 | 4.2.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_shaders |
- | 0.1.3 | 0.1.3 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^5.2.1` on audioplayers does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions audioplayers
to update the constraint.
The constraint `^0.7.0` on confetti does not support the stable version `0.8.0`.
Try running dart pub upgrade --major-versions confetti
to update the constraint.
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.