flutter_fortune_wheel 0.5.0 copy "flutter_fortune_wheel: ^0.5.0" to clipboard
flutter_fortune_wheel: ^0.5.0 copied to clipboard

outdated

Visualize (random) selection processes with widgets like a spinning wheel of fortune or a fortune bar.

345
likes
70/ 160
pub points
7.71k
downloads

We analyzed this package 6 days ago, and awarded it 70 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: MIT.

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

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

OUT: Documenting flutter_fortune_wheel... Discovering libraries... Linking elements... Precaching local docs for 644934 elements... Initialized dartdoc with 1017 libraries Generating docs for library flutter_fortune_wheel.dart from package:flutter_fortune_wheel/flutter_fortune_wheel.dart... ERR: dartdoc 8.3.3 (/tmp/analyzerCDLVTQ/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.7.2.snapshot) failed: Stack Overflow #0 RangeError.checkValidRange (dart:core/errors.dart:376:3) #1 List.sublist (dart:core-patch/growable_array.dart:84:38) #2 CommentReferable._childLookups.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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 36 issues. Showing the first 2:

ERROR: The getter 'backgroundColor' isn't defined for the type 'ThemeData'.

lib/src/core/styling.dart:162:30

    ╷
162 │     final background = theme.backgroundColor;
    │                              ^^^^^^^^^^^^^^^
    ╵

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

ERROR: The getter 'accentColor' isn't defined for the type 'ThemeData'.

lib/src/indicators/rectangle_indicator.dart:17:63

   ╷
17 │     final borderColor = this.borderColor ?? Theme.of(context).accentColor;
   │                                                               ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/indicators/rectangle_indicator.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
flutter_hooks ^0.16.0 0.16.0 0.21.2
quiver ^3.0.0 3.2.2 3.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
vector_math - 2.1.4 2.1.5

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

The constraint `^0.16.0` on flutter_hooks does not support the stable version `0.17.0`.

Try running dart pub upgrade --major-versions flutter_hooks 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 3 errors:

  • UNDEFINED_GETTER - lib/src/core/styling.dart:162:30 - The getter 'backgroundColor' isn't defined for the type 'ThemeData'.
  • UNDEFINED_GETTER - lib/src/indicators/rectangle_indicator.dart:17:63 - The getter 'accentColor' isn't defined for the type 'ThemeData'.
  • UNDEFINED_GETTER - lib/src/indicators/triangle_indicator.dart:20:33 - The getter 'accentColor' isn't defined for the type 'ThemeData'.

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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
345
likes
70
points
7.71k
downloads

Publisher

verified publisherkevlatus.de

Weekly Downloads

Visualize (random) selection processes with widgets like a spinning wheel of fortune or a fortune bar.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_hooks, quiver

More

Packages that depend on flutter_fortune_wheel