msmartin43
msmartin43

Reputation: 1

Is HookConsumerWidget still a part of hooks_riverpod.dart?

I am working on building some of the example hooks_riverpod applications and I get an error that the HookConsumerWidget is not a dart class. Is this still a valid widget in the latest version or has it been changed? Thanks.

Upvotes: 0

Views: 1909

Answers (1)

user3633490
user3633490

Reputation: 31

Check your riverpod version. I had the same issue using the version 0.14.0+4 but the problem is solved using ^1.0.0-dev.5.

Upvotes: 1

Related Questions