Changed the style of the status bar to light
This commit is contained in:
parent
8b86b0645e
commit
7b6b24a190
2 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import 'src/App.dart';
|
||||
|
||||
main() => runApp(App());
|
||||
main() {
|
||||
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.light);
|
||||
runApp(App());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||
))
|
||||
.toList(),
|
||||
),
|
||||
// This container is needed to make it seem like the search box is
|
||||
// part of the app bar.
|
||||
Container(
|
||||
height: _searchBoxHeight / 2,
|
||||
width: double.infinity,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue