safeArea method

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

Modifier for Safearea inclusion.

Implementation

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