WheelStyle constructor

const WheelStyle({
  1. LuckyFill? background = const LuckyFill.color(kLuckyTransparent),
  2. LuckyTextDefaults text = const LuckyTextDefaults(),
})

创建样式;透明背景仍视为有背景,null 表示不填充。

Implementation

const WheelStyle(
    {this.background = const LuckyFill.color(kLuckyTransparent),
    this.text = const LuckyTextDefaults()});