Fixed roomplan not using right background from theme
This commit is contained in:
parent
132775e1bf
commit
9cc1edad23
@ -10,13 +10,12 @@ class Roomplan extends StatelessWidget {
|
|||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text("Raumplan"),
|
title: const Text("Raumplan"),
|
||||||
),
|
),
|
||||||
backgroundColor: Colors.white,
|
|
||||||
body: PhotoView(
|
body: PhotoView(
|
||||||
imageProvider: Image.asset("assets/img/raumplan.jpg").image,
|
imageProvider: Image.asset("assets/img/raumplan.jpg").image,
|
||||||
minScale: 0.5,
|
minScale: 0.5,
|
||||||
maxScale: 2.0,
|
maxScale: 2.0,
|
||||||
backgroundDecoration: BoxDecoration(color: Theme.of(context).colorScheme.surface),
|
backgroundDecoration: BoxDecoration(color: Theme.of(context).colorScheme.background),
|
||||||
)
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user