surface static method

Color surface(
  1. BuildContext context
)

Implementation

static Color surface(BuildContext context) {
  return Theme.of(context).brightness == Brightness.light
      ? lightSurface
      : darkSurface;
}