legend_internal library
Classes
- ItemRendererDetails
- Details of single legend item.
- LegendItem
- Represents the class of items in legends.
- PointerController
- Controller for legend
- SfLegend
- Represents the class for legends.
Enums
- LegendAlignment
- Specifies the alignment of legend.
- LegendEdgeLabelsPlacement
- Placement of edge labels in the bar legend.
- LegendLabelOverflow
- Behavior of the labels when it overflowed from the shape.
- LegendLabelsPlacement
- Option to place the labels either between the bars or on the bar in bar legend.
- LegendOverflowMode
- Behavior of the legend items when it overflows.
- LegendPaintingStyle
- Applies gradient or solid color for the bar segments.
- LegendPosition
- Positions the legend in the different directions.
Typedefs
- ItemRenderCallback = void Function(ItemRendererDetails)
- Called with the details of single legend item.
- LegendPointerBuilder = Widget Function(BuildContext context, dynamic value)
- Signature to return a Widget for the given value.
-
ToggledIndicesChangedCallback
= void Function(List<
int> indices, int currentIndex) - Callback which returns toggled indices and teh current toggled index.