fix: remove sizer

This commit is contained in:
mso7nueh
2024-09-11 13:56:33 +03:00
parent 220e13d525
commit 3aa9e8cba8
38 changed files with 359 additions and 413 deletions

View File

@@ -61,12 +61,12 @@ class CalendarScreen extends StatelessWidget {
Expanded(
child: SingleChildScrollView(
child: Padding(
padding: EdgeInsets.only(bottom: 5.v),
padding: EdgeInsets.only(bottom: 8),
child: Column(
children: [
SizedBox(height: 20.v),
SizedBox(height: 24),
_buildCalendarBody(context, state),
SizedBox(height: 20.v),
SizedBox(height: 24),
],
),
),
@@ -87,7 +87,7 @@ class CalendarScreen extends StatelessWidget {
physics: NeverScrollableScrollPhysics(),
separatorBuilder: (context, index) {
return SizedBox(
height: 2.v,
height: 4,
);
},
itemCount: state.calendarList.length,
@@ -118,7 +118,7 @@ class CalendarScreen extends StatelessWidget {
formatDate(state.calendarList[index].date),
style: theme.textTheme.titleMedium,
),
SizedBox(height: 2.v),
SizedBox(height: 4),
if (state.calendarList[index]
.is_current_day_included_in_the_chosen_diet_progression)
Container(
@@ -185,7 +185,7 @@ class CalendarScreen extends StatelessWidget {
formatDate(state.calendarList[index].date),
style: theme.textTheme.titleMedium,
),
SizedBox(height: 2.v),
SizedBox(height: 4),
Row(children: [
Container(
padding: EdgeInsets.all(