SafeAreaConfig constructor

const SafeAreaConfig({
  1. bool top = false,
  2. bool bottom = false,
  3. bool sides = false,
  4. bool removePaddingFromContent = false,
  5. bool bodyHasSlivers = false,
})

Apply no padding.

Assumes that the PanelContent.bodyContent is a normal child. (No slivers).

Also, don't remove padding from the content.

Implementation

const SafeAreaConfig({
  this.top = false,
  this.bottom = false,
  this.sides = false,
  this.removePaddingFromContent = false,
  this.bodyHasSlivers = false,
});