textStyle property

TextStyle? textStyle
final

textStyle sets the ruler text style of LinearGauge

default is to

const TextStyle(
  fontSize: 12.0,
  color: Color.fromARGB(255, 86, 86, 86),
 fontStyle: FontStyle.normal,
  fontWeight: FontWeight.normal,
),

Example

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

Implementation

final TextStyle? textStyle;