BubbleItemOptions class
Extension options for bar items geometryPainter is set to BubbleGeometryPainter
Extra options included in BubbleGeometryPainter are:
border
Define border width and color
gradient
Item can have gradient color
- Inheritance
-
- Object
- ItemOptions
- BubbleItemOptions
Constructors
- BubbleItemOptions({EdgeInsets padding = EdgeInsets.zero, EdgeInsets multiValuePadding = EdgeInsets.zero, double? maxBarWidth, double? minBarWidth, BubbleItemBuilder bubbleItemBuilder = _defaultBubbleItem})
- Constructor for bubble item options, has some options just for BubbleGeometryPainter
Properties
- bubbleItemBuilder → BubbleItemBuilder
-
final
- geometryPainter → ChartGeometryPainter
-
Geometry
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemBuilder → ItemBuilder
-
finalinherited
- maxBarWidth → double?
-
Max width of item in the chart
finalinherited
- minBarWidth → double?
-
Min width of item in the chart
finalinherited
- multiValuePadding → EdgeInsets
-
Multi value chart padding, this will
group
values with same index from different lists use to make space between index changes in multi value charts Only used for multiple data lists when they are not stackedfinalinherited - padding → EdgeInsets
-
Item padding, if minBarWidth and padding are more then available space
padding will get ignored
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startPosition → double
-
Set start position.
This value ranges from 0.0 - 1.0.
finalinherited
Methods
-
animateTo(
ItemOptions endValue, double t) → ItemOptions -
Animate to next ItemOptions state
When making custom ItemOptions make sure to override this return custom painter
with all available options, otherwise changes in options won't be animated
override
-
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