You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a requirement to display dates like 12/04/2020 instead of the current label format displayed from 0 to 14w5d. So to generalize this, can you give an option to provide a transformation method?
Here is an usage example for the concept:
TimelineEditor(
timelineTextTransformer: (Duration duration){
// I can return a custom string based on the duration valuereturn startDate.add(duration).toString();
}
);
The text was updated successfully, but these errors were encountered:
I have a requirement to display dates like
12/04/2020
instead of the current label format displayedfrom 0 to 14w5d
. So to generalize this, can you give an option to provide a transformation method?Here is an usage example for the concept:
The text was updated successfully, but these errors were encountered: