CupertinoYearRangePicker constructor

const CupertinoYearRangePicker(
  1. int startYear,
  2. int endYear, {
  3. String startStr = "开始日期",
  4. String endStr = "结束日期",
  5. dynamic onSelect(
    1. int selectStart,
    2. int selectEnd
    )?,
  6. Key? key,
})

Implementation

const CupertinoYearRangePicker(this.startYear, this.endYear, {this.startStr = "开始日期", this.endStr = "结束日期", this.onSelect, Key? key}) : super(key: key);