toRgbColor static method

int toRgbColor(
  1. Color color
)

Implementation

static int toRgbColor (Color color) {
  return int.parse(color.toString().replaceAll('#', ''), radix: 16);
}