📜  flutter calander last date + 6 days - 不管是什么代码示例

📅  最后修改于: 2022-03-11 14:58:31.702000             🧑  作者: Mango

代码示例1
final DateTime picked = await showDatePicker(
  context: context,
  initialDate: DateTime.now(),
  firstDate: DateTime.now().subtract(Duration(days: 0)),
  lastDate: DateTime(2100),
);