Update main.dart

This commit is contained in:
Festus Babajide Olusegun
2020-03-17 19:33:34 +01:00
committed by GitHub
parent 62ef216100
commit 6ebd7acecb

View File

@@ -6,10 +6,7 @@ import 'package:flutter_travel_concept/util/const.dart';
import 'package:provider/provider.dart';
void main() async {
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
.then((_) {
runApp(MyApp());
});
runApp(MyApp());
}
class MyApp extends StatefulWidget {