safeArea method

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

Wrap this widget with safe area.

Implementation

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