This example demonstrates how to load the Excel data to the Flutter Calendar (SfCalendar).
In the Flutter Calendar, you can load the Excel sheet data into the calendar events.
Add the required packages in the Pubspec.yaml file.
syncfusion_flutter_calendar: 20.x.xx
intl: ^0.17.0
excel: ^1.1.5
Then add the appointment data to the excel sheet and attach the excel file under the asset folder.
By using the getDataFromExcel() method and you can get the excel sheet data into the calendar events. In this getDataFromExcel() method the appointment data can be get from the excel sheet and it is converted as Meeting and stored in an appointment collection.
Assign those events to the DataSource property of the Flutter Calendar.
To run this application, you need to first clone or download the ‘create a flutter maps widget in 10 minutes’ repository and open it in your preferred IDE. Then, build and run your project to view the output.
For more help, check the Syncfusion Flutter documentation, Flutter documentation.