colorToInt function

int colorToInt(
  1. Color color
)

Implementation

int colorToInt(Color color) {
  return color.toARGB32();
}