SafeArea constructor
Creates a widget that avoids operating system interfaces.
The left
, top
, right
, bottom
, and minimum
arguments must not be
null.
Implementation
const SafeArea({
Key key,
this.left = true,
this.top = true,
this.right = true,
this.bottom = true,
this.minimum = EdgeInsets.zero,
@required this.child,
}) : assert(left != null),
assert(top != null),
assert(right != null),
assert(bottom != null),
super(key: key);