GaugeTitle constructor

const GaugeTitle({
  1. required String text,
  2. TextStyle? textStyle,
  3. GaugeAlignment alignment = GaugeAlignment.center,
  4. Color? borderColor,
  5. double borderWidth = 0,
  6. Color? backgroundColor,
})

Creates the gauge title with default or required properties.

Implementation

const GaugeTitle(
    {required this.text,
    this.textStyle,
    this.alignment = GaugeAlignment.center,
    this.borderColor,
    this.borderWidth = 0,
    this.backgroundColor});