CupertinoMonthRangePicker constructor

CupertinoMonthRangePicker(
  1. DateTime startDate,
  2. DateTime endDate, {
  3. String startStr = "开始日期",
  4. String endStr = "结束日期",
  5. dynamic onSelect(
    1. DateTime selectStart,
    2. DateTime selectEnd
    )?,
  6. Key? key,
})

Implementation

CupertinoMonthRangePicker(this.startDate, this.endDate, {this.startStr = "开始日期", this.endStr = "结束日期", this.onSelect, Key? key}) : super(key: key);