DividerPainter class

Allows customizing the divider.

Constructors

DividerPainter({Color? backgroundColor, Color? highlightedBackgroundColor, bool animationEnabled = DividerPainter.defaultAnimationEnabled, Duration animationDuration = DividerPainter.defaultAnimationDuration})

Properties

animationDuration Duration
final
animationEnabled bool
final
backgroundColor Color?
final
hashCode int
The hash code for this object.
no setteroverride
highlightedBackgroundColor Color?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildTween() Map<int, Tween<Object?>>
Builds a tween map for animations.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint({required Axis dividerAxis, required bool resizable, required bool highlighted, required Canvas canvas, required Size dividerSize, required Map<int, dynamic> animatedValues}) → void
Paints the divider.
toString() String
A string representation of this object.
inherited

Operators

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