ChartTitle constructor
ChartTitle({})
Creating an argument constructor of ChartTitle class.
Implementation
ChartTitle(
{this.text = '',
TextStyle? 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);