run library

Classes

MyApp

Functions

fetchTimelineData() Future<Map<String, dynamic>>
Fetches timeline data from the API.
main() → void
Example application demonstrating the usage of the Timeline widget.
openDayDetail(String date, double? dayProgress, List<String>? preIds, List? elements, dynamic dayIndicators) → void
Callback when a user clicks on a day in the timeline.
openEditElement(String? entityId, String? label, String? type, String? startDate, String? endDate, double? progress, String? prjId) → void
Callback when a user wants to edit an element.
openEditStage(String? prsId, String? prsName, String? prsType, String? startDate, String? endDate, double? progress, String? prjId) → void
Callback when a user wants to edit a stage.
readJson() Future<Map<String, dynamic>>
Fetch content from the json file as fallback.
selectDay(String? date) → void
Callback when a day is selected (alternative to openDayDetail).
updateCapacity(String data) → void
Callback for capacity updates.
updateCurrentDate(String? date) → void