utils\build_drop_menu_items library
Functions
-
buildMenuItem(
String item, double fontSize) → DropdownMenuItem< String> -
This function creates a
DropdownMenuItemwidget for use in a dropdown menu. Each menu item is built using the provideditemstring and thefontSize. The text color for the item is dynamically set based on the current font settings from theFontsProviderstate management.