Answers for "flutter lock orientation smartphone"

1

flutter lock orientation

@override
void initState(){
  super.initState();
  SystemChrome.setPreferredOrientations([
      DeviceOrientation.landscapeRight,
      DeviceOrientation.landscapeLeft,
  ]);
}
Posted by: Guest on August-07-2020

Code answers related to "flutter lock orientation smartphone"

Browse Popular Code Answers by Language