Skip to content

Commit

Permalink
[Fix apptreesoftware#1] Change calendar GridView childAspectRatio to 1.0
Browse files Browse the repository at this point in the history
This fixes a weird behavior where calendar could no
longer be expanded.
  • Loading branch information
rm3l committed May 23, 2018
1 parent 31d7c52 commit 2c66ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flutter_calendar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class _CalendarState extends State<Calendar> {
child: new GridView.count(
shrinkWrap: true,
crossAxisCount: 7,
childAspectRatio: 1.5,
childAspectRatio: 1.0,
mainAxisSpacing: 0.0,
padding: new EdgeInsets.only(bottom: 0.0),
children: calendarBuilder(),
Expand Down

0 comments on commit 2c66ffd

Please sign in to comment.