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 provideditem
string and thefontSize
. The text color for the item is dynamically set based on the current font settings from theFontsProvider
state management.