Line constructor

const Line({
  1. Key? key,
  2. double width = double.infinity,
  3. double height = 1,
  4. Color? color,
  5. BorderRadius? borderRadius,
  6. bool? centered,
  7. EdgeInsets padding = EdgeInsets.zero,
  8. EdgeInsets margin = const EdgeInsets.symmetric(vertical: 8),
})

Implementation

const Line({
  super.key,
  this.width = double.infinity,
  this.height = 1,
  this.color,
  this.borderRadius,
  this.centered,
  this.padding = EdgeInsets.zero,
  this.margin = const EdgeInsets.symmetric(vertical: 8),
});