SfRadialGauge constructor

SfRadialGauge({
  1. Key? key,
  2. List<RadialAxis>? axes,
  3. bool enableLoadingAnimation = false,
  4. double animationDuration = 2000,
  5. Color backgroundColor = Colors.transparent,
  6. GaugeTitle? title,
})

Creates a radial gauge with default or required axis.

To enable the loading animation set enableLoadingAnimation is true.

Implementation

// ignore: prefer_const_constructors_in_immutables
SfRadialGauge(
    {Key? key,
    List<RadialAxis>? axes,
    this.enableLoadingAnimation = false,
    this.animationDuration = 2000,
    this.backgroundColor = Colors.transparent,
    this.title})
    : axes = axes ?? <RadialAxis>[RadialAxis()],
      super(key: key);