---
# System prepended metadata

title: Flutter Calendar Route

---

# Flutter Calendar Route

## Route and Channel
```=kotlin
// Calendar
const val calendarChannelName = "com.voidhk.voidflutter/calendar"
const val calendarInitialRoute = "/calendar"
```

## Methods invoked from native

#### calendarDidInit
Called from flutter when calendar initialization has completed, and is ready to receive calendar data
```=kotlin
// Method name
const val calendarDidInit = "calendarDidInit"
```


#### updateCalendarData
Called from native to supply data to calendar in the form of map.
Both fields are optional.
```=kotlin
// Method
const val updateCalendarData = "updateCalendarData"

// Keys for map argument
const val manifestJSON = "manifestJSON"
const val metricsJSON = "metricsJSON"
```