BollingerBandIndicator<T, D> class Null safety

This class has the property of bollinger band indicator.

This indicator also has upperLineColor, lowerLineColor property for defining the brushes for the indicator lines. Also, we can specify standard deviation values for the BollingerBandIndicator using standardDeviation property.

Provides options for series visible, axis name, series name, animation duration, legend visibility, band color to customize the appearance.

Inheritance
Annotations

Constructors

BollingerBandIndicator({bool? isVisible, String? xAxisName, String? yAxisName, String? seriesName, List<double>? dashArray, double? animationDuration, double? animationDelay, List<T>? dataSource, ChartValueMapper<T, D>? xValueMapper, ChartValueMapper<T, num>? closeValueMapper, String? name, bool? isVisibleInLegend, LegendIconType? legendIconType, String? legendItemText, Color? signalLineColor, double? signalLineWidth, int? period, int standardDeviation = 2, Color upperLineColor = Colors.red, double upperLineWidth = 2, Color lowerLineColor = Colors.green, double lowerLineWidth = 2, Color bandColor = const Color(0x409e9e9e), ChartIndicatorRenderCallback? onRenderDetailsUpdate})
Creating an argument constructor of BollingerBandIndicator class.

Properties

animationDelay double?
Delay duration of the technical indicator's animation. It takes a millisecond value as input. By default, the technical indicator will get animated for the specified duration. If animationDelay is specified, then the technical indicator will begin to animate after the specified duration.
final, inherited
animationDuration double
Animation duration for the technical indicators.
final, inherited
bandColor Color
Band color of the bollinger band.
final
closeValueMapper ChartIndexedValueMapper<num>?
Value mapper to map the close values with technical indicators.
final, inherited
dashArray List<double>
Property to provide dash array for the technical indicators.
final, inherited
dataSource List<T>?
Property to provide data for the technical indicators without any series.
final, inherited
hashCode int
The hash code for this object.
read-only, override
highValueMapper ChartIndexedValueMapper<num>?
Value mapper to map the high values with technical indicators.
final, inherited
isVisible bool
Boolean property to change the visibility of the technical indicators.
final, inherited
isVisibleInLegend bool
Boolean property to determine the rendering of legends for the technical indicators.
final, inherited
legendIconType LegendIconType
Property to provide icon type for the technical indicators legend.
final, inherited
legendItemText String?
Property to provide the text for the technical indicators legend.
final, inherited
lowerLineColor Color
Lower line color value of the bollinger band.
final
lowerLineWidth double
Lower line width value of the bollinger band.
final
lowValueMapper ChartIndexedValueMapper<num>?
Value mapper to map the low values with technical indicators.
final, inherited
name String?
Property to provide name for the technical indicators.
final, inherited
onRenderDetailsUpdate ChartIndicatorRenderCallback?
Callback which gets called while rendering the indicators.
final, inherited
openValueMapper ChartIndexedValueMapper<num>?
Value mapper to map the open values with technical indicators.
final, inherited
period int
Period determines the start point for the rendering of technical indicators.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seriesName String?
Property to link indicators to a series based on names.
final, inherited
signalLineColor Color
Property to provide the color of the signal line in the technical indicators.
final, inherited
signalLineWidth double
Property to provide the width of the signal line in the technical indicators.
final, inherited
standardDeviation int
Standard deviation value of the bollinger band.
final
upperLineColor Color
Upper line color of the bollinger band.
final
upperLineWidth double
Upper line width value of the bollinger band.
final
xAxisName String?
Property to map the technical indicators with the axes.
final, inherited
xValueMapper ChartIndexedValueMapper<D>?
Value mapper to map the x values with technical indicators.
final, inherited
yAxisName String?
Property to map the technical indicators with the axes.
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override