getIconThemeData method
Implementation
IconThemeData? getIconThemeData(Map? spec) {
if (spec == null || spec.isEmpty) {
return null;
}
final shadow = getShadow(spec["shadow"]);
return IconThemeData(
color: tryParseColor(spec["color"]),
opacity: tryParseDouble(spec["opacity"]),
size: tryParseDouble(spec["size"]),
shadows: shadow != null ? [shadow] : null,
);
}