CandlestickTheme class
Theme defaults for native Candlestick rendering.
Series and point styles may override these colors. Direction is also communicated by the series' hollow/filled body treatment, so the defaults never rely on hue alone.
- Available extensions
- Annotations
-
- @immutable
- @chartSurface
Constructors
- CandlestickTheme({required Color risingBodyFillColor, required Color fallingBodyFillColor, required Color dojiBodyFillColor, required Color risingBorderColor, required Color fallingBorderColor, required Color dojiBorderColor, required Color risingWickColor, required Color fallingWickColor, required Color dojiWickColor, required Color selectionColor, required Color focusColor})
-
const
Properties
- dojiBodyFillColor → Color
-
final
- dojiBorderColor → Color
-
final
- dojiWickColor → Color
-
final
- fallingBodyFillColor → Color
-
final
- fallingBorderColor → Color
-
final
- fallingWickColor → Color
-
final
- focusColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- risingBodyFillColor → Color
-
final
- risingBorderColor → Color
-
final
- risingWickColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionColor → Color
-
final
Methods
-
copyWith(
{Color? risingBodyFillColor, Color? fallingBodyFillColor, Color? dojiBodyFillColor, Color? risingBorderColor, Color? fallingBorderColor, Color? dojiBorderColor, Color? risingWickColor, Color? fallingWickColor, Color? dojiWickColor, Color? selectionColor, Color? focusColor}) → CandlestickTheme -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withDojiBodyFillColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.dojiBodyFillColor withvalue. -
withDojiBorderColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.dojiBorderColor withvalue. -
withDojiWickColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.dojiWickColor withvalue. -
withFallingBodyFillColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.fallingBodyFillColor withvalue. -
withFallingBorderColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.fallingBorderColor withvalue. -
withFallingWickColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.fallingWickColor withvalue. -
withFocusColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.focusColor withvalue. -
withRisingBodyFillColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.risingBodyFillColor withvalue. -
withRisingBorderColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.risingBorderColor withvalue. -
withRisingWickColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.risingWickColor withvalue. -
withSelectionColor(
Color value) → CandlestickTheme -
Available on CandlestickTheme, provided by the CandlestickThemeFluent extension
Replaces CandlestickTheme.selectionColor withvalue.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- colorblindFriendly → const CandlestickTheme
- dark → const CandlestickTheme
- highContrast → const CandlestickTheme
- light → const CandlestickTheme