18 lines
379 B
Dart
Executable File
18 lines
379 B
Dart
Executable File
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;
|
|
}
|