Sometimes, you may need to know the size and position of a widget rendered on the screen programmatically. For example, you will need to control a child’s widget based on the parent’s size and location. So, we’ll see how to determine screen height and width in the Flutter app.