one static method

List<BoxShadow> one(
  1. Brightness b
)

Implementation

static List<BoxShadow> one(Brightness b) => b == Brightness.light
    ? const [
        BoxShadow(
          color: Color(0x0A1C1A17),
          offset: Offset(0, 1),
          blurRadius: 0,
        ),
        BoxShadow(
          color: Color(0x0D1C1A17),
          offset: Offset(0, 1),
          blurRadius: 2,
        ),
      ]
    : const [
        BoxShadow(
          color: Color(0x4D000000),
          offset: Offset(0, 1),
          blurRadius: 0,
        ),
        BoxShadow(
          color: Color(0x59000000),
          offset: Offset(0, 1),
          blurRadius: 2,
        ),
      ];