Hello,
In Resouce view, timelineday, I'm looking for specify a dynamic height to appointments, like the code bellow (but it isn't working) :
appointmentBuilder: (BuildContext context, CalendarAppointmentDetails calendarAppointmentDetails) {
final Appointment appointment = calendarAppointmentDetails.appointments.first;
var rng = Random();
return Container(
color: Colors.blue,
width: calendarAppointmentDetails.bounds.width,
height: 0.0 + rng.nextInt(100),
child: Text(appointment.subject),
);
},
Is there a way to disable this "autofit" mode ?
I've tried this setting bellow, but doesn't seems to impact render
timeSlotViewSettings: const TimeSlotViewSettings( timelineAppointmentHeight: -1 ),
Thanks a lot !