Divider constructor

const Divider(
  1. {Key key,
  2. double height,
  3. double thickness,
  4. double indent,
  5. double endIndent,
  6. Color color}
)

Creates a material design divider.

The height, thickness, indent, and endIndent must be null or non-negative.

Implementation

const Divider({
  Key key,
  this.height,
  this.thickness,
  this.indent,
  this.endIndent,
  this.color,
}) : assert(height == null || height >= 0.0),
     assert(thickness == null || thickness >= 0.0),
     assert(indent == null || indent >= 0.0),
     assert(endIndent == null || endIndent >= 0.0),
     super(key: key);