From 6d8562e61d7feb5c5c84b8149d5727f49f43fb20 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 21 Nov 2022 00:40:24 -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 Change-Id: Ic4b949951262806cf1a51e8a273fa3e2d88b0578 --- lib/home_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/home_page.dart') diff --git a/lib/home_page.dart b/lib/home_page.dart index 481fef0..9986d8e 100644 --- a/lib/home_page.dart +++ b/lib/home_page.dart @@ -28,7 +28,7 @@ class MyHome_Page extends StatelessWidget { SizeConfig().init(context); return Scaffold( - backgroundColor: Colors.black54, + backgroundColor: Colors.black, body: Flex(direction: Axis.vertical, children: [ Flexible( -- cgit