buildTween method
Builds a tween map for animations.
Implementation
Map<int, Tween> buildTween() {
Map<int, Tween> map = Map<int, Tween>();
if (animationEnabled &&
backgroundColor != null &&
highlightedBackgroundColor != null) {
map[DividerPainter.backgroundKey] =
ColorTween(begin: backgroundColor, end: highlightedBackgroundColor);
}
return map;
}