Line constructor
const
Line({
- Key? key,
- double width = double.infinity,
- double height = 1,
- Color? color,
- BorderRadius? borderRadius,
- bool? centered,
- EdgeInsets padding = EdgeInsets.zero,
- 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),
});