Hooks can only be called from the build method of a widget that mix-in `Hooks #327
-
Hi, I am developing a tab available on several pages. My Provider :
Error message :
|
Beta Was this translation helpful? Give feedback.
Answered by
rrousselGit
Sep 12, 2022
Replies: 1 comment 1 reply
-
As the error explains, you can't use hooks outside of HookWidgets. Using hooks inside providers is not allowed. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
iTEEECH
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the error explains, you can't use hooks outside of HookWidgets.
Using hooks inside providers is not allowed.