toColorString function

String? toColorString(
  1. Color? color
)

Implementation

String? toColorString(Color? color) {
  if (Platform.isIOS) {
    return toRgbaString(color);
  }
  return toArgbString(color);
}