How to add animation to DropdownButtonFormField
in Flutter?
I want to animate the button when it is clicked and open the list of DropdownMenuItem
.
So, how can I do that? Is it possible?
The base widget doesn't let you customize its animation. To do this you could recode a DropdownButtonFormField
widget by looking through the original source code and adding your animation wherever you want.
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.