Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Mar 5, 2024
1 parent 3bcb865 commit 37ecc23
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions lib/ui/shared/who_is_out_card/bloc/who_is_out_card_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,52 +15,3 @@ class WhoIsOutCardState with _$WhoIsOutCardState {
List<LeaveApplication>? selectedDayAbsences,
String? error}) = _WhoIsOutCardState;
}

// class WhoIsOutCardState extends Equatable {
// final Status status;
// final DateTime selectedDate;
// final DateTime focusDay;
// final CalendarFormat calendarFormat;
// final List<LeaveApplication> allAbsences;
// final List<LeaveApplication>? selectedDayAbsences;
// final String? error;
//
// const WhoIsOutCardState(
// {this.calendarFormat = CalendarFormat.week,
// required this.selectedDate,
// required this.focusDay,
// this.status = Status.initial,
// this.allAbsences = const [],
// this.selectedDayAbsences,
// this.error});
//
// WhoIsOutCardState copyWith(
// {DateTime? selectedDate,
// DateTime? focusDay,
// Status? status,
// CalendarFormat? calendarFormat,
// String? error,
// List<LeaveApplication>? allAbsences,
// List<LeaveApplication>? selectedDayAbsences}) {
// return WhoIsOutCardState(
// selectedDayAbsences: selectedDayAbsences ?? this.selectedDayAbsences,
// calendarFormat: calendarFormat ?? this.calendarFormat,
// selectedDate: selectedDate ?? this.selectedDate,
// status: status ?? this.status,
// error: error,
// allAbsences: allAbsences ?? this.allAbsences,
// focusDay: focusDay ?? this.focusDay,
// );
// }
//
// @override
// List<Object?> get props => [
// status,
// selectedDate,
// allAbsences,
// error,
// calendarFormat,
// selectedDayAbsences,
// focusDay
// ];
// }

0 comments on commit 37ecc23

Please sign in to comment.