background static method

TextStyle background(
  1. Color color
)

Implementation

static TextStyle background(Color color) => TextStyle(backgroundColor: color);