liquid_progress_indicator icon indicating copy to clipboard operation
liquid_progress_indicator copied to clipboard

Flutter apps using this plugin can no longer run in the master channel

Open volgin opened this issue 2 years ago • 6 comments

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;

volgin avatar Feb 26 '23 01:02 volgin

Now this plugin does not compile in the beta channel.

volgin avatar Mar 19 '23 15:03 volgin

now it doesn't compile on the stable channel either

NonymousMorlock avatar May 11 '23 20:05 NonymousMorlock

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

abdelaziz-mahdy avatar May 11 '23 21:05 abdelaziz-mahdy

Thanks a lot

NonymousMorlock avatar May 12 '23 03:05 NonymousMorlock

FYI, the PR for this fix is out (thanks @Jollastro): https://github.com/JordanADavies/liquid_progress_indicator/pull/23.

arnab avatar May 25 '23 18:05 arnab

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.

Liquid Progress Indicator Dart3 compatible

Pablo-Aldana avatar May 26 '23 07:05 Pablo-Aldana