dashed static method
DividerPainter
dashed({
- double size = 10,
- double gap = 5,
- Color? backgroundColor,
- Color? highlightedBackgroundColor,
- bool animationEnabled = DividerPainter.defaultAnimationEnabled,
- Duration animationDuration = DividerPainter.defaultAnimationDuration,
- Color color = Colors.black,
- Color? highlightedColor,
- StrokeCap strokeCap = StrokeCap.square,
- double thickness = 1,
- double? highlightedThickness,
- double? highlightedGap,
Builds a dashed divider painter.
Implementation
static DividerPainter dashed(
{double size = 10,
double gap = 5,
Color? backgroundColor,
Color? highlightedBackgroundColor,
bool animationEnabled = DividerPainter.defaultAnimationEnabled,
Duration animationDuration = DividerPainter.defaultAnimationDuration,
Color color = Colors.black,
Color? highlightedColor,
StrokeCap strokeCap = StrokeCap.square,
double thickness = 1,
double? highlightedThickness,
double? highlightedGap}) {
return _DashedDividerPainter(
size: size,
gap: gap,
backgroundColor: backgroundColor,
highlightedBackgroundColor: highlightedBackgroundColor,
animationEnabled: animationEnabled,
animationDuration: animationDuration,
color: color,
highlightedColor: highlightedColor,
strokeCap: strokeCap,
thickness: thickness,
highlightedThickness: highlightedThickness,
highlightedGap: highlightedGap);
}