flutter-calendar
flutter-calendar copied to clipboard
Need to settle on payload structure
Need to decide what the structure of the payload for the widget should look like.
Proposed:
{
"id": int,
"title": String,
"url": String,
"date_start": DateTime,
"date_end": DateTime,
"details": Object
}
Rational:
The title, date_start, and date_end are the bare minimum for the widget to be useful. The url gives the widget a location to get details about this particular event, could be used for future plans. The details property is by far the most useful. Since it's an object, it gives the user the ability to bury whatever data they want into each event. They could then extend the widget to utilizes these things.