applyHueRotate method

Filter applyHueRotate(
  1. double value
)

Adds a hue-rotate filter effect.

value must be between 0 and 360 degrees.

Implementation

Filter applyHueRotate(double value) {
  value = value.clamp(0, 360);
  _filters.add(
    BackdropFilterType.hueRotate.cssText(.deg(value)),
  );
  return this;
}