Unable to find specific Icons in flutter

I encounter this error “flutter material icons-the getter ‘currency_rupee’ isn’t defined for the type ‘Icons” when I try to add ‘currency_rupee’ in one of my mobile development. This can be fixed using below solutions,

1. Make sure to use latest flutter version

Download later version of flutter from https://docs.flutter.dev/get-started/install and verify of your Icons.dart file has the icons your are looking for.

Location for Icons file – Your Installation Folder/flutter\packages\flutter\lib\src\material\Icons

2. Enable flutter icons in pubspec.yaml

Make sure you have uncommented below line,

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

3. clean and rebuild your application

Just run below commands to clean cache and rebuild your application.

flutter clean
flutter build bundle