readColor function Null safety

int readColor(
  1. String color
)

Implementation

int readColor(String color) => int.parse(color, radix: 16) | 0xFF000000;