Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpinKitPouringHourglass name changed #120

Closed
idemirel opened this issue Aug 28, 2021 · 11 comments · Fixed by #121
Closed

SpinKitPouringHourglass name changed #120

idemirel opened this issue Aug 28, 2021 · 11 comments · Fixed by #121

Comments

@idemirel
Copy link

Describe the bug
Try correcting the name to the name of an existing method, or defining a method named 'SpinKitPouringHourglass'.
_indicator = SpinKitPouringHourglass(
^^^^^^^^^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

The dependent flutter_spinkit package upgraded and the Class name SpinKitPouringHourglass changed to SpinKitPouringHourGlass , thus build error occures

The related link is here

@github-actions
Copy link

Thanks for taking the time to open an issue. I will have a look and answer as soon as possible.

@kidozh
Copy link

kidozh commented Aug 28, 2021

I also encounter this problem. After I fix the typo at line 166 of \lib\src\widgets\indicator.dart, problem solved.

@MrFantuk
Copy link

I also encounter this problem. After I fix the typo at line 166 of \lib\src\widgets\indicator.dart, problem solved.

could u provide more information?

my problem, quite simile:

Error: Method not found: 'LoadingIndicator'.
Widget w = indicator ?? (_instance.indicatorWidget ?? LoadingIndicator());
^^^^^^^^^^^^^^^^

@kidozh
Copy link

kidozh commented Aug 28, 2021

I also encounter this problem. After I fix the typo at line 166 of \lib\src\widgets\indicator.dart, problem solved.

could u provide more information?

my problem, quite simile:

Error: Method not found: 'LoadingIndicator'.
Widget w = indicator ?? (_instance.indicatorWidget ?? LoadingIndicator());
^^^^^^^^^^^^^^^^

Your problem seems different from mine. My easyloading version is 5.0.0, have you tried to upgrade your version to the latest one?

@MrFantuk
Copy link

5.0.0, ??

I have 3.0.0
I replace my \lib\src\widgets\indicator.dart with GitHub package repo, make changes in 'SpinKitPouringHourGlass' and it works.

@kidozh
Copy link

kidozh commented Aug 28, 2021

5.0.0, ??

I have 3.0.0
I replace my \lib\src\widgets\indicator.dart with GitHub package repo, make changes in 'SpinKitPouringHourGlass' and it works.

Perhaps upgrading your dependency in your project should be a better choice. A small suggestion.

@ashutosh-mulik
Copy link

Just upgraded dependencies and now I'm getting this error.

Try correcting the name to the name of an existing method, or defining a method named 'SpinKitPouringHourglass'.
_indicator = SpinKitPouringHourglass(
^^^^^^^^^^^^^^^^^^^^^^^

@MrFantuk
Copy link

5.0.0, ??

I have 3.0.0
I replace my \lib\src\widgets\indicator.dart with GitHub package repo, make changes in 'SpinKitPouringHourGlass' and it works.

Perhaps upgrading your dependency in your project should be a better choice. A small suggestion.

as I see, last version is 3.0.0
I didn't find any newer version.

Just upgraded dependencies and now I'm getting this error.

Try correcting the name to the name of an existing method, or defining a method named 'SpinKitPouringHourglass'.
_indicator = SpinKitPouringHourglass(
^^^^^^^^^^^^^^^^^^^^^^^

as kidozh method:
manually change SpinKitPouringHourglass to SpinKitPouringHourGlass

@ashutosh-mulik
Copy link

Worked Thanks 👍👍

@kaelli
Copy link

kaelli commented Aug 29, 2021

the bug reason is flutter_spinkit update to 5.1.0 and change the SpinKitPouringHourglass to SpinKitPouringHourGlass,but this lib use SpinKitPouringHourglass, so,add flutter_spinkit: 5.0.0 in the dependencies ,then will well

@taepunphu
Copy link

5.0.0, ??

I have 3.0.0
I replace my \lib\src\widgets\indicator.dart with GitHub package repo, make changes in 'SpinKitPouringHourGlass' and it works.

Perhaps upgrading your dependency in your project should be a better choice. A small suggestion.

as I see, last version is 3.0.0
I didn't find any newer version.

Just upgraded dependencies and now I'm getting this error.
Try correcting the name to the name of an existing method, or defining a method named 'SpinKitPouringHourglass'.
_indicator = SpinKitPouringHourglass(
^^^^^^^^^^^^^^^^^^^^^^^

as kidozh method:
manually change SpinKitPouringHourglass to SpinKitPouringHourGlass

thank you guy, that work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants