Flutter & Dart · Component
SafeArea
SafeArea adds padding around a widget so operating-system interfaces do not cover it. It can protect selected screen edges and apply a minimum inset.
Last updated
Syntax
const SafeArea({Key? key, bool left = true, bool top = true, bool right = true, bool bottom = true, EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false, required Widget child})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
SliverSafeAreaPaddingMediaQueryFlutterView.padding