Divider constructor

const Divider({
  1. Key? key,
  2. Axis axis = Axis.horizontal,
  3. double thickness = 1.0,
  4. double? height,
  5. Color? color,
  6. double? indent,
  7. double? endIndent,
  8. double? length,
})

Creates a horizontal Divider instance.

Implementation

const Divider({
  super.key,
  this.axis = Axis.horizontal,
  this.thickness = 1.0,
  this.height,
  this.color,
  this.indent,
  this.endIndent,
  this.length,
}) : width = null;