From 3f7523e774a2e1215d0c499a99e1724e88e0819b Mon Sep 17 00:00:00 2001 From: rootasjey Date: Thu, 25 Feb 2021 21:56:53 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Remove=20annoying=20padding=20to?= =?UTF-8?q?p?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/screens/topic_page.dart | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/screens/topic_page.dart b/lib/screens/topic_page.dart index c0d3c34d..280ba876 100644 --- a/lib/screens/topic_page.dart +++ b/lib/screens/topic_page.dart @@ -416,9 +416,6 @@ class _TopicPageState extends State { child: CustomScrollView( controller: scrollController, slivers: [ - SliverPadding( - padding: const EdgeInsets.only(top: 40.0), - ), appBar(), quotesListViewContainer(), ], @@ -430,7 +427,6 @@ class _TopicPageState extends State { Widget smallView() { final width = MediaQuery.of(context).size.width; final leftOffset = width < 500.00 ? 0.6 : 0.0; - final topPadding = width < Constants.maxMobileWidth ? 0.0 : 60.0; return InnerDrawer( key: _innerDrawerKey, @@ -446,12 +442,7 @@ class _TopicPageState extends State { child: topicsItemsList(), ), ), - scaffold: Material( - child: Padding( - padding: EdgeInsets.only(top: topPadding), - child: mainContent(), - ), - ), + scaffold: mainContent(), ); }