简体   繁体   中英

Flutter how to change font color of DropDownButton

Im trying to change the font color of my DropdownButton in flutter right now its black and i want to change it to white is there any way to do this?

下拉按钮

Thank you for you time.

You could use the style argument. heres the docs

style: TextStyle(color: Colors.deepPurple)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM