nameOf method

String? nameOf(
  1. String name
)

The theme's name as first declared, for name in any case or with - and _; null when there is no such theme.

Implementation

String? nameOf(String name) => _displayNames[ThemeValues.canonical(name)];