outlined method
Applies an outlined text style.
Implementation
TextStyle outlined({
Color strokeColor = Colors.black,
double strokeWidth = 1.0,
}) {
return copyWith(
foreground: Paint()
..style = PaintingStyle.stroke
..strokeWidth = strokeWidth
..color = strokeColor,
);
}