liquid_progress_indicator
liquid_progress_indicator copied to clipboard
Flutter apps using this plugin can no longer run in the master channel
This plugin has a deprecated code that prevents building Flutter apps:
Failed to build iOS app
Error (Xcode): ../../.pub-cache/hosted/pub.dev/liquid_progress_indicator-0.4.0/lib/src/liquid_circular_progress_indicator.dart:48:46: Error: The getter 'accentColor' isn't defined for the class 'ThemeData'.
The solution is to migrate from accentColor to secondary color, as explained in the documentation:
Code before migration:
Color myColor = Theme.of(context).accentColor;
Code after migration:
Color myColor = Theme.of(context).colorScheme.secondary;
Now this plugin does not compile in the beta channel.
now it doesn't compile on the stable channel either
i am using the fix in https://github.com/JordanADavies/liquid_progress_indicator/pull/23
in pubspec
liquid_progress_indicator: # ^0.4.0
git:
url: https://github.com/Jollastro/liquid_progress_indicator
Thanks a lot
FYI, the PR for this fix is out (thanks @Jollastro): https://github.com/JordanADavies/liquid_progress_indicator/pull/23.
Hi! Seeing the urgency of the issue, I have created a fork with the fixed and uploaded a new package to pub.dev in case you'd like to use it.