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

type 'List<dynamic>' is not a subtype of type 'List<Icon>' of 'function result' #20

Open
Subhradeep10 opened this issue Apr 6, 2021 · 3 comments

Comments

@Subhradeep10
Copy link

Capture

@dionvansevenant
Copy link

dionvansevenant commented Apr 13, 2021

I encountered this, too. Seems like it might be a Flutter v2 thing, with stricter checking. But also, from the Udemy course Q&A section someone suggested running the Build again. That worked for me.

@AkshaySiddannavar
Copy link

In case it is a Flutter v2 thing where Flutter is stricter then you can use List<Widget> instead of List<Icon>
I too faced similar problem this worked for me.

@danmooney
Copy link

danmooney commented Aug 13, 2023

Changing to List<Widget> without restarting the app raised the same issue. Restart was mandatory to get icons to work using List<Widget>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants