You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you have to specify your own map of key value pairs for all icons if you want to use a library that requires the icons to exist such as flutter_remote_icon. That could easily get desynchronized if the library updates.
If there was a Map<String, IconData> somewhere in the library you could simply do this and it would always be synchronized correctly with what the library provides:
//library codeconstMap<String, IconData> communityMaterialIconsMap = {
'ab_testing':CommunityMaterialIcons.ab_testing,
'abjad_arabic':CommunityMaterialIcons.abjad_arabic,
// The rest of the icons
}
// user codeXIcons.register(
'community',
{
for (final iconName in communityMaterialIconsMap.keys) 'community://$iconName': communityMaterialIconsMap[iconName],
},
);
The text was updated successfully, but these errors were encountered:
Wow. Great. Another completely dead flutter package! If you stopped maintaining this, MARK IT AS DISCONTINUED ON PUB.DEV There is a reason that checkbox exists.
Currently you have to specify your own map of key value pairs for all icons if you want to use a library that requires the icons to exist such as flutter_remote_icon. That could easily get desynchronized if the library updates.
If there was a Map<String, IconData> somewhere in the library you could simply do this and it would always be synchronized correctly with what the library provides:
The text was updated successfully, but these errors were encountered: