Hi,
It's possible to change hour into custom text in TimeSlot like exemple :
For 4 periods (0-6/6-12/12-18/18-24) into (Night-Morning-Afternoon-Evening)
TimeSlotViewSettings(
timeInterval: Duration(hours: 6),
startHour: 0,
endHour: 24,
timeFormat: customPeriods(date?)
I try this :
customPeriods(DateTime? date){
print(date);
if(date?.hour == 0){
return "Nuit";
}
if(date?.hour == 6){
return "Matin";
}
if(date?.hour == 12){
return "";
}
if(date?.hour == 18){
return "Soir";
}
}
But I don't know how to get the date/date.hour of the view...
Thanks
Unfortunately I have already looked everywhere ...
I have the same operation of my scheduler on Angular and there was a solution.
I wondered if it wasn't adaptive to flutter?
Thanks
Can we modify the render, here is an example in my Angular App: