kevlatus / flutter_fortune_wheel

Visualize random selections with Flutter widgets like the wheel of fortune.
https://kevlatus.github.io/flutter_fortune_wheel
MIT License
109 stars 84 forks source link

Stopped working in Flutter 3.10 - accentColor deprecated #103

Closed YarosMallorca closed 1 year ago

YarosMallorca commented 1 year ago

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):

Smartphone (please complete the following information):

rajaarav0 commented 1 year ago

Any update when it will be fixed?

YarosMallorca commented 1 year ago

@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
rajaarav0 commented 1 year ago

Thank you

kevlatus commented 1 year ago

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