materialColor method Null safety
- dynamic context
Implementation
MaterialColor materialColor(BuildContext context) => isDarkMode(context)
? Colors.grey
: SmoothTheme.MATERIAL_COLORS[colorTag] ??
SmoothTheme.MATERIAL_COLORS[SmoothTheme.COLOR_TAG_BLUE]!;