getIcon method

IconData getIcon(
  1. String name
)

Get icon data by name (returns null icon if not found).

Implementation

IconData getIcon(String name) => _icons[name]?.icon ?? Icons.help_outline;