PlotBand constructor
const
PlotBand({
- bool isVisible = true,
- dynamic start,
- dynamic end,
- dynamic associatedAxisStart,
- dynamic associatedAxisEnd,
- Color color = Colors.grey,
- LinearGradient? gradient,
- double opacity = 1.0,
- Color borderColor = Colors.transparent,
- double borderWidth = 2,
- List<
double> dashArray = const <double>[0, 0], - String? text,
- TextStyle? textStyle,
- int? textAngle,
- String? verticalTextPadding,
- String? horizontalTextPadding,
- TextAnchor verticalTextAlignment = TextAnchor.middle,
- TextAnchor horizontalTextAlignment = TextAnchor.middle,
- bool isRepeatable = false,
- dynamic repeatEvery = 1,
- dynamic repeatUntil,
- dynamic size,
- DateTimeIntervalType sizeType = DateTimeIntervalType.auto,
- bool shouldRenderAboveSeries = false,
Creating an argument constructor of PlotBand class.
Implementation
const PlotBand({
this.isVisible = true,
this.start,
this.end,
this.associatedAxisStart,
this.associatedAxisEnd,
this.color = Colors.grey,
this.gradient,
this.opacity = 1.0,
this.borderColor = Colors.transparent,
this.borderWidth = 2,
this.dashArray = const <double>[0, 0],
this.text,
this.textStyle,
this.textAngle,
this.verticalTextPadding,
this.horizontalTextPadding,
this.verticalTextAlignment = TextAnchor.middle,
this.horizontalTextAlignment = TextAnchor.middle,
this.isRepeatable = false,
this.repeatEvery = 1,
this.repeatUntil,
this.size,
this.sizeType = DateTimeIntervalType.auto,
this.shouldRenderAboveSeries = false,
});