WePickerView constructor

WePickerView({
  1. dynamic itemCount = 5,
  2. double itemHeight = 42,
  3. OnChange? onChange,
  4. required List<List<WePickerItem>> options,
})

Implementation

WePickerView(
    {itemCount = 5,
    this.itemHeight = 42,
    this.onChange,
    required this.options})
    : assert(itemCount % 2 == 1),
      this.itemCount = itemCount;