PopupMenuIconKey typedef

PopupMenuIconKey = ({Color color, IconData icon, double size})

What a rendered custom icon depends on. Rendered icons are kept by this key, not by entry: items built in build() are new objects on every build, and an unchanged icon must still be found in the next build's.

Implementation

typedef PopupMenuIconKey = ({IconData icon, double size, Color color});