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 d142ee8
Showing 1 changed file with 5 additions and 3 deletions.
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 d142ee8

Please sign in to comment.