CopyPastor

Detecting plagiarism made easy.

Score: 0.9923938800921253; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2022-09-14
by Mansoor Malik

Original Post

Original - Posted on 2022-04-27
by David L



            
Present in both answers; Present only in the new answer; Present only in the old answer;

You can try...
final data = MediaQueryData.fromWindow(WidgetsBinding.instance!.window); if(data.size.shortestSide < 600) { SystemChrome.setPreferredOrientations([ DeviceOrientation.portraitUp, DeviceOrientation.portraitDown, ]); }
You can try...
final data = MediaQueryData.fromWindow(WidgetsBinding.instance!.window); if(data.size.shortestSide < 600) { SystemChrome.setPreferredOrientations([ DeviceOrientation.portraitUp, DeviceOrientation.portraitDown, ]); }
It worked for me. I hope it helps someone else

        
Present in both answers; Present only in the new answer; Present only in the old answer;