BetweenBarsData constructor

BetweenBarsData({
  1. required int fromIndex,
  2. required int toIndex,
  3. Color? color,
  4. Gradient? gradient,
})

Implementation

BetweenBarsData({
  required this.fromIndex,
  required this.toIndex,
  Color? color,
  this.gradient,
}) : color = color ??
          ((color == null && gradient == null)
              ? Colors.blueGrey.withOpacity(0.5)
              : null);