BarLollipopStyle class

A light-weight stem-and-head treatment for categorical bar values.

Supplying this style replaces the filled bar body while preserving the same canonical value geometry, labels, animation, tooltips, and interactions. The stem follows the value axis and the circular head marks the exact value end.

Available extensions
Annotations
  • @chartSurface

Constructors

BarLollipopStyle({double stemWidth = 3.0, double headRadius = 7.0, Color? stemColor, Color? headColor, BarBorderStyle? headBorder})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
headBorder BarBorderStyle?
Optional outline around the value marker.
final
headColor Color?
Optional head color. Null inherits the resolved point or series color.
final
headRadius double
Logical-pixel radius of the circular value marker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stemColor Color?
Optional stem color. Null inherits the resolved point or series color.
final
stemWidth double
Logical-pixel width of the line from the baseline to the value.
final

Methods

clearHeadBorder() BarLollipopStyle

Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension

Clears BarLollipopStyle.headBorder to null.
clearHeadColor() BarLollipopStyle

Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension

Clears BarLollipopStyle.headColor to null.
clearStemColor() BarLollipopStyle

Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension

Clears BarLollipopStyle.stemColor to null.
copyWith({double? stemWidth, double? headRadius, Color? stemColor, Color? headColor, BarBorderStyle? headBorder, bool clearStemColor = false, bool clearHeadColor = false, bool clearHeadBorder = false}) BarLollipopStyle
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withHeadBorder(BarBorderStyle value) BarLollipopStyle

Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension

Replaces BarLollipopStyle.headBorder with value.
withHeadColor(Color value) BarLollipopStyle

Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension

Replaces BarLollipopStyle.headColor with value.
withHeadRadius(double value) BarLollipopStyle

Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension

Replaces BarLollipopStyle.headRadius with value.
withStemColor(Color value) BarLollipopStyle

Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension

Replaces BarLollipopStyle.stemColor with value.
withStemWidth(double value) BarLollipopStyle

Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension

Replaces BarLollipopStyle.stemWidth with value.

Operators

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