ChartTheme constructor

const ChartTheme({
  1. required Color backgroundColor,
  2. required Color textColor,
  3. required Color gridColor,
  4. required Color axisColor,
  5. required List<Color> gradientColors,
  6. double shadowElevation = 4.0,
  7. double borderRadius = 16.0,
  8. bool showGrid = true,
  9. bool showAxis = true,
  10. bool showLegend = true,
  11. bool showTooltip = true,
})

Implementation

const ChartTheme({
  required this.backgroundColor,
  required this.textColor,
  required this.gridColor,
  required this.axisColor,
  required this.gradientColors,
  this.shadowElevation = 4.0,
  this.borderRadius = 16.0,
  this.showGrid = true,
  this.showAxis = true,
  this.showLegend = true,
  this.showTooltip = true,
});