From 34827b8fdeb3a454cc684a6e8ce4a320ce69517e Mon Sep 17 00:00:00 2001 From: Scott Murray <scott.murray@konsulko.com> Date: Mon, 21 Nov 2022 00:51:04 -0500 Subject: Make background opaque To work properly with the Flutter demo homescreen, which does not provide a separate black background surface behind applications like the Qt demo one does, ensure the top-level widgets have opaque backgrounds to prevent the homescreen from showing underneath. Bug-AGL: SPEC-4614 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib20126720c75b9d958988725de76a9a5244bd4e6 --- lib/HomePage.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/HomePage.dart b/lib/HomePage.dart index c583fbf..6487ef5 100644 --- a/lib/HomePage.dart +++ b/lib/HomePage.dart @@ -35,7 +35,7 @@ class _HomePageState extends ConsumerState<HomePage> { return Scaffold( - backgroundColor: Colors.black87, + backgroundColor: Colors.black, body: OrientationBuilder( builder: (context, orientation) { if (orientation == Orientation.landscape) { @@ -45,7 +45,7 @@ class _HomePageState extends ConsumerState<HomePage> { width: MediaQuery.of(context).size.width, height: MediaQuery.of(context).size.height, child: Container( - color: Colors.black87, + color: Colors.black, ), ), -- cgit 1.2.3-korg