TabularLegendContentBuilder class

Strategy that builds a tabular legend.

legendEntryLayout custom strategy for creating widgets for each legend entry. legendLayout custom strategy for creating legend widget from list of widgets that represent a legend entry.

Constructors

TabularLegendContentBuilder({LegendEntryLayout? legendEntryLayout, LegendLayout? legendLayout})

Properties

hashCode int
The hash code for this object.
no setteroverride
legendEntryLayout LegendEntryLayout
Strategy for creating one widget or each legend entry.
final
legendLayout LegendLayout
Strategy for creating the legend content widget from a list of widgets.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context, LegendState legendState, Legend legend, {bool showMeasures = false}) Widget
inherited
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 o) bool
The equality operator.
override