Line constructor

const Line({
  1. Key? key,
  2. Color? color,
  3. double width = 1,
  4. EdgeInsets? margin,
})

Implementation

const Line({
  Key? key,
  this.color,
  this.width = 1,
  this.margin,
}) : super(key: key);