DEV Community

Dalitso Kasonde
Dalitso Kasonde

Posted on

1

Getter not found: 'nullable'. @nullable

Error message :

../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/riverpod-0.11.2/lib/src/common.freezed.dart:121:4: Error: Getter not found: 'nullable'.

###@nullable

###^^^^^^^^

Solution

The issue is coming from riverpod urrent version, updating it to the latest version will fix the issue.

Refactoring the code is required in order to make the app working and fix the breaking changes

References : Riverpod Migration

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay