MenuImage.icon constructor

MenuImage.icon(
  1. IconData icon
)

Creates menu image for specified icon data.

Implementation

factory MenuImage.icon(IconData icon) => IconMenuImage(icon);