Radar constructor

const Radar({
  1. required List<RadarIndicator> indicator,
  2. num offsetAngle = 0,
  3. int splitNumber = 5,
  4. RadarShape shape = RadarShape.polygon,
  5. bool silent = false,
  6. bool clockwise = true,
  7. AxisLine axisLine = const AxisLine(),
  8. MainTick axisTick = const MainTick(),
  9. StyleFun2<int, int, AreaStyle>? splitStyleFun,
  10. StyleFun<int, LineStyle>? borderStyleFun,
  11. StyleFun<RadarIndicator, LabelStyle>? labelStyleFun,
  12. List<SNumber> center = const [SNumber.percent(50), SNumber.percent(50)],
  13. SNumber radius = const SNumber.percent(50),
  14. String id = '',
  15. bool show = true,
})

Implementation

const Radar({
  required this.indicator,
  this.offsetAngle = 0,
  this.splitNumber = 5,
  this.shape = RadarShape.polygon,
  this.silent = false,
  this.clockwise = true,
  this.axisLine = const AxisLine(),
  this.axisTick = const MainTick(),
  this.splitStyleFun,
  this.borderStyleFun,
  this.labelStyleFun,
  super.center,
  super.radius,
  super.id,
  super.show,
});