Hi Gunes,
#Regarding Is there a way to format the time text
while dragging?
You can achieve your requirement by customizing the indicator time
format using the “indicatorTimeFormat” property from “dragAndDropSettings”
in the Flutter Calendar. Please refer to the below code snippets for the same
Code
Snippets:
@override
Widget
build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: SfCalendar(
dataSource:
_getCalendarDataSource(),
view: CalendarView.week,
allowDragAndDrop: true,
dragAndDropSettings: const
DragAndDropSettings(
indicatorTimeFormat: 'HH:mm',
)));
}
|
Please refer
to our Ug document to know more details about customizing the dragging time
indicator,
https://help.syncfusion.com/flutter/calendar/drag-drop#customize-appearance-of-dragging-time-indicator
We hope that this
helps you. Please let us know if you need further assistance.
Regards,
Muniappan S