textStyle property

TextStyle? textStyle
final

textStyle sets the Label text style of LinearGauge

default is to

const TextStyle(
  fontSize: 12.0,
  color: Colors.grey,
 fontStyle: FontStyle.normal,
  fontWeight: FontWeight.normal,
),

Example

child: const LinearGauge(
 textStyle: TextStyle(color: Colors.red, fontSize: 16.0),
),

Implementation

final TextStyle? textStyle;