fix: Status bar on Android tablets invisible
This commit is contained in:
parent
752ce39eeb
commit
690ad5c3a5
1 changed files with 6 additions and 0 deletions
|
|
@ -10,6 +10,12 @@ class EmptyPage extends StatelessWidget {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final _width = min(MediaQuery.of(context).size.width, EmptyPage._width);
|
final _width = min(MediaQuery.of(context).size.width, EmptyPage._width);
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
|
// Add invisible appbar to make status bar on Android tablets bright.
|
||||||
|
appBar: AppBar(
|
||||||
|
automaticallyImplyLeading: false,
|
||||||
|
elevation: 0,
|
||||||
|
),
|
||||||
|
extendBodyBehindAppBar: true,
|
||||||
body: Column(
|
body: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue