theme property

IconTheme? get theme

Optional specifier for the theme this icon is designed for.

Implementation

IconTheme? get theme {
  final theme = _value[Keys.theme] as String?;
  if (theme == null) return null;
  return IconTheme.values.firstWhere((value) => value.name == theme);
}