safeArea method

Widget safeArea({
  1. Key? key,
  2. EdgeInsets minimum = EdgeInsets.zero,
  3. bool maintainBottomViewPadding = false,
  4. bool top = true,
  5. bool bottom = true,
  6. bool left = true,
  7. bool right = true,
})

Extension method for SafeArea Widget

Implementation

Widget safeArea(
        {Key? key,
        EdgeInsets minimum = EdgeInsets.zero,
        bool maintainBottomViewPadding = false,
        bool top = true,
        bool bottom = true,
        bool left = true,
        bool right = true}) =>
    SafeArea(
      key: key,
      child: this,
      minimum: minimum,
      maintainBottomViewPadding: maintainBottomViewPadding,
      top: top,
      bottom: bottom,
      left: left,
      right: right,
    );