primer_progress_bar library

Classes

DefaultLegendEllipsisBuilder
A convenience object that creates legend ellipsis for SegmentedBarLegend.
LegendItem
An item aligned in a SegmentedBarLegend.
LegendItemStyle
An immutable style that can be applied to LegendItems.
PrimerProgressBar
A simple chart that can be used to show multiple colored segments in a row with a legend.
Segment
An object representing a segment of SegmentedBar.
SegmentedBar
A simple chart that can be used to show multiple colored segments in a row.
SegmentedBarLegend
A legend for a SegmentedBar.
SegmentedBarLegendStyle
An immutable style that can be applied to SegmentedBarLegends.
SegmentedBarStyle
An immutable style that can be applied to SegmentedBars.

Enums

LegendItemBehavior
Describes how a LegendItem paints its texts.

Typedefs

EllipsisBuilder = LegendItem Function(int truncatedItemCount)
LegendItemBuilder = LegendItem Function(Segment segment)
Signature of callbacks that create a LegendItem from a Segment.
ValueLabelBuilder = Text Function(int value)
Signature of callbacks that create a Text from a value to be used as a value label for a LegendItem.