SafeArea constructor

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

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