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
return Scaffold(
- backgroundColor: Colors.black87,
+ backgroundColor: Colors.black,
body: OrientationBuilder(
builder: (context, orientation) {
if (orientation == Orientation.landscape) {
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
child: Container(
- color: Colors.black87,
+ color: Colors.black,
),
),