Skip to content

Commit

Permalink
Release/1.4.0 (#160)
Browse files Browse the repository at this point in the history
* Resolve #154
* Release 1.4.0
  • Loading branch information
hyochan authored Oct 12, 2019
1 parent fcf0cf6 commit e6cf90a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## [1.4.0]
+ Resolve [#154](https://github.com/dooboolab/flutter_calendar_carousel/issues/154).
## [1.3.29]
+ Resolve [#157](https://github.com/dooboolab/flutter_calendar_carousel/issues/157).
## [1.3.28]
Expand Down
3 changes: 2 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,13 @@ class _MyHomePageState extends State<MyHomePage> {
events.forEach((event) => print(event.title));
},
daysHaveCircularBorder: true,
showOnlyCurrentMonthDate: true,
showOnlyCurrentMonthDate: false,
weekendTextStyle: TextStyle(
color: Colors.red,
),
thisMonthDayBorderColor: Colors.grey,
weekFormat: false,
// firstDayOfWeek: 4,
markedDatesMap: _markedDateMap,
height: 420.0,
selectedDateTime: _currentDate2,
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.3.29"
version: "1.4.0"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
4 changes: 2 additions & 2 deletions lib/flutter_calendar_carousel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -748,11 +748,11 @@ class _CalendarState<T extends EventInterface> extends State<CalendarCarousel<T>
List<DateTime> week1 = _getDaysInWeek(now);
List<DateTime> week2 = _getDaysInWeek(now.add(new Duration(days: 7)));

_startWeekday = date1.weekday - firstDayOfWeek;
_startWeekday = date1.weekday - firstDayOfWeek - 1;
if (widget.showOnlyCurrentMonthDate && _startWeekday == 7) {
_startWeekday = 0;
}
_endWeekday = date2.weekday - firstDayOfWeek;
_endWeekday = date2.weekday - firstDayOfWeek - 1;
this._dates = [
date0,
date1,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_calendar_carousel
description: Calendar widget for flutter that is swipeable. This widget can help you build customizable calendar with scrollable actions.
version: 1.3.29
version: 1.4.0
author: dooboolab<dooboolab@gmail.com>
homepage: https://github.com/dooboolab/flutter_calendar_carousel

Expand Down

0 comments on commit e6cf90a

Please sign in to comment.