WheelConfig constructor
const
WheelConfig({
- List<
WheelBlock> blocks = const [], - List<
WheelPrize> prizes = const [], - List<
WheelButton> buttons = const [], - WheelOptions options = const WheelOptions(),
- WheelStyle style = const WheelStyle(),
创建配置;奖品按顺时针排列,尺寸由宿主决定。
Implementation
const WheelConfig(
{this.blocks = const [],
this.prizes = const [],
this.buttons = const [],
this.options = const WheelOptions(),
this.style = const WheelStyle()});