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