ChartTitle constructor

ChartTitle({String text: '', ChartTextStyle textStyle, ChartAlignment alignment: ChartAlignment.center, Color borderColor: Colors.transparent, double borderWidth: 0, Color backgroundColor })

Implementation

ChartTitle(
    {this.text = '',
    ChartTextStyle textStyle,
    this.alignment = ChartAlignment.center,
    this.borderColor = Colors.transparent,
    this.borderWidth = 0,
    this.backgroundColor})
    : textStyle = _getTextStyle(
          textStyle: textStyle,
          fontSize: 15.0,
          fontFamily: 'Segoe UI',
          fontStyle: FontStyle.normal,
          fontWeight: FontWeight.normal);