foregroundColorOf method
Implementation
Color foregroundColorOf(BuildContext context, bool isSelected) =>
foregroundColor?.call(isSelected) ??
(isSelected ? context.colors.primary : context.colors.textPrimary);
Color foregroundColorOf(BuildContext context, bool isSelected) =>
foregroundColor?.call(isSelected) ??
(isSelected ? context.colors.primary : context.colors.textPrimary);