SlotController constructor
SlotController({
- PrizePicker picker = const WeightedPrizePicker(),
- Random? random,
创建独立状态;例如 SlotController(random: Random(1))。
Implementation
SlotController({super.picker, super.random}) : super(motion: SlotMotion());