DividerPainters class

The divider painter factory.

Constructors

DividerPainters()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

background({bool animationEnabled = DividerPainter.defaultAnimationEnabled, Duration animationDuration = DividerPainter.defaultAnimationDuration, Color? color, Color? highlightedColor}) DividerPainter
Builds a divider painter to set the background color.
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}) DividerPainter
Builds a dashed divider painter.
grooved1({double size = 25, Color? backgroundColor, Color? highlightedBackgroundColor, bool animationEnabled = DividerPainter.defaultAnimationEnabled, Duration animationDuration = DividerPainter.defaultAnimationDuration, Color color = Colors.black38, Color? highlightedColor = Colors.black, StrokeCap strokeCap = StrokeCap.round, double thickness = 2, double? highlightedThickness = 4, double? highlightedSize = 40}) DividerPainter
Builds a grooved divider painter.
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}) DividerPainter
Builds a grooved divider painter. The count parameters defines the number of grooved for each side of the axis.