Flutter Media Query & Flutter SafeArea Widget - Flutter Null Safety iOS & Android App Tutorial 2021
SafeArea is a widget that inserts its child by sufficient padding to avoid intrusions by the operating system. For example, this will indent the child to avoid the status bar at the top of the screen. MediaQuery can also be used to check the current device's orientation or can be used to check if the user has modified the default font size. It can also be used to determine if parts of the screen are obscured by a system UI, similar to a safe area widget. In this video you will learn about safe area and media query in flutter.
SafeArea is a widget that inserts its child by sufficient padding to avoid intrusions by the operating system. For example, this will indent the child to avoid the status bar at the top of the screen. MediaQuery can also be used to check the current device's orientation or can be used to check if the user has modified the default font size. It can also be used to determine if parts of the screen are obscured by a system UI, similar to a safe area widget. In this video you will learn about safe area and media query in flutter.