VerticalDivider constructor

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

Creates a Material Design vertical divider.

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

Implementation

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