getColor method

Color getColor({
  1. @required String? color,
})

Implementation

Color getColor({@required String? color}) {
  return Color(int.parse(color!, radix: 16));
}