applyOpacity method

Filter applyOpacity(
  1. Dim value
)

Adds a opacity filter effect.

value can be 'Dim.percent(50)' or 'Dim(0.5)'.

Implementation

Filter applyOpacity(Dim value) {
  _filters.add(BackdropFilterType.opacity.cssText(value));
  return this;
}