Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

why viewChange is called 2 times when I select to view as month#359

Unanswered
bxTruong asked this question inQ&A
Discussion options

why viewChange is called 2 times when I select to view as month

SfCalendar(      view: CalendarView.schedule,      controller: homeController.middleController,      allowViewNavigation: false,      allowedViews: [        CalendarView.day,        CalendarView.week,        CalendarView.workWeek,        CalendarView.month,        CalendarView.schedule,      ],      dataSource: MeetingDataSource(homeController.listMeeting),      firstDayOfWeek: 1,      todayHighlightColor: AppConstant.customButtonColor,      headerHeight: 0,      viewHeaderHeight: 56,      monthViewSettings: MonthViewSettings(          dayFormat: "EEEE",          showAgenda: false,           showTrailingAndLeadingDates: false,          appointmentDisplayMode: MonthAppointmentDisplayMode.appointment),      onTap: (CalendarTapDetails details) {        homeController.getInfoMeeting(details);        homeController.showRightPanelAppointments(details);      },      onLongPress: (calendarLongPressDetails) {        showMeetingCreateView(Get.context);      },      onViewChanged: (ViewChangedDetails viewChangedDetails) {        List<DateTime> dates = viewChangedDetails.visibleDates;        print("View Change $dates");        homeController.checkVisibleDate(dates);      },      viewHeaderStyle: ViewHeaderStyle(        backgroundColor: AppConstant.customHeaderCalenderColor,      ),      timeSlotViewSettings:          TimeSlotViewSettings(dayFormat: "EEE", dateFormat: "dd"),    )
You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@bxTruong

[8]ページ先頭

©2009-2025 Movatter.jp