bg method

BoxDecoration bg(
  1. Color color
)

Set background color

Implementation

BoxDecoration bg(Color color) => copyWith(color: color);