toHex static method

String toHex(
  1. Color color, {
  2. bool leadingHashSign = true,
})

Implementation

static String toHex(Color color, {bool leadingHashSign = true}) =>
    ColorUtils.toHex(color, leadingHashSign: leadingHashSign);