IndicatorOptions class

Constructors

IndicatorOptions({String formatter(double value) = defaultFormatter, TextStyle? style, bool draw = true})
const

Properties

draw bool
Use to choose if indicator will be drawn or not.
final
formatter String Function(double value)
Used to define how value will be formatted.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
TextStyle used to draw formatted value
final

Methods

copyWith({String formatter(double value)?, TextStyle? style, bool? draw}) IndicatorOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

defaultFormatter(double value) String