applyDisableDepth method

NeumorphicStyle applyDisableDepth()

Implementation

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