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

Constructing ChangeNotifierProvider causes a crash. #895

Open
cike111 opened this issue Nov 7, 2024 · 2 comments
Open

Constructing ChangeNotifierProvider causes a crash. #895

cike111 opened this issue Nov 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@cike111
Copy link

cike111 commented Nov 7, 2024

ChangeNotifierProvider(create: (_) => DataModel()), will trigger the assert(create != null || update != null) of _CreateInheritedProvider constructor.

@cike111 cike111 added bug Something isn't working needs triage labels Nov 7, 2024
@cike111
Copy link
Author

cike111 commented Nov 7, 2024

version 6.1.2

@rrousselGit
Copy link
Owner

That's highly unlikely, as it would mean nobody can use this provider.
Nothing changed in years here

Could you make a reproducible example?

@rrousselGit rrousselGit added question Further information is requested and removed needs triage labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants