color property
final
Optional accent color. Falls back to a preset color by noticeType.
The icon color is only applied when icon is an Icon (or any widget that reads IconTheme). If icon is another custom widget, this color does not automatically change that widget's appearance.
Implementation
final Color? color;