RadarChart class
Radar chart, also known as Spider chart
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- ProxyWidget
- InheritedWidget
- RadarChart
- Mixed in types
Constructors
-
RadarChart({Key? key, required double radius, required int length, double initialAngle = 0, Color? backgroundColor, double borderStroke = 4.0, Color? borderColor, double? radialStroke, Color? radialColor, List<
RadarTile> radars = const [], List<PreferredSizeWidget> ? vertices}) - Radar chart, also known as Spider chart
Properties
- backgroundColor → Color?
-
Radar chart Background color
White by default
final
- borderColor → Color?
-
Borderline color
To work, it is necessary to set borderStroke
final
- borderStroke → double
-
Borderline strokewidth
if null, the borderlines does not appear
To work, it is necessary to set borderColor
final
- child → Widget
-
The widget below this widget in the tree.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialAngle → double
-
Rotates the radar chart at an initial angle in radians in clockwise
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- length → int
-
Number of edges or nodes
final
-
radars
→ List<
RadarTile> -
Each
RadarTile
specifies a radarchartfinal - radialColor → Color?
-
Color of lines from the center of the circumscribed circumference
To work, it is necessary to set radialStroke
final
- radialStroke → double?
-
Strokewidth of lines from the center of the circumscribed circumference
To work, it is necessary to set radialColor
final
- radius → double
-
Radius of the circumscribed circumference of the radar chart.
This defines the sizes:
width = 2 * radius
height = 2 * radius
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
vertices
→ List<
PreferredSizeWidget> ? -
Optional vertices widgets. They must be a
PreferredSizeWidget
and their centers will match their respective vertice.final
Methods
-
createElement(
) → InheritedElement -
Inflates this configuration to a concrete instance.
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.
inherited
-
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}) → 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
-
updateShouldNotify(
covariant InheritedWidget oldWidget) → bool -
Whether the framework should notify widgets that inherit from this widget.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → RadarData - Returns the RadarChart from the BuildContext