Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I have a question mark instead of a material design icon in my iOS simulator?

I want to use a material design icon in my Flutter app. But I get a strange behaviour of my iOs simulator - I have a question mark in a square instead of the icon. In Android emulator the icon looks fine.

enter image description here

like image 378
Kosh Avatar asked Dec 17 '25 23:12

Kosh


1 Answers

You should check your pubspec.yaml file:

flutter:
  uses-material-design: true

If contains this line. The icons are from material design, if without this line, these icons are all replaced by a question mark icon.

like image 93
RockingDice Avatar answered Dec 20 '25 15:12

RockingDice



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!