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 tonull. -
clearHeadColor(
) → BarLollipopStyle -
Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension
Clears BarLollipopStyle.headColor tonull. -
clearStemColor(
) → BarLollipopStyle -
Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension
Clears BarLollipopStyle.stemColor tonull. -
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 withvalue. -
withHeadColor(
Color value) → BarLollipopStyle -
Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension
Replaces BarLollipopStyle.headColor withvalue. -
withHeadRadius(
double value) → BarLollipopStyle -
Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension
Replaces BarLollipopStyle.headRadius withvalue. -
withStemColor(
Color value) → BarLollipopStyle -
Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension
Replaces BarLollipopStyle.stemColor withvalue. -
withStemWidth(
double value) → BarLollipopStyle -
Available on BarLollipopStyle, provided by the BarLollipopStyleFluent extension
Replaces BarLollipopStyle.stemWidth withvalue.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override