Open Subhradeep10 opened 3 years ago
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.
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.
Changing to List<Widget>
without restarting the app raised the same issue. Restart was mandatory to get icons to work using List<Widget>
.