ensureInitialized()

This commit is contained in:
Marco 2024-06-09 20:11:54 +02:00
parent d59f09eed4
commit 2a707e51e4

View File

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