WidgetsFlutterBinding, setPreferredOrientations

Flutter WidgetsFlutterBinding, setPreferredOrientations

flutter 100-days flutter-100-days

WidgetsFlutterBinding.ensureInitialized

當 async, 時確保 Flutter 載入正常

 SystemChrome.setPreferredOrientations 鎖住螢幕轉向