removeBottomSelectedItems method
Implementation
void removeBottomSelectedItems(
DateInfo date, CalendarInfo calenderInfo) async {
int bottomSelectedItemsIndex = bottomSelectedItems!
.indexWhere((element1) => element1.day == date.date!);
bottomListKey.currentState!.removeItem(
bottomSelectedItemsIndex,
(context, animation) =>
bottomButton(context, bottomSelectedItemsIndex, animation));
bottomSelectedItems!.remove(bottomSelectedItems!.firstWhere((element1) =>
element1.day == date.date! &&
element1.year == calendarInfo.year &&
element1.month == calenderInfo.month));
}