


# SmeupCalendarWidget constructor







SmeupCalendarWidget([GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[ScaffoldState](https://api.flutter.dev/flutter/material/ScaffoldState-class.html)> scaffoldKey, [GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[FormState](https://api.flutter.dev/flutter/widgets/FormState-class.html)> formKey, {[double](https://api.flutter.dev/flutter/dart-core/double-class.html) titleFontSize, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) eventFontSize, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) dayFontSize, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) markerFontSize, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) id, [Map](https://api.flutter.dev/flutter/dart-core/Map-class.html)&lt;[DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html), [List](https://api.flutter.dev/flutter/dart-core/List-class.html)&lt;[SmeupCalentarEventModel](../../smeup_models_widgets_smeup_calendar_event_model/SmeupCalentarEventModel-class.md)>> events, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) height, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) width, [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html) firstWork, [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html) lastWork, [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html) focusDay, [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html) selectedDay, [SmeupCalendarModel](../../smeup_models_widgets_smeup_calendar_model/SmeupCalendarModel-class.md) model, [Map](https://api.flutter.dev/flutter/dart-core/Map-class.html)&lt;[DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html), [List](https://api.flutter.dev/flutter/dart-core/List-class.html)> holidays, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) showNavigation, [CalendarFormat](https://pub.dev/documentation/table_calendar/3.0.2/table_calendar/CalendarFormat.html) calendarFormat, [ValueNotifier](https://api.flutter.dev/flutter/foundation/ValueNotifier-class.html)&lt;[List](https://api.flutter.dev/flutter/dart-core/List-class.html)&lt;[SmeupCalentarEventModel](../../smeup_models_widgets_smeup_calendar_event_model/SmeupCalentarEventModel-class.md)>> selectedEvents, [List](https://api.flutter.dev/flutter/dart-core/List-class.html)&lt;[Map](https://api.flutter.dev/flutter/dart-core/Map-class.html)&lt;[String](https://api.flutter.dev/flutter/dart-core/String-class.html), dynamic>> data, [Function](https://api.flutter.dev/flutter/dart-core/Function-class.html) clientOnDaySelected, [Function](https://api.flutter.dev/flutter/dart-core/Function-class.html) clientOnChangeMonth, [Function](https://api.flutter.dev/flutter/dart-core/Function-class.html) clientOnEventClick, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) dataColumnName, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) endTimeColumnName, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) initTimeColumnName, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) styleColumnName, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) titleColumnName, [Function](https://api.flutter.dev/flutter/dart-core/Function-class.html) setDataLoad, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) showPeriodButtons, [EdgeInsetsGeometry](https://api.flutter.dev/flutter/painting/EdgeInsetsGeometry-class.html) padding})





## Implementation

```dart
SmeupCalendarWidget(this.scaffoldKey, this.formKey,
    {this.titleFontSize,
    this.eventFontSize,
    this.dayFontSize,
    this.markerFontSize,
    this.id,
    this.events,
    this.height,
    this.width,
    this.firstWork,
    this.lastWork,
    this.focusDay,
    this.selectedDay,
    this.model,
    this.holidays,
    this.showNavigation,
    this.calendarFormat,
    this.selectedEvents,
    this.data,
    this.clientOnDaySelected,
    this.clientOnChangeMonth,
    this.clientOnEventClick,
    this.dataColumnName,
    this.endTimeColumnName,
    this.initTimeColumnName,
    this.styleColumnName,
    this.titleColumnName,
    this.setDataLoad,
    this.showPeriodButtons,
    this.padding});
```







