From 19c929dc0a2dbf0537d3ff31a821f1fc6f77f5d7 Mon Sep 17 00:00:00 2001 From: DASHU <385321165@qq.com> Date: Sun, 19 Jan 2025 16:52:27 +0800 Subject: [PATCH] index add safearea --- lib/router/index/index_router.dart | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/router/index/index_router.dart b/lib/router/index/index_router.dart index 57c197c..1b500b2 100644 --- a/lib/router/index/index_router.dart +++ b/lib/router/index/index_router.dart @@ -126,11 +126,14 @@ class _IndexRouter extends CustState statusBarIconBrightness: Brightness.dark, statusBarBrightness: Brightness.light, ), - child: Column( - children: [ - Expanded(child: main), - IndexWebBottomComponent(showControl), - ], + child: SafeArea( + bottom: true, + child: Column( + children: [ + Expanded(child: main), + IndexWebBottomComponent(showControl), + ], + ), ), ), ),