Skip to main content

Properties

Required

Widget
required
The widget to wrap with safe area padding.

Layout

bool
default:"true"
Whether to apply safe area padding to the left side.
bool
default:"true"
Whether to apply safe area padding to the top side.
bool
default:"true"
Whether to apply safe area padding to the right side.
bool
default:"true"
Whether to apply safe area padding to the bottom side.

Behavior

bool
default:"true"
Whether to use sidebar-aware padding behavior. When true, uses medium spacing when sidebar is visible and system safe area when hidden. When false, always uses system safe area padding.

Best Practices

  • Put NeoSafeArea at the root of the page content, inside the background color.
Last modified on September 30, 2026