utils\build_drop_menu_items library

Functions

buildMenuItem(String item, double fontSize) DropdownMenuItem<String>
This function creates a DropdownMenuItem widget for use in a dropdown menu. Each menu item is built using the provided item string and the fontSize. The text color for the item is dynamically set based on the current font settings from the FontsProvider state management.