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