bg method

Container bg(
  1. Color color
)

设置背景色 - 简化调用

Implementation

Container bg(Color color) {
  return Container(
    color: color,
    child: this,
  );
}