parseColor function

Color parseColor(
  1. String? value, {
  2. Color defaultColor = Colors.black,
})

Color parser utility methods

Implementation

Color parseColor(String? value, {Color defaultColor = Colors.black}) {
  return _parseColor(value, defaultColor) as Color;
}