ChartData constructor

ChartData({
  1. required String nome,
  2. required double valor,
  3. double? perc,
  4. Color? color,
  5. Type type = double,
  6. String? title = '',
  7. String? valorDeLabel,
})

Implementation

ChartData({
  required this.nome,
  required this.valor,
  this.perc,
  this.color,
  this.type=double,
  this.title = '',
  this.valorDeLabel
});