safeAreaAll method

SafeArea safeAreaAll({
  1. EdgeInsets minimum = EdgeInsets.zero,
  2. bool maintainBottomViewPadding = false,
})

Wraps the widget with a SafeArea that adds padding on all sides.

Parameters:

  • minimum - The minimum padding to apply (default: EdgeInsets.zero)
  • maintainBottomViewPadding - Whether to maintain bottom view padding (default: false)

Returns a SafeArea widget wrapping the current widget with padding on all sides.

Implementation

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