ChartTheme constructor
const
ChartTheme({
- required Color backgroundColor,
- required Color bullishColor,
- required Color bearishColor,
- required Color bullishTransparent,
- required Color bearishTransparent,
- required Color gridColor,
- required Color axisTextColor,
- required Color axisLineColor,
- required Color crosshairColor,
- required Color crosshairBadgeBackground,
- required Color crosshairBadgeTextColor,
- required Color currentPriceLineColor,
- required Color currentPriceBadgeBackground,
- required Color currentPriceBadgeTextColor,
- required TextStyle axisTextStyle,
- 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,
});