DottedContainer constructor

const DottedContainer({
  1. Key? key,
  2. required double height,
  3. required double width,
  4. LinePosition linePosition = LinePosition.bottom,
  5. Shape shape = Shape.line,
  6. Color color = Colors.black,
  7. BorderRadius borderRadius = BorderRadius.zero,
  8. List<int> dash = const [4, 4],
  9. double strokeWidth = 1,
  10. Widget? child,
  11. EdgeInsetsGeometry? padding,
  12. EdgeInsetsGeometry? margin,
  13. Color? fillColor = Colors.transparent,
  14. DecorationImage? decorationImage,
})

Implementation

const DottedContainer(
    {super.key,
    required this.height,
    required this.width,
    this.linePosition = LinePosition.bottom,
    this.shape = Shape.line,
    this.color = Colors.black,
    this.borderRadius = BorderRadius.zero,
    this.dash = const [4, 4],
    this.strokeWidth = 1,
    this.child,
    this.padding,
    this.margin,
    this.fillColor = Colors.transparent,
    this.decorationImage});