ensureInitialized()
This commit is contained in:
parent
d59f09eed4
commit
2a707e51e4
@ -7,6 +7,7 @@ import 'package:kalodings/perdate_widget.dart';
|
|||||||
import 'package:kalodings/storage/storage.dart';
|
import 'package:kalodings/storage/storage.dart';
|
||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
var storage = await FoodStorage.create();
|
var storage = await FoodStorage.create();
|
||||||
|
|
||||||
runApp(MainApp(storage: storage));
|
runApp(MainApp(storage: storage));
|
||||||
|
Loading…
Reference in New Issue
Block a user