-
Im going off the example in the docs and took their example and just stripped out the part looking for an ID along with a classname. The original example didn't seem to play well with null-safety so I added some
Then I add
But my IDE gives me the following error
Anyone have an idea what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
erickok
Sep 22, 2021
Replies: 1 comment
-
You are using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Sub6Resources
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are using
Future<ImageRender>
as the function type, but it should not be a Future (and you don't need it to be), so just make it anImageRender
.