popOpacity method

void popOpacity()

Restores the previous opacity stack frame.

Popping past the base frame restores full opacity.

Implementation

void popOpacity() {
  if (_opacityStack.length > 1) {
    _opacityStack.removeLast();
  }
}