grooved2 static method
DividerPainter
grooved2({
- double size = 3,
- Color? backgroundColor,
- Color? highlightedBackgroundColor,
- bool animationEnabled = DividerPainter.defaultAnimationEnabled,
- Duration animationDuration = DividerPainter.defaultAnimationDuration,
- Color color = Colors.black38,
- double gap = 5,
- int count = 7,
- Color? highlightedColor = Colors.black,
- StrokeCap strokeCap = StrokeCap.round,
- double thickness = 2,
- int? highlightedCount = 13,
Builds a grooved divider painter.
The count
parameters defines the number of grooved for each side of the axis.
Implementation
static DividerPainter grooved2(
{double size = 3,
Color? backgroundColor,
Color? highlightedBackgroundColor,
bool animationEnabled = DividerPainter.defaultAnimationEnabled,
Duration animationDuration = DividerPainter.defaultAnimationDuration,
Color color = Colors.black38,
double gap = 5,
int count = 7,
Color? highlightedColor = Colors.black,
StrokeCap strokeCap = StrokeCap.round,
double thickness = 2,
int? highlightedCount = 13}) {
return _GroovedDividerPainter2(
size: size,
backgroundColor: backgroundColor,
highlightedBackgroundColor: highlightedBackgroundColor,
animationEnabled: animationEnabled,
animationDuration: animationDuration,
color: color,
gap: gap,
count: count,
highlightedColor: highlightedColor,
strokeCap: strokeCap,
thickness: thickness,
highlightedCount: highlightedCount);
}