CupertinoYearPicker constructor

const CupertinoYearPicker(
  1. int startYear,
  2. int endYear, {
  3. int? currentYear,
  4. dynamic onSelect(
    1. int index,
    2. int selectValue
    )?,
  5. Key? key,
})

Implementation

const CupertinoYearPicker(this.startYear, this.endYear, {this.currentYear, this.onSelect, Key? key}) : super(key: key);