parseColor function

Color parseColor(
  1. String color
)

Implementation

Color parseColor(String color) {
  return Color(int.parse(color.split('0xff')[1], radix: 16)).withOpacity(1);
}