Issue
The icon set contains the ruble currency, but if i try to add to the project i get error The getter 'currency_ruble' isn't defined for the type 'Icons'
IconButton(icon: Icon(Icons.currency_ruble))
flutter doctor
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19042.1348], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 2020.3)
[√] VS Code (version 1.62.3)
[√] Connected device (3 available)
Solution
encountered the same problem with a different icon. You can try either of the following:
Use this regularly updated material io package and see if your ruble currency appears: material_design_icons_flutter package
Answered By - dstacklurker
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.