ChartTitle<D> class

Chart behavior that adds a ChartTitle widget to a chart.

Inheritance
Annotations

Constructors

ChartTitle(String title, {BehaviorPosition? behaviorPosition, int? innerPadding, int? layoutMinSize, int? layoutPreferredSize, int? outerPadding, MaxWidthStrategy? maxWidthStrategy, ChartTitleDirection? titleDirection, OutsideJustification? titleOutsideJustification, int? titlePadding, TextStyleSpec? titleStyleSpec, String? subTitle, TextStyleSpec? subTitleStyleSpec})
Constructs a ChartTitle.

Properties

behaviorPosition BehaviorPosition?
final
desiredGestures Set<GestureType>
final
hashCode int
The hash code for this object.
no setteroverride
innerPadding int?
Space between the "inside" of the chart, and the title behavior itself.
final
layoutMinSize int?
Minimum size of the legend component. Optional.
final
layoutPreferredSize int?
Preferred size of the legend component. Defaults to 0.
final
maxWidthStrategy MaxWidthStrategy?
Strategy for handling title text that is too large to fit. Defaults to truncating the text with ellipses.
final
outerPadding int?
Space between the "outside" of the chart, and the title behavior itself.
final
role String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subTitle String?
Secondary text for the sub-title.
final
subTitleStyleSpec TextStyleSpec?
Style of the subTitle text.
final
title String
Primary text for the title.
final
titleDirection ChartTitleDirection?
Direction of the chart title text.
final
titleOutsideJustification OutsideJustification?
Justification of the title text if it is positioned outside of the draw area.
final
titlePadding int?
Space between the title and sub-title text, if defined.
final
titleStyleSpec TextStyleSpec?
Style of the title text.
final

Methods

createCommonBehavior() → ChartTitle<D>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateCommonBehavior(ChartBehavior commonBehavior) → void
override

Operators

operator ==(Object o) bool
The equality operator.
override