Changed the style of the status bar to light

This commit is contained in:
Mariano Uvalle 2019-03-21 00:32:00 -06:00
parent 8b86b0645e
commit 7b6b24a190
2 changed files with 7 additions and 1 deletions

View file

@ -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());
}

View file

@ -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,