SlotController constructor

SlotController({
  1. PrizePicker picker = const WeightedPrizePicker(),
  2. Random? random,
})

创建独立状态;例如 SlotController(random: Random(1))。

Implementation

SlotController({super.picker, super.random}) : super(motion: SlotMotion());