Skip to content

Commit

Permalink
fix widget constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Miolin committed Aug 14, 2020
1 parent 7fa0894 commit 892920d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/flutter_calendar_carousel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ class CalendarCarousel<T extends EventInterface> extends StatefulWidget {
final ScrollPhysics pageScrollPhysics;

CalendarCarousel({
Key key,
this.viewportFraction = 1.0,
this.prevDaysTextStyle,
this.daysTextStyle,
Expand Down Expand Up @@ -210,7 +211,7 @@ class CalendarCarousel<T extends EventInterface> extends StatefulWidget {
this.dayMainAxisAlignment = MainAxisAlignment.center,
this.showIconBehindDayText = false,
this.pageScrollPhysics = const ScrollPhysics(),
});
}): super(key: key);

@override
_CalendarState<T> createState() => _CalendarState<T>();
Expand Down

0 comments on commit 892920d

Please sign in to comment.