summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-11-21 00:40:24 -0500
committerScott Murray <scott.murray@konsulko.com>2022-11-21 00:50:05 -0500
commit6d8562e61d7feb5c5c84b8149d5727f49f43fb20 (patch)
tree3a30c633a0197afada6897ef63e579f0d6ece4a7
parent5559cdb261cfd3e69daa2349906f071dc2491c0d (diff)
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: Ic4b949951262806cf1a51e8a273fa3e2d88b0578
-rw-r--r--lib/home_page.dart2
1 files changed, 1 insertions, 1 deletions
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(