isShadow property

bool get isShadow

Implementation

bool get isShadow {
  final x = shadowStart + shadowEnd + shadowTop + shadowBottom;
  return roots.shadow && (x > 0 || shadowType == ViewShadowType.overlay);
}