MinimalAreaChart class

A MinimalLineChart with the ground under each line filled with one flat, faint tint of its colour: for a quantity that accumulates or a total over time, where the area itself says "how much". Everything else — the scale, the labels, the legend, the readout, the loading and empty states — is the line chart's.

MinimalAreaChart(series: [MinimalChartSeries('Revenue', monthly)], labels: months, format: (v) => '\$${v.round()}')
Inheritance

Constructors

MinimalAreaChart({Key? key, required List<MinimalChartSeries> series, List<String>? labels, double height = 180, bool loading = false, String? emptyLabel, String? semanticLabel, String format(double value)?})
Filled areas under series.
const

Properties

emptyLabel → String?
What a chart with no values says.
final
format → String Function(double value)?
Prints a value in the readout and to a screen reader.
final
hashCode → int
The hash code for this object.
no setterinherited
height → double
Its plot's height.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
labels → List<String>?
The run of labels under the chart.
final
loading → bool
Whether the data is still coming: a skeleton.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel → String?
What a screen reader calls the chart.
final
series → List<MinimalChartSeries>
The areas.
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited