MenuItemSerializableIdGenerator typedef Null safety
The signature for a function that generates unique menu item IDs for serialization of a MenuItem.
Implementation
typedef MenuItemSerializableIdGenerator = int Function(MenuItem item);
The signature for a function that generates unique menu item IDs for serialization of a MenuItem.
typedef MenuItemSerializableIdGenerator = int Function(MenuItem item);