shadowFloatingFor static method
The floating-element shadow appropriate for b:
shadowFloatingDark on dark surfaces, shadowFloating on light ones.
Implementation
static List<BoxShadow> shadowFloatingFor(Brightness b) =>
b == Brightness.dark ? shadowFloatingDark : shadowFloating;