kevlatus/flutter_fortune_wheel

Stopped working in Flutter 3.10 - accentColor deprecated

YarosMallorca opened this issue · 4 comments

Describe the bug
As Flutter 3.10 removed accentColor, the package stopped working.

This should be fixed by #102

To Reproduce
Steps to reproduce the behavior:

  1. Depend on this package
  2. Try to run app
  3. See error

Expected behavior
The app runs properly

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Not Applicable / Run in Android 13 Emulator
  • Version: Flutter 3.10

Smartphone (please complete the following information):

  • Device: Pixel 6
  • OS: Android 13
  • Browser: Chrome

Any update when it will be fixed?

@rajaarav0
I have no idea, but I fixed it on my end, and published changes to use meanwhile the package owner fixes this.

To use it in your project, in pubspec.yaml replace the dependency flutter_fortune_wheel line with the following:

flutter_fortune_wheel:
    git:
      url: https://github.com/YarostheLaunchpadder/flutter_fortune_wheel.git
      ref: main

Thank you

thanks for the comments and the pull requests. v1.2.1 has just been published, which includes the changes for colorScheme.accentColor