darken static method

String darken(
  1. String color
)

This static function takes a color and darkens it by 20% in the Lab color space. This is a convenience function which calls Brush.darkenBy.

Implementation

static _i2.String darken(_i2.String color) => _i4.callMethod(
      _declaredBrush,
      'darken',
      [color],
    );