TextStyle constructor

const TextStyle({
  1. LogicalPixel fontSize = const LogicalPixel(8),
  2. Color color = const Color(),
  3. LogicalPixel strokeWidth = const LogicalPixel(0.3499999940395355),
  4. Color strokeColor = const Color(4294967295),
  5. TextHorizontalAlignment textHorizontalAlignment = TextHorizontalAlignment.auto,
  6. TextPlacement textPlacement = TextPlacement.bottomCenter,
  7. LogicalPixel textOffset = const LogicalPixel(0),
  8. 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.textHorizontalAlignment = TextHorizontalAlignment.auto,
  this.textPlacement = TextPlacement.bottomCenter,
  this.textOffset = const LogicalPixel(0),
  this.fontName = null
});