SliverSafeArea constructor
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);