1234567891011121314151617 |
- class FacilityBookingState {
- //当前选中的时间日期
- DateTime selectedDate;
- FacilityBookingState({
- required this.selectedDate,
- });
- FacilityBookingState copyWith({
- DateTime? selectedDate,
- }) {
- return FacilityBookingState(
- selectedDate: selectedDate ?? this.selectedDate,
- );
- }
- }
|