shouldClipSurface static method

bool shouldClipSurface(
  1. double? surfaceOpacity
)

Implementation

static bool shouldClipSurface(double? surfaceOpacity) {
  if (surfaceOpacity == null) {
    return true;
  }
  return surfaceOpacity < 1;
}