SliverSafeArea constructor

const SliverSafeArea({Key key, bool left: true, bool top: true, bool right: true, bool bottom: true, EdgeInsets minimum: EdgeInsets.zero, @required Widget sliver })

Creates a sliver that avoids operating system interfaces.

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

Implementation

const SliverSafeArea({
  Key key,
  this.left = true,
  this.top = true,
  this.right = true,
  this.bottom = true,
  this.minimum = EdgeInsets.zero,
  @required this.sliver,
}) : assert(left != null),
     assert(top != null),
     assert(right != null),
     assert(bottom != null),
     super(key: key);