SliverSafeAreaModifier constructor

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

Creates a sliver that avoids operating system interfaces.

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

Implementation

const SliverSafeAreaModifier({
  super.key,
  Widget? sliver,
  super.modifierKey,
  this.left = true,
  this.top = true,
  this.right = true,
  this.bottom = true,
  this.minimum = EdgeInsets.zero,
}) : super(child: sliver);