LottoStyle constructor

const LottoStyle({
  1. Color drumColor = const Color(0xFFE8F2FA),
  2. Color rimColor = const Color(0xFF7893A7),
  3. Color slotColor = const Color(0xFFCFD8DC),
  4. Color buttonColor = const Color(0xFFFFB300),
  5. Color buttonTextColor = const Color(0xFF263238),
  6. String buttonText = '开始',
})

创建样式;号码球颜色由每个号码池单独指定。

Implementation

const LottoStyle({
  this.drumColor = const Color(0xFFE8F2FA),
  this.rimColor = const Color(0xFF7893A7),
  this.slotColor = const Color(0xFFCFD8DC),
  this.buttonColor = const Color(0xFFFFB300),
  this.buttonTextColor = const Color(0xFF263238),
  this.buttonText = '开始',
});