darkenBy static method

String darkenBy(
  1. String color, [
  2. num? fraction,
  3. EnumValue? mode
])

This static function takes a color and darkens it.

Implementation

static _i2.String darkenBy(
  _i2.String color, [
  _i2.num? fraction,
  _i3.EnumValue? mode,
]) =>
    _i4.callMethod(
      _declaredBrush,
      'darkenBy',
      [
        color,
        fraction ?? _i5.undefined,
        mode ?? _i5.undefined,
      ],
    );