SafeArea Widget

In this lesson, we discuss the SafeArea widget in detail.

The SafeArea widget provides padding around its child to avoid overlapping with operating system-level operations like the status bar at the top of the screen.

Why SafeArea widget?

Let’s see what happens when we remove the center widget.

return MaterialApp(
      home: Text("Hello Flutter !"),
    );

Get hands-on with 1400+ tech skills courses.