From 98a5562c27100faffe7ef06d8548a75285fe39f7 Mon Sep 17 00:00:00 2001 From: Felipe Sales <[soufeliposales@gmail.com]> Date: Thu, 11 Feb 2021 21:18:29 -0300 Subject: [PATCH] Limiting the Width of the Content --- lib/pages/home/home_page.dart | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/pages/home/home_page.dart b/lib/pages/home/home_page.dart index 2277707..4b040a8 100644 --- a/lib/pages/home/home_page.dart +++ b/lib/pages/home/home_page.dart @@ -18,6 +18,17 @@ class HomePage extends StatelessWidget { child: WebAppBar(), preferredSize: Size(double.infinity, 80)), drawer: constraints.maxWidth < mobileBreakpoint ? Drawer() : null, + body: Align( + alignment: Alignment.topCenter, + child: ConstrainedBox( + constraints: BoxConstraints( + maxWidth: 1200, + ), + child: ListView( + + ), + ), + ), ); }, );