NumberWheelConfig constructor

const NumberWheelConfig({
  1. required List<NumberWheelPocket> pockets,
  2. NumberWheelOptions options = const NumberWheelOptions(),
  3. NumberWheelStyle style = const NumberWheelStyle(),
})

创建配置;列表在使用期间不可修改。

Implementation

const NumberWheelConfig(
    {required this.pockets,
    this.options = const NumberWheelOptions(),
    this.style = const NumberWheelStyle()});