background method

Text background(
  1. Color color
)

Implementation

Text background(Color color) {
  return copyWith(
    style: style.copyWith(background: Paint()..color = color),
  );
}