BarData constructor

const BarData(
  1. {Key key,
  2. @required double value,
  3. @required double maxValue,
  4. @required Color barBackColor,
  5. @required Color barColor,
  6. @required String title,
  7. @required String toolTip,
  8. dynamic elevation,
  9. TextStyle titleTextStyle}
)

Implementation

const BarData({
  Key key,
  @required this.value,
  @required this.maxValue,
  @required this.barBackColor,
  @required this.barColor,
  @required this.title,
  @required this.toolTip,
  this.elevation,
  this.titleTextStyle,
});