Line constructor

const Line({
  1. Key? key,
  2. double width = double.infinity,
  3. double height = 1,
  4. LineType type = LineType.normal,
  5. Color color = Colors.grey,
})

Implementation

const Line({
  super.key,
  this.width = double.infinity,
  this.height = 1,
  this.type = LineType.normal,
  this.color = Colors.grey,
});