SfRadialGauge class

Create a radial gauge widget to displays numerical values on a circular scale. It has a rich set of features such as axes, ranges, pointers, and annotations that are fully customizable and extendable. Use it to create speedometers, temperature monitors, dashboards, meter gauges, multi axis clocks, watches, activity gauges, compasses, and more.

The radial gauge widget allows customizing its appearance using SfGaugeThemeData available from the SfGaugeTheme widget or the SfTheme with the help of SfThemeData.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge());
}

See also:

  • SfTheme and SfThemeData, for customizing the visual appearance of the radial gauge.
  • SfGaugeTheme and SfGaugeThemeData, for customizing the visual appearance of the radial gauge.
Inheritance

Constructors

SfRadialGauge({Key? key, List<RadialAxis>? axes, bool enableLoadingAnimation = false, double animationDuration = 2000, Color backgroundColor = Colors.transparent, GaugeTitle? title})
Creates a radial gauge with default or required axis.

Properties

animationDuration double
Specifies the load time animation duration.
final
axes List<RadialAxis>
Add a list of radial axis to the gauge and customize each axis by adding it to the axes collection.
final
backgroundColor Color
The background color of the SfRadialGauge.
final
enableLoadingAnimation bool
Specifies the load time animation for axis elements, range and pointers with animationDuration.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title GaugeTitle?
Add the title to the top of the radial gauge.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
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, 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