colorToString function

String? colorToString(
  1. Color? color
)

Implementation

String? colorToString(Color? color) {
  if (color == null) {
    return null;
  }
  return color.cssExpression;
}