LottoConfig.superLotto constructor

LottoConfig.superLotto({
  1. LottoOptions options = const LottoOptions(),
  2. LottoStyle style = const LottoStyle(),
})

创建唯一内置预设:前区 35 选 5,后区 12 选 2。

Implementation

factory LottoConfig.superLotto(
        {LottoOptions options = const LottoOptions(),
        LottoStyle style = const LottoStyle()}) =>
    LottoConfig(
        pools: const [kSuperLottoFront, kSuperLottoBack],
        options: options,
        style: style);