SafeAreaModifier constructor

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

Creates a widget that avoids operating system interfaces.

The left, top, right, bottom, and minimum arguments must not be null.

Implementation

const SafeAreaModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.left = true,
  this.top = true,
  this.right = true,
  this.bottom = true,
  this.minimum = EdgeInsets.zero,
  this.maintainBottomViewPadding = false,
});