Flutter dropdown icon color customization. In this post, I will be discussing and implementing how to change Flutter dropdown icon color in Flutter dropdown. I will be using an easy Flutter example code and a step by step explanation so you can have a better idea of how to change Flutter dropdown icon color. Let’s get right into implementing the customization of icon color in Flutter dropdown.
What is Flutter Dropdown Icon Color?
Flutter dropdown icon color is the color of icon of the Flutter dropdown. That icon is shown by default in the right side of the Flutter dropdown. Let’s now change the color of Flutter dropdown icon using a proper Flutter example code.
Default Flutter Dropdown Icon Color
Let’s see the default icon color of the Flutter dropdown. For that we have to implement a Flutter dropdown button widget, we have given it some flutter dropdown menu items and also we have used Flutter dropdown onchanged to show the selected item from the list in Flutter dropdown. See the below code:
DropdownButton( isExpanded: true, hint: Text('Select a category', style: TextStyle(fontSize: 15)), value: categoryValue, items: [ DropdownMenuItem( value: 'Sports', child: Text('Sports', style: TextStyle(fontSize: 15, color: Colors.black45))), DropdownMenuItem( value: 'Tech', child: Text('Tech', style: TextStyle(fontSize: 15, color: Colors.black45))), ], onChanged: (val) { setState(() { categoryValue = val.toString(); }); }),
In the above image, you can see the default Flutter dropdown icon color in Flutter dropdown. The color of icon is grey. Let’s now see how we can change Flutter dropdown icon color.
Change Flutter Dropdown Icon Color
To change the Flutter dropdown icon color, we have to use the icon enabled color constructor of the Flutter dropdown button widget. It takes a color so we have passed it a blue color. See the below code:
iconEnabledColor: Colors.blue

Custom Flutter Dropdown Button Design Source Code
import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, home: Homepage(), ); } } class Homepage extends StatefulWidget { @override State<Homepage> createState() => _HomepageState(); } class _HomepageState extends State<Homepage> { String? categoryValue; @override Widget build(BuildContext context) { return SafeArea( child: Scaffold( body: Center( child: Padding( padding: EdgeInsets.all(20), child: Container( padding: EdgeInsets.symmetric(horizontal: 20, vertical: 5), decoration: BoxDecoration( borderRadius: BorderRadius.circular(50), color: Colors.green.shade100), child: DropdownButtonHideUnderline( child: DropdownButton( iconEnabledColor: Colors.blue, isExpanded: true, hint: Text('Select a category', style: TextStyle(fontSize: 15)), value: categoryValue, items: [ DropdownMenuItem( value: 'Sports', child: Text('Sports', style: TextStyle(fontSize: 15, color: Colors.black45))), DropdownMenuItem( value: 'Tech', child: Text('Tech', style: TextStyle(fontSize: 15, color: Colors.black45))), ], onChanged: (val) { setState(() { categoryValue = val.toString(); }); }), ), ), )))); } }
Conclusion
In conclusion, now you know in detail how to change Flutter dropdown icon color depending on your Flutter app requirements. I’d love to hear your feedback related to this post and would very much like to see you in my other amazing posts regarding topics like Flutter app development, Flutter widgets, Flutter animations, Flutter beautiful template designs and many others more, links to some of them are listed below. Thank for reading.