SliverSafeArea constructor

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

Creates a sliver that avoids operating system interfaces.

Implementation

const SliverSafeArea({
  super.key,
  this.left = true,
  this.top = true,
  this.right = true,
  this.bottom = true,
  this.minimum = EdgeInsets.zero,
  required this.sliver,
});