|
|
@ -162,12 +162,13 @@ class ItemContainerState extends State<ItemContainer> {
|
|
|
|
dateModel = widget.dateModel;
|
|
|
|
dateModel = widget.dateModel;
|
|
|
|
isSelected = ValueNotifier(dateModel.isSelected);
|
|
|
|
isSelected = ValueNotifier(dateModel.isSelected);
|
|
|
|
|
|
|
|
|
|
|
|
WidgetsBinding.instance.addPostFrameCallback((callback) {
|
|
|
|
// 先注释掉这段代码
|
|
|
|
if (configuration.selectMode == CalendarConstants.MODE_SINGLE_SELECT &&
|
|
|
|
// WidgetsBinding.instance.addPostFrameCallback((callback) {
|
|
|
|
dateModel.isSelected) {
|
|
|
|
// if (configuration.selectMode == CalendarConstants.MODE_SINGLE_SELECT &&
|
|
|
|
calendarProvider.lastClickItemState = this;
|
|
|
|
// dateModel.isSelected) {
|
|
|
|
}
|
|
|
|
// calendarProvider.lastClickItemState = this;
|
|
|
|
});
|
|
|
|
// }
|
|
|
|
|
|
|
|
// });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|