centerTextSize property

double get centerTextSize

Text size of centerText in dp. Default 12.

Implementation

double get centerTextSize =>
    Utils.convertPixelsToDp(_pieRenderer.paintCenterText.textSize);
set centerTextSize (double value)

Implementation

set centerTextSize(double value) {
  _pieRenderer.paintCenterText.textSize = Utils.convertDpToPixel(value);
}