1
0
mirror of https://github.com/flutter/samples.git synced 2026-04-18 21:12:29 +00:00

Fixing unchangeable Shrine categories. (#9)

This commit is contained in:
Andrew Brogdon
2018-08-08 08:41:18 -07:00
committed by GitHub
parent 2681473884
commit 370a72caa5
5 changed files with 48 additions and 68 deletions

View File

@@ -13,12 +13,16 @@
// limitations under the License.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:scoped_model/scoped_model.dart';
import 'app.dart';
import 'model/app_state_model.dart';
void main() {
SystemChrome.setPreferredOrientations(
[DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]);
AppStateModel model = AppStateModel();
model.loadProducts();