ChartTheme constructor

const ChartTheme({
  1. required Color backgroundColor,
  2. required Color bullishColor,
  3. required Color bearishColor,
  4. required Color bullishTransparent,
  5. required Color bearishTransparent,
  6. required Color gridColor,
  7. required Color axisTextColor,
  8. required Color axisLineColor,
  9. required Color crosshairColor,
  10. required Color crosshairBadgeBackground,
  11. required Color crosshairBadgeTextColor,
  12. required Color currentPriceLineColor,
  13. required Color currentPriceBadgeBackground,
  14. required Color currentPriceBadgeTextColor,
  15. required TextStyle axisTextStyle,
  16. required TextStyle tooltipTextStyle,
})

Implementation

const ChartTheme({
  required this.backgroundColor,
  required this.bullishColor,
  required this.bearishColor,
  required this.bullishTransparent,
  required this.bearishTransparent,
  required this.gridColor,
  required this.axisTextColor,
  required this.axisLineColor,
  required this.crosshairColor,
  required this.crosshairBadgeBackground,
  required this.crosshairBadgeTextColor,
  required this.currentPriceLineColor,
  required this.currentPriceBadgeBackground,
  required this.currentPriceBadgeTextColor,
  required this.axisTextStyle,
  required this.tooltipTextStyle,
});