embossDepth static method

double? embossDepth(
  1. BuildContext context
)

Implementation

static double? embossDepth(BuildContext context) {
  if (currentTheme(context).depth == null) return null;
  return -currentTheme(context).depth.abs();
}