WheelStyle constructor
const
WheelStyle({
- LuckyFill? background = const LuckyFill.color(kLuckyTransparent),
- LuckyTextDefaults text = const LuckyTextDefaults(),
创建样式;透明背景仍视为有背景,null 表示不填充。
Implementation
const WheelStyle(
{this.background = const LuckyFill.color(kLuckyTransparent),
this.text = const LuckyTextDefaults()});