LinePattern.horizontal constructor
LinePattern.horizontal({})
Creates a horizontal line pattern.
Implementation
factory LinePattern.horizontal({
double strokeWidth = 2,
double spacing = 8,
Color backgroundColor = const Color(0x00000000),
Color foregroundColor = const Color(0xFF000000),
}) {
return LinePattern(
strokeWidth: strokeWidth,
spacing: spacing,
angle: 0,
backgroundColor: backgroundColor,
foregroundColor: foregroundColor,
);
}