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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user