resolveShadow method

Color resolveShadow(
  1. SplashColorRole role
)

Implementation

Color resolveShadow(SplashColorRole role) {
  switch (role) {
    case SplashColorRole.primary:
      return shadowStrong;
    case SplashColorRole.primarySoft:
      return shadowSoft;
    case SplashColorRole.surface:
    case SplashColorRole.surfaceAlt:
      return shadowSoft;
  }
}