parseColor function

Color? parseColor(
  1. String? color
)

Implementation

Color? parseColor(String? color) {
  if (color == null) {
    return null;
  }
  return Color.css(color);
}