You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudsolutions-atoms/packages/edited_pie_chart/lib/src/chart_values_options.dart

24 lines
720 B
Dart

import 'package:flutter/material.dart';
import 'package:pie_chart/pie_chart.dart';
import 'package:pie_chart/src/utils.dart';
class ChartValuesOptions {
final bool showChartValueBackground;
final int decimalPlaces;
final bool showChartValuesInPercentage;
final bool showChartValues;
final bool showChartValuesOutside;
final Color chartValueBackgroundColor;
final TextStyle chartValueStyle;
const ChartValuesOptions({
this.showChartValueBackground = true,
this.decimalPlaces = 1,
this.chartValueBackgroundColor,
this.showChartValuesInPercentage = false,
this.chartValueStyle = defaultChartValueStyle,
this.showChartValues = true,
this.showChartValuesOutside = false,
});
}