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