Require "preferences" plugin

This commit is contained in:
Oliver Walters committed 2020-03-29 11:15:12 +11:00
1 parent b71c665453
commit c64d4c3ccb
3 files changed
+16 -1

No files matched your search

+7 -1
View File
@@ -1,10 +1,16 @@
import 'package:flutter/material.dart';
import 'package:preferences/preferences.dart';
import 'settings.dart';
import 'api.dart';
import 'preferences.dart';
void main() => runApp(MyApp());
void main() async {
await PrefService.init(prefix: "inventree_");
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.