materialElevation constant

Map<int, List<BoxShadow>> const materialElevation

Implementation

static const Map<int, List<BoxShadow>> materialElevation = {
  0: [], // No elevation
  1: [
    BoxShadow(
      color: RALIColors.shadow1,
      blurRadius: 2,
      offset: Offset(0, 1),
    ),
  ],
  2: [
    BoxShadow(
      color: RALIColors.shadow2,
      blurRadius: 4,
      offset: Offset(0, 2),
    ),
  ],
  4: [
    BoxShadow(
      color: RALIColors.shadow3,
      blurRadius: 8,
      offset: Offset(0, 4),
    ),
  ],
  8: [
    BoxShadow(
      color: RALIColors.shadow4,
      blurRadius: 16,
      offset: Offset(0, 8),
    ),
  ],
  16: [
    BoxShadow(
      color: RALIColors.shadow5,
      blurRadius: 32,
      offset: Offset(0, 16),
    ),
  ],
};