mix static method

String mix(
  1. String color1,
  2. String color2, [
  3. num? fraction
])

This static function takes two colors and mixes them together, using the (optionally) specified amount of the second color.

Implementation

static _i2.String mix(
  _i2.String color1,
  _i2.String color2, [
  _i2.num? fraction,
]) =>
    _i4.callMethod(
      _declaredBrush,
      'mix',
      [
        color1,
        color2,
        fraction ?? _i5.undefined,
      ],
    );