Want to make media.orientation to portrait In Flutter Widget testing? Wrapping the widgets that query orientation in
.copyWith(size: const Size(600.0, 800.0)),
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.