SafeAreaExtension extension

Extension methods for adding SafeArea to widgets with various configurations.

This extension provides convenient methods to wrap widgets with SafeArea while maintaining a clean and readable API.

on

Methods

safeArea({bool left = true, bool top = true, bool right = true, bool bottom = true, EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the SafeAreaExtension extension

Wraps the widget with a SafeArea with customizable padding on all sides.
safeAreaAll({EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the SafeAreaExtension extension

Wraps the widget with a SafeArea that adds padding on all sides.
safeAreaNone({EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the SafeAreaExtension extension

Wraps the widget with a SafeArea that adds no padding on any side.
safeAreaOnlyBottom({EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the SafeAreaExtension extension

Wraps the widget with a SafeArea that adds padding only on the bottom side.
safeAreaOnlyHorizontal({EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the SafeAreaExtension extension

Wraps the widget with a SafeArea that adds padding only on horizontal sides (left and right).
safeAreaOnlyLeft({EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the SafeAreaExtension extension

Wraps the widget with a SafeArea that adds padding only on the left side.
safeAreaOnlyRight({EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the SafeAreaExtension extension

Wraps the widget with a SafeArea that adds padding only on the right side.
safeAreaOnlyTop({EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the SafeAreaExtension extension

Wraps the widget with a SafeArea that adds padding only on the top side.
safeAreaOnlyVertical({EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the SafeAreaExtension extension

Wraps the widget with a SafeArea that adds padding only on vertical sides (top and bottom).