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) {
|
||||
final _width = min(MediaQuery.of(context).size.width, EmptyPage._width);
|
||||
return Scaffold(
|
||||
// Add invisible appbar to make status bar on Android tablets bright.
|
||||
appBar: AppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
elevation: 0,
|
||||
),
|
||||
extendBodyBehindAppBar: true,
|
||||
body: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue