TextStyle constructor
const
TextStyle({
- LogicalPixel fontSize = const LogicalPixel(8),
- Color color = const Color(),
- LogicalPixel strokeWidth = const LogicalPixel(0.3499999940395355),
- Color strokeColor = const Color(4294967295),
- TextPlacement textPlacement = TextPlacement.bottomCenter,
- LogicalPixel textOffset = const LogicalPixel(0),
- String? fontName = null,
Implementation
const TextStyle({
this.fontSize = const LogicalPixel(8),
this.color = const Color(),
this.strokeWidth = const LogicalPixel(0.3499999940395355),
this.strokeColor = const Color(4294967295),
this.textPlacement = TextPlacement.bottomCenter,
this.textOffset = const LogicalPixel(0),
this.fontName = null
});