Divider constructor
Creates a Material Design divider.
The height
, thickness
, indent
, and endIndent
must be null or
non-negative.
Implementation
const Divider({
super.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);