backgroundColor method

StyleContext backgroundColor(
  1. Color color
)

Implementation

StyleContext backgroundColor(Color color) {
  _assertUseOnce(_backgroundColor == Colors.transparent, "backgroundColor()");
  _backgroundColor = color;
  return this;
}