SlidableLineChartThemeData<E extends Enum> constructor
const
SlidableLineChartThemeData<E extends Enum> ({
- List<
CoordinatesStyle< ? coordinatesStyleList,E> > - TextStyle? axisLabelStyle,
- Color? axisLineColor,
- double? axisLineWidth,
- Color? gridLineColor,
- double? gridLineWidth,
- DrawGridLineType? drawGridLineType,
- DrawGridLineStyle? drawGridLineStyle,
- double? dashedGridLineWidth,
- double? dashedGridLineGap,
- bool? showTapArea,
- double? lineWidth,
- TextStyle? displayValueTextStyle,
- double? displayValueMarginBottom,
- double? indicatorMarginTop,
- double? indicatorRadius,
- Color? checkBackgroundColor,
- Color? closeBackgroundColor,
- Color? checkColor,
- Color? closeColor,
- double? smooth,
- double? disabledOpacity,
Create a SlidableLineChartThemeData that's used to configure a SlidableLineChartTheme.
Implementation
const SlidableLineChartThemeData({
this.coordinatesStyleList,
this.axisLabelStyle,
this.axisLineColor,
this.axisLineWidth,
this.gridLineColor,
this.gridLineWidth,
this.drawGridLineType,
this.drawGridLineStyle,
this.dashedGridLineWidth,
this.dashedGridLineGap,
this.showTapArea,
this.lineWidth,
this.displayValueTextStyle,
this.displayValueMarginBottom,
this.indicatorMarginTop,
this.indicatorRadius,
this.checkBackgroundColor,
this.closeBackgroundColor,
this.checkColor,
this.closeColor,
this.smooth,
this.disabledOpacity,
}) : assert(
smooth == null || (smooth >= 0.0 && smooth <= 1.0),
'smooth($smooth) must be between [0-1]',
),
assert(
disabledOpacity == null ||
(disabledOpacity >= 0.0 && disabledOpacity <= 1.0),
'disabledOpacity($disabledOpacity) must be between [0-1]',
);