applyDisableDepth method

NeumorphismStyle applyDisableDepth()

Implementation

NeumorphismStyle applyDisableDepth() {
  if (disableDepth == true) {
    return copyWith(depth: 0);
  } else {
    return this;
  }
}