background static method

Color background(
  1. BuildContext context
)

Implementation

static Color background(BuildContext context) {
  return Theme.of(context).brightness == Brightness.light
      ? lightBackground
      : darkBackground;
}