BarChartWidget constructor

const BarChartWidget({
  1. Key? key,
  2. required String title,
  3. required List<double> data,
  4. required List<String> labels,
  5. Color barColor = AppColors.primaryBlue,
  6. String? subtitle,
})

Implementation

const BarChartWidget({
  Key? key,
  required this.title,
  required this.data,
  required this.labels,
  this.barColor = AppColors.primaryBlue,
  this.subtitle,
}) : super(key: key);