Skip to content

Commit

Permalink
🐛 fix: issue #42
Browse files Browse the repository at this point in the history
- Wrap all the children of Row with expanded. in MonthView _weekBuilder.
  • Loading branch information
ParthBaraiya committed Mar 7, 2022
1 parent 85a2152 commit 9497425
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# [0.0.5]() - 7 March 2022 [Unreleased]

- Fixed issue [#42 - WeekDayTile causes RenderFlex-Overflow](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/42)

# [0.0.4](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/0.0.4)

- Fixed issue [#39 - Detect a long press on the calendar](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/39)
Expand Down
8 changes: 5 additions & 3 deletions lib/src/month_view/month_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,11 @@ class MonthViewState<T> extends State<MonthView<T>> {
child: Row(
children: List.generate(
7,
(index) => SizedBox(
width: _cellWidth,
child: _weekBuilder(index),
(index) => Expanded(
child: SizedBox(
width: _cellWidth,
child: _weekBuilder(index),
),
),
),
),
Expand Down

0 comments on commit 9497425

Please sign in to comment.