fix: don't allow home page content to slide down if its height is less than the screen height
This commit is contained in:
parent
732cc7cc95
commit
4a698e61d2
|
@ -1,6 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:furman_now/src/routes/index.gr.dart';
|
||||
import 'package:furman_now/src/utils/conditional_parent_widget.dart';
|
||||
import 'package:furman_now/src/widgets/events/events_list.dart';
|
||||
import 'package:furman_now/src/widgets/header.dart';
|
||||
import 'package:furman_now/src/widgets/home/restaurants/restaurants_list.dart';
|
||||
|
@ -56,6 +55,9 @@ class _HomeContentState extends State<HomeContent> {
|
|||
padding: const EdgeInsets.only(bottom: 15),
|
||||
margin: EdgeInsets.only(top: margin),
|
||||
width: double.infinity,
|
||||
constraints: BoxConstraints(
|
||||
minHeight: constraints.maxHeight - margin,
|
||||
),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
|
@ -97,7 +99,7 @@ class _HomeContentState extends State<HomeContent> {
|
|||
],
|
||||
),
|
||||
),
|
||||
]
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue