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

ERROR: Undefined class 'WidgetStatesController'. #424

Closed
SauceWu opened this issue Mar 25, 2024 · 4 comments
Closed

ERROR: Undefined class 'WidgetStatesController'. #424

SauceWu opened this issue Mar 25, 2024 · 4 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@SauceWu
Copy link

SauceWu commented Mar 25, 2024

Missing files
.pub-cache/hosted/pub.dev/flutter_hooks-0.21.0/lib/src/widget_states_controller.dart:7:1: Error: Type 'WidgetStatesController' not found.

@SauceWu SauceWu added bug Something isn't working needs triage labels Mar 25, 2024
@rrousselGit
Copy link
Owner

Your Flutter version needs to be at least >=3.19.0-0.3.

@rrousselGit rrousselGit added question Further information is requested and removed needs triage labels Mar 25, 2024
@tengl
Copy link

tengl commented Mar 25, 2024

I get this as well, latest Flutter. flutter_hooks version 0.21.0.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.4, on Pop!_OS 22.04 LTS 6.6.10-76060610-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.87.2)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

@rrousselGit
Copy link
Owner

This change requires using the Flutter master channel. It's quite new

@rrousselGit
Copy link
Owner

I'm retracted 0.21 and released a 0.21-pre with updated SDK constraints

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

3 participants