summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-11-21 00:51:04 -0500
committerScott Murray <scott.murray@konsulko.com>2022-11-21 00:52:11 -0500
commit34827b8fdeb3a454cc684a6e8ce4a320ce69517e (patch)
tree95d9b93e0b8bd95155a97349c7605c834618a3e0
parent10945b8056eb2b228c156918a3505882a49a79b8 (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: Ib20126720c75b9d958988725de76a9a5244bd4e6
-rw-r--r--lib/HomePage.dart4
1 files changed, 2 insertions, 2 deletions
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,
),
),