Need help importing custom icons in Flutter
check where you keep the font file,
- asset: fonts/MyIcons.ttf
maybe you save it in
- asset: assets/fonts/MyIcons.ttf
if your min sdk not 2.12.0, i mean not supported null safety, removenon null safety at this line static const? _kFontPkg = null;
. not recommended this.
and then if icon not show just blank, unistall your app from emulator, and run again.