uaestats_fe/lib/presentation/components/charts/line_chart_data_entity.dart
2024-10-28 16:45:11 +05:30

18 lines
379 B
Dart

import 'dart:ui';
class LineChartDataEntity {
const LineChartDataEntity({
required this.title,
required this.data,
required this.color,
this.isShaded = true,
this.textAboveMarkerBuilder,
});
final String? title;
final Map<double, double> data;
final Color color;
final bool isShaded;
final String Function(double y)? textAboveMarkerBuilder;
}