diff --git a/lib/flutter_calendar_carousel.dart b/lib/flutter_calendar_carousel.dart index 6b211d9..31714b6 100644 --- a/lib/flutter_calendar_carousel.dart +++ b/lib/flutter_calendar_carousel.dart @@ -136,6 +136,7 @@ class CalendarCarousel extends StatefulWidget { final bool shouldShowTransform; CalendarCarousel({ + Key key, this.viewportFraction = 1.0, this.prevDaysTextStyle, this.daysTextStyle, @@ -212,7 +213,7 @@ class CalendarCarousel extends StatefulWidget { this.showIconBehindDayText = false, this.pageScrollPhysics = const ScrollPhysics(), this.shouldShowTransform = true, - }); + }): super(key: key); @override _CalendarState createState() => _CalendarState();